From ed3684fa8f1cef040f53e8ed9d1691f61c4c5da4 Mon Sep 17 00:00:00 2001 From: Ritika Srivastava Date: Thu, 31 Oct 2024 15:34:53 -0700 Subject: [PATCH] Support for building deb package for ARM Signed-off-by: Ritika Srivastava --- Makefile | 15 ++ pkg/protos/topology.pb.go | 405 +++++++++++++++++++++++--------------- 2 files changed, 264 insertions(+), 156 deletions(-) diff --git a/Makefile b/Makefile index 038f356..5f8c7dd 100644 --- a/Makefile +++ b/Makefile @@ -31,6 +31,17 @@ build: proto $(CMD_DIR)/$${target}; \ done +.PHONY: build-arm64 +build-arm64: proto + @echo "Building for arm64" + @for target in $(TARGETS); do \ + echo "Building $${target}"; \ + GOOS=linux GOARCH=arm64 CC=aarch64-linux-gnu-gcc CGO_ENABLED=1 go build -a -o $(OUTPUT_DIR)/$${target} \ + -ldflags '-extldflags "-static" -X main.GitTag=$(GIT_REF)' \ + $(CMD_DIR)/$${target}; \ + done + + .PHONY: clean clean: scripts/clean-build.sh @@ -88,6 +99,10 @@ ssl: deb: build scripts/build-deb.sh $(GIT_REF) +.PHONY: deb-arm64 +deb-arm64: build-arm64 + ARCH=arm64 scripts/build-deb-arm64.sh $(GIT_REF) + .PHONY: rpm rpm: build scripts/build-rpm.sh $(GIT_REF) diff --git a/pkg/protos/topology.pb.go b/pkg/protos/topology.pb.go index 3d49c10..b487737 100644 --- a/pkg/protos/topology.pb.go +++ b/pkg/protos/topology.pb.go @@ -1,236 +1,329 @@ +// +// Copyright (c) 2024, NVIDIA CORPORATION. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.35.1 +// protoc v3.12.4 // source: topology.proto package protos import ( - fmt "fmt" - proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +const ( + // Verify that this generated code is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) + // Verify that runtime/protoimpl is sufficiently up-to-date. + _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) +) type TopologyRequest struct { - Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` - Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` - InstanceIds []string `protobuf:"bytes,3,rep,name=instance_ids,json=instanceIds,proto3" json:"instance_ids,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *TopologyRequest) Reset() { *m = TopologyRequest{} } -func (m *TopologyRequest) String() string { return proto.CompactTextString(m) } -func (*TopologyRequest) ProtoMessage() {} -func (*TopologyRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a326f5bb56fea2fc, []int{0} + Provider string `protobuf:"bytes,1,opt,name=provider,proto3" json:"provider,omitempty"` + Region string `protobuf:"bytes,2,opt,name=region,proto3" json:"region,omitempty"` + InstanceIds []string `protobuf:"bytes,3,rep,name=instance_ids,json=instanceIds,proto3" json:"instance_ids,omitempty"` } -func (m *TopologyRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TopologyRequest.Unmarshal(m, b) -} -func (m *TopologyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TopologyRequest.Marshal(b, m, deterministic) +func (x *TopologyRequest) Reset() { + *x = TopologyRequest{} + mi := &file_topology_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *TopologyRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_TopologyRequest.Merge(m, src) -} -func (m *TopologyRequest) XXX_Size() int { - return xxx_messageInfo_TopologyRequest.Size(m) + +func (x *TopologyRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TopologyRequest) XXX_DiscardUnknown() { - xxx_messageInfo_TopologyRequest.DiscardUnknown(m) + +func (*TopologyRequest) ProtoMessage() {} + +func (x *TopologyRequest) ProtoReflect() protoreflect.Message { + mi := &file_topology_proto_msgTypes[0] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TopologyRequest proto.InternalMessageInfo +// Deprecated: Use TopologyRequest.ProtoReflect.Descriptor instead. +func (*TopologyRequest) Descriptor() ([]byte, []int) { + return file_topology_proto_rawDescGZIP(), []int{0} +} -func (m *TopologyRequest) GetProvider() string { - if m != nil { - return m.Provider +func (x *TopologyRequest) GetProvider() string { + if x != nil { + return x.Provider } return "" } -func (m *TopologyRequest) GetRegion() string { - if m != nil { - return m.Region +func (x *TopologyRequest) GetRegion() string { + if x != nil { + return x.Region } return "" } -func (m *TopologyRequest) GetInstanceIds() []string { - if m != nil { - return m.InstanceIds +func (x *TopologyRequest) GetInstanceIds() []string { + if x != nil { + return x.InstanceIds } return nil } type TopologyResponse struct { - Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *TopologyResponse) Reset() { *m = TopologyResponse{} } -func (m *TopologyResponse) String() string { return proto.CompactTextString(m) } -func (*TopologyResponse) ProtoMessage() {} -func (*TopologyResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a326f5bb56fea2fc, []int{1} + Instances []*Instance `protobuf:"bytes,1,rep,name=instances,proto3" json:"instances,omitempty"` } -func (m *TopologyResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TopologyResponse.Unmarshal(m, b) -} -func (m *TopologyResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TopologyResponse.Marshal(b, m, deterministic) -} -func (m *TopologyResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_TopologyResponse.Merge(m, src) +func (x *TopologyResponse) Reset() { + *x = TopologyResponse{} + mi := &file_topology_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *TopologyResponse) XXX_Size() int { - return xxx_messageInfo_TopologyResponse.Size(m) + +func (x *TopologyResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TopologyResponse) XXX_DiscardUnknown() { - xxx_messageInfo_TopologyResponse.DiscardUnknown(m) + +func (*TopologyResponse) ProtoMessage() {} + +func (x *TopologyResponse) ProtoReflect() protoreflect.Message { + mi := &file_topology_proto_msgTypes[1] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_TopologyResponse proto.InternalMessageInfo +// Deprecated: Use TopologyResponse.ProtoReflect.Descriptor instead. +func (*TopologyResponse) Descriptor() ([]byte, []int) { + return file_topology_proto_rawDescGZIP(), []int{1} +} -func (m *TopologyResponse) GetInstances() []*Instance { - if m != nil { - return m.Instances +func (x *TopologyResponse) GetInstances() []*Instance { + if x != nil { + return x.Instances } return nil } type Instance struct { - Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` - InstanceType string `protobuf:"bytes,2,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"` - Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` - Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` - DataCenter string `protobuf:"bytes,5,opt,name=data_center,json=dataCenter,proto3" json:"data_center,omitempty"` - NetworkLayers []string `protobuf:"bytes,6,rep,name=network_layers,json=networkLayers,proto3" json:"network_layers,omitempty"` - NvlinkDomain string `protobuf:"bytes,7,opt,name=nvlink_domain,json=nvlinkDomain,proto3" json:"nvlink_domain,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *Instance) Reset() { *m = Instance{} } -func (m *Instance) String() string { return proto.CompactTextString(m) } -func (*Instance) ProtoMessage() {} -func (*Instance) Descriptor() ([]byte, []int) { - return fileDescriptor_a326f5bb56fea2fc, []int{2} -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Instance) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Instance.Unmarshal(m, b) + Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` + InstanceType string `protobuf:"bytes,2,opt,name=instance_type,json=instanceType,proto3" json:"instance_type,omitempty"` + Provider string `protobuf:"bytes,3,opt,name=provider,proto3" json:"provider,omitempty"` + Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` + DataCenter string `protobuf:"bytes,5,opt,name=data_center,json=dataCenter,proto3" json:"data_center,omitempty"` + NetworkLayers []string `protobuf:"bytes,6,rep,name=network_layers,json=networkLayers,proto3" json:"network_layers,omitempty"` + NvlinkDomain string `protobuf:"bytes,7,opt,name=nvlink_domain,json=nvlinkDomain,proto3" json:"nvlink_domain,omitempty"` } -func (m *Instance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Instance.Marshal(b, m, deterministic) -} -func (m *Instance) XXX_Merge(src proto.Message) { - xxx_messageInfo_Instance.Merge(m, src) + +func (x *Instance) Reset() { + *x = Instance{} + mi := &file_topology_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) } -func (m *Instance) XXX_Size() int { - return xxx_messageInfo_Instance.Size(m) + +func (x *Instance) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Instance) XXX_DiscardUnknown() { - xxx_messageInfo_Instance.DiscardUnknown(m) + +func (*Instance) ProtoMessage() {} + +func (x *Instance) ProtoReflect() protoreflect.Message { + mi := &file_topology_proto_msgTypes[2] + if x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) } -var xxx_messageInfo_Instance proto.InternalMessageInfo +// Deprecated: Use Instance.ProtoReflect.Descriptor instead. +func (*Instance) Descriptor() ([]byte, []int) { + return file_topology_proto_rawDescGZIP(), []int{2} +} -func (m *Instance) GetId() string { - if m != nil { - return m.Id +func (x *Instance) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *Instance) GetInstanceType() string { - if m != nil { - return m.InstanceType +func (x *Instance) GetInstanceType() string { + if x != nil { + return x.InstanceType } return "" } -func (m *Instance) GetProvider() string { - if m != nil { - return m.Provider +func (x *Instance) GetProvider() string { + if x != nil { + return x.Provider } return "" } -func (m *Instance) GetRegion() string { - if m != nil { - return m.Region +func (x *Instance) GetRegion() string { + if x != nil { + return x.Region } return "" } -func (m *Instance) GetDataCenter() string { - if m != nil { - return m.DataCenter +func (x *Instance) GetDataCenter() string { + if x != nil { + return x.DataCenter } return "" } -func (m *Instance) GetNetworkLayers() []string { - if m != nil { - return m.NetworkLayers +func (x *Instance) GetNetworkLayers() []string { + if x != nil { + return x.NetworkLayers } return nil } -func (m *Instance) GetNvlinkDomain() string { - if m != nil { - return m.NvlinkDomain +func (x *Instance) GetNvlinkDomain() string { + if x != nil { + return x.NvlinkDomain } return "" } -func init() { - proto.RegisterType((*TopologyRequest)(nil), "topology.TopologyRequest") - proto.RegisterType((*TopologyResponse)(nil), "topology.TopologyResponse") - proto.RegisterType((*Instance)(nil), "topology.Instance") -} - -func init() { - proto.RegisterFile("topology.proto", fileDescriptor_a326f5bb56fea2fc) -} - -var fileDescriptor_a326f5bb56fea2fc = []byte{ - // 319 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x41, 0x4f, 0xf2, 0x40, - 0x10, 0x86, 0xbf, 0xd2, 0x4f, 0xa4, 0x53, 0x41, 0xb2, 0x07, 0xb3, 0x72, 0x11, 0x6b, 0x4c, 0x38, - 0xa1, 0xc1, 0xa3, 0x37, 0xe5, 0x42, 0xf4, 0x54, 0x39, 0x79, 0xb0, 0x29, 0xdd, 0x09, 0x6e, 0xc0, - 0xdd, 0x75, 0x77, 0xc5, 0xf4, 0xdf, 0xfa, 0x53, 0x0c, 0xcb, 0xb6, 0x0d, 0x46, 0x4f, 0xed, 0x3c, - 0xef, 0x24, 0x7d, 0x66, 0xa6, 0xd0, 0xb3, 0x52, 0xc9, 0xb5, 0x5c, 0x96, 0x63, 0xa5, 0xa5, 0x95, - 0xa4, 0x53, 0xd5, 0xc9, 0x2b, 0x1c, 0xcf, 0xfd, 0x7b, 0x8a, 0xef, 0x1f, 0x68, 0x2c, 0x19, 0x40, - 0x47, 0x69, 0xb9, 0xe1, 0x0c, 0x35, 0x0d, 0x86, 0xc1, 0x28, 0x4a, 0xeb, 0x9a, 0x9c, 0x40, 0x5b, - 0xe3, 0x92, 0x4b, 0x41, 0x5b, 0x2e, 0xf1, 0x15, 0x39, 0x87, 0x23, 0x2e, 0x8c, 0xcd, 0x45, 0x81, - 0x19, 0x67, 0x86, 0x86, 0xc3, 0x70, 0x14, 0xa5, 0x71, 0xc5, 0x66, 0xcc, 0x24, 0x53, 0xe8, 0x37, - 0x5f, 0x32, 0x4a, 0x0a, 0x83, 0xe4, 0x1a, 0xa2, 0xaa, 0xc5, 0xd0, 0x60, 0x18, 0x8e, 0xe2, 0x09, - 0x19, 0xd7, 0xae, 0x33, 0x1f, 0xa5, 0x4d, 0x53, 0xf2, 0x15, 0x40, 0xa7, 0xe2, 0xa4, 0x07, 0x2d, - 0xce, 0xbc, 0x63, 0x8b, 0x33, 0x72, 0x01, 0xdd, 0xda, 0xc2, 0x96, 0x0a, 0xbd, 0x64, 0xad, 0x36, - 0x2f, 0x15, 0xee, 0x8d, 0x17, 0xfe, 0x39, 0xde, 0xff, 0xbd, 0xf1, 0xce, 0x20, 0x66, 0xb9, 0xcd, - 0xb3, 0x02, 0x85, 0x45, 0x4d, 0x0f, 0x5c, 0x08, 0x5b, 0x74, 0xef, 0x08, 0xb9, 0x84, 0x9e, 0x40, - 0xfb, 0x29, 0xf5, 0x2a, 0x5b, 0xe7, 0x25, 0x6a, 0x43, 0xdb, 0x6e, 0x03, 0x5d, 0x4f, 0x1f, 0x1d, - 0xdc, 0x0a, 0x8a, 0xcd, 0x9a, 0x8b, 0x55, 0xc6, 0xe4, 0x5b, 0xce, 0x05, 0x3d, 0xdc, 0x09, 0xee, - 0xe0, 0xd4, 0xb1, 0xc9, 0x4b, 0x73, 0x92, 0x27, 0xd4, 0x1b, 0x5e, 0x20, 0x79, 0x80, 0xfe, 0x14, - 0x4d, 0xa1, 0xf9, 0x02, 0xab, 0x88, 0x9c, 0x36, 0x8b, 0xfa, 0x71, 0xc1, 0xc1, 0xe0, 0xb7, 0x68, - 0xb7, 0xf2, 0xe4, 0xdf, 0x5d, 0xfc, 0x1c, 0x8d, 0xaf, 0x6e, 0xdd, 0x8f, 0x60, 0x16, 0x6d, 0xf7, - 0xbc, 0xf9, 0x0e, 0x00, 0x00, 0xff, 0xff, 0x8e, 0xc6, 0xe8, 0x6b, 0x22, 0x02, 0x00, 0x00, +var File_topology_proto protoreflect.FileDescriptor + +var file_topology_proto_rawDesc = []byte{ + 0x0a, 0x0e, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x08, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x22, 0x68, 0x0a, 0x0f, 0x54, 0x6f, + 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, + 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, + 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x69, 0x64, + 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x49, 0x64, 0x73, 0x22, 0x44, 0x0a, 0x10, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x30, 0x0a, 0x09, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x74, 0x6f, + 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, + 0x09, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x73, 0x22, 0xe0, 0x01, 0x0a, 0x08, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, + 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, + 0x12, 0x1f, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x18, + 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x43, 0x65, 0x6e, 0x74, 0x65, + 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x6c, 0x61, 0x79, + 0x65, 0x72, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x4c, 0x61, 0x79, 0x65, 0x72, 0x73, 0x12, 0x23, 0x0a, 0x0d, 0x6e, 0x76, 0x6c, 0x69, + 0x6e, 0x6b, 0x5f, 0x64, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x0c, 0x6e, 0x76, 0x6c, 0x69, 0x6e, 0x6b, 0x44, 0x6f, 0x6d, 0x61, 0x69, 0x6e, 0x32, 0x5e, 0x0a, + 0x0f, 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, + 0x12, 0x4b, 0x0a, 0x10, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x62, 0x65, 0x54, 0x6f, 0x70, 0x6f, + 0x6c, 0x6f, 0x67, 0x79, 0x12, 0x19, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, + 0x54, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1a, 0x2e, 0x74, 0x6f, 0x70, 0x6f, 0x6c, 0x6f, 0x67, 0x79, 0x2e, 0x54, 0x6f, 0x70, 0x6f, 0x6c, + 0x6f, 0x67, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x0b, 0x5a, + 0x09, 0x2e, 0x2f, 0x3b, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_topology_proto_rawDescOnce sync.Once + file_topology_proto_rawDescData = file_topology_proto_rawDesc +) + +func file_topology_proto_rawDescGZIP() []byte { + file_topology_proto_rawDescOnce.Do(func() { + file_topology_proto_rawDescData = protoimpl.X.CompressGZIP(file_topology_proto_rawDescData) + }) + return file_topology_proto_rawDescData +} + +var file_topology_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_topology_proto_goTypes = []any{ + (*TopologyRequest)(nil), // 0: topology.TopologyRequest + (*TopologyResponse)(nil), // 1: topology.TopologyResponse + (*Instance)(nil), // 2: topology.Instance +} +var file_topology_proto_depIdxs = []int32{ + 2, // 0: topology.TopologyResponse.instances:type_name -> topology.Instance + 0, // 1: topology.TopologyService.DescribeTopology:input_type -> topology.TopologyRequest + 1, // 2: topology.TopologyService.DescribeTopology:output_type -> topology.TopologyResponse + 2, // [2:3] is the sub-list for method output_type + 1, // [1:2] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_topology_proto_init() } +func file_topology_proto_init() { + if File_topology_proto != nil { + return + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_topology_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_topology_proto_goTypes, + DependencyIndexes: file_topology_proto_depIdxs, + MessageInfos: file_topology_proto_msgTypes, + }.Build() + File_topology_proto = out.File + file_topology_proto_rawDesc = nil + file_topology_proto_goTypes = nil + file_topology_proto_depIdxs = nil }