Documentation ¶
Index ¶
- Variables
- func RegisterOctopusServiceServer(s grpc.ServiceRegistrar, srv OctopusServiceServer)
- type Cable
- type CableEnd
- func (*CableEnd) Descriptor() ([]byte, []int)deprecated
- func (x *CableEnd) GetDeviceName() string
- func (x *CableEnd) GetEndpointName() string
- func (x *CableEnd) GetEndpointType() CableEndpointType
- func (*CableEnd) ProtoMessage()
- func (x *CableEnd) ProtoReflect() protoreflect.Message
- func (x *CableEnd) Reset()
- func (x *CableEnd) String() string
- type CableEndpointType
- func (CableEndpointType) Descriptor() protoreflect.EnumDescriptor
- func (x CableEndpointType) Enum() *CableEndpointType
- func (CableEndpointType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CableEndpointType) Number() protoreflect.EnumNumber
- func (x CableEndpointType) String() string
- func (CableEndpointType) Type() protoreflect.EnumType
- type Circuit
- func (*Circuit) Descriptor() ([]byte, []int)deprecated
- func (x *Circuit) GetCid() string
- func (x *Circuit) GetMetaData() *MetaData
- func (x *Circuit) GetProvider() string
- func (x *Circuit) GetStatus() string
- func (x *Circuit) GetType() string
- func (*Circuit) ProtoMessage()
- func (x *Circuit) ProtoReflect() protoreflect.Message
- func (x *Circuit) Reset()
- func (x *Circuit) String() string
- type Colo
- func (*Colo) Descriptor() ([]byte, []int)deprecated
- func (x *Colo) GetAnimal() string
- func (x *Colo) GetId() uint32
- func (x *Colo) GetIsFedramp() bool
- func (x *Colo) GetIsMcp() bool
- func (x *Colo) GetName() string
- func (x *Colo) GetPop() string
- func (x *Colo) GetRegion() string
- func (x *Colo) GetSites() []string
- func (x *Colo) GetStatus() string
- func (x *Colo) GetTier() uint32
- func (*Colo) ProtoMessage()
- func (x *Colo) ProtoReflect() protoreflect.Message
- func (x *Colo) Reset()
- func (x *Colo) String() string
- type Device
- func (*Device) Descriptor() ([]byte, []int)deprecated
- func (x *Device) GetColoId() int32
- func (x *Device) GetDeviceType() string
- func (x *Device) GetFrontPorts() []*FrontPort
- func (x *Device) GetInterfaces() []*Interface
- func (x *Device) GetMetaData() *MetaData
- func (x *Device) GetName() string
- func (x *Device) GetPlatform() string
- func (x *Device) GetRearPorts() []*RearPort
- func (x *Device) GetRole() string
- func (x *Device) GetSiteName() string
- func (x *Device) GetStatus() string
- func (*Device) ProtoMessage()
- func (x *Device) ProtoReflect() protoreflect.Message
- func (x *Device) Reset()
- func (x *Device) String() string
- type DeviceRequest
- type DeviceResponse
- type FrontPort
- func (*FrontPort) Descriptor() ([]byte, []int)deprecated
- func (x *FrontPort) GetName() string
- func (x *FrontPort) GetRearPort() string
- func (x *FrontPort) GetRearPortPosition() uint32
- func (*FrontPort) ProtoMessage()
- func (x *FrontPort) ProtoReflect() protoreflect.Message
- func (x *FrontPort) Reset()
- func (x *FrontPort) String() string
- type IPAddress
- type Interface
- func (*Interface) Descriptor() ([]byte, []int)deprecated
- func (x *Interface) GetLagMemberOf() string
- func (x *Interface) GetMetaData() *MetaData
- func (x *Interface) GetName() string
- func (x *Interface) GetType() string
- func (x *Interface) GetUnits() []*InterfaceUnit
- func (*Interface) ProtoMessage()
- func (x *Interface) ProtoReflect() protoreflect.Message
- func (x *Interface) Reset()
- func (x *Interface) String() string
- type InterfaceUnit
- func (*InterfaceUnit) Descriptor() ([]byte, []int)deprecated
- func (x *InterfaceUnit) GetId() uint32
- func (x *InterfaceUnit) GetInnerTag() uint32
- func (x *InterfaceUnit) GetIpv4Addresses() []*IPAddress
- func (x *InterfaceUnit) GetIpv6Addresses() []*IPAddress
- func (x *InterfaceUnit) GetMetaData() *MetaData
- func (x *InterfaceUnit) GetOuterTag() uint32
- func (*InterfaceUnit) ProtoMessage()
- func (x *InterfaceUnit) ProtoReflect() protoreflect.Message
- func (x *InterfaceUnit) Reset()
- func (x *InterfaceUnit) String() string
- type MetaData
- func (*MetaData) Descriptor() ([]byte, []int)deprecated
- func (x *MetaData) GetCustomFieldData() string
- func (x *MetaData) GetSemanticTags() map[string]string
- func (x *MetaData) GetTags() []string
- func (*MetaData) ProtoMessage()
- func (x *MetaData) ProtoReflect() protoreflect.Message
- func (x *MetaData) Reset()
- func (x *MetaData) String() string
- type OctopusServiceClient
- type OctopusServiceServer
- type Pop
- type Prefix
- type RearPort
- type Site
- type Topology
- func (*Topology) Descriptor() ([]byte, []int)deprecated
- func (x *Topology) GetCables() []*Cable
- func (x *Topology) GetCircuits() []*Circuit
- func (x *Topology) GetColos() []*Colo
- func (x *Topology) GetDevices() []*Device
- func (x *Topology) GetPops() []*Pop
- func (x *Topology) GetPrefixes() []*Prefix
- func (x *Topology) GetSites() []*Site
- func (x *Topology) GetTimestamp() uint64
- func (*Topology) ProtoMessage()
- func (x *Topology) ProtoReflect() protoreflect.Message
- func (x *Topology) Reset()
- func (x *Topology) String() string
- type TopologyRequest
- type TopologyResponse
- type UnimplementedOctopusServiceServer
- type UnsafeOctopusServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( CableEndpointType_name = map[int32]string{ 0: "CABLE_ENDPOINT_TYPE_UNSPECIFIED", 1: "CABLE_ENDPOINT_TYPE_INTERFACE", 2: "CABLE_ENDPOINT_TYPE_FRONT_PORT", 3: "CABLE_ENDPOINT_TYPE_REAR_PORT", 4: "CABLE_ENDPOINT_TYPE_CIRCUIT_TERMINATION", } CableEndpointType_value = map[string]int32{ "CABLE_ENDPOINT_TYPE_UNSPECIFIED": 0, "CABLE_ENDPOINT_TYPE_INTERFACE": 1, "CABLE_ENDPOINT_TYPE_FRONT_PORT": 2, "CABLE_ENDPOINT_TYPE_REAR_PORT": 3, "CABLE_ENDPOINT_TYPE_CIRCUIT_TERMINATION": 4, } )
Enum value maps for CableEndpointType.
var File_octopus_proto protoreflect.FileDescriptor
var OctopusService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "cloudflare.net.octopus.OctopusService", HandlerType: (*OctopusServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GetTopology", Handler: _OctopusService_GetTopology_Handler, }, { MethodName: "GetDevice", Handler: _OctopusService_GetDevice_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "octopus.proto", }
OctopusService_ServiceDesc is the grpc.ServiceDesc for OctopusService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOctopusServiceServer ¶
func RegisterOctopusServiceServer(s grpc.ServiceRegistrar, srv OctopusServiceServer)
Types ¶
type Cable ¶
type Cable struct { AEnd *CableEnd `protobuf:"bytes,1,opt,name=a_end,json=aEnd,proto3" json:"a_end,omitempty"` BEnd *CableEnd `protobuf:"bytes,2,opt,name=b_end,json=bEnd,proto3" json:"b_end,omitempty"` // contains filtered or unexported fields }
func (*Cable) Descriptor
deprecated
func (*Cable) ProtoMessage ¶
func (*Cable) ProtoMessage()
func (*Cable) ProtoReflect ¶
func (x *Cable) ProtoReflect() protoreflect.Message
type CableEnd ¶
type CableEnd struct { DeviceName string `protobuf:"bytes,1,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` EndpointType CableEndpointType `` /* 144-byte string literal not displayed */ EndpointName string `protobuf:"bytes,3,opt,name=endpoint_name,json=endpointName,proto3" json:"endpoint_name,omitempty"` // contains filtered or unexported fields }
func (*CableEnd) Descriptor
deprecated
func (*CableEnd) GetDeviceName ¶
func (*CableEnd) GetEndpointName ¶
func (*CableEnd) GetEndpointType ¶
func (x *CableEnd) GetEndpointType() CableEndpointType
func (*CableEnd) ProtoMessage ¶
func (*CableEnd) ProtoMessage()
func (*CableEnd) ProtoReflect ¶
func (x *CableEnd) ProtoReflect() protoreflect.Message
type CableEndpointType ¶
type CableEndpointType int32
const ( CableEndpointType_CABLE_ENDPOINT_TYPE_UNSPECIFIED CableEndpointType = 0 CableEndpointType_CABLE_ENDPOINT_TYPE_INTERFACE CableEndpointType = 1 CableEndpointType_CABLE_ENDPOINT_TYPE_FRONT_PORT CableEndpointType = 2 CableEndpointType_CABLE_ENDPOINT_TYPE_REAR_PORT CableEndpointType = 3 CableEndpointType_CABLE_ENDPOINT_TYPE_CIRCUIT_TERMINATION CableEndpointType = 4 )
func (CableEndpointType) Descriptor ¶
func (CableEndpointType) Descriptor() protoreflect.EnumDescriptor
func (CableEndpointType) Enum ¶
func (x CableEndpointType) Enum() *CableEndpointType
func (CableEndpointType) EnumDescriptor
deprecated
func (CableEndpointType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CableEndpointType.Descriptor instead.
func (CableEndpointType) Number ¶
func (x CableEndpointType) Number() protoreflect.EnumNumber
func (CableEndpointType) String ¶
func (x CableEndpointType) String() string
func (CableEndpointType) Type ¶
func (CableEndpointType) Type() protoreflect.EnumType
type Circuit ¶
type Circuit struct { Cid string `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"` Provider string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"` Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` Status string `protobuf:"bytes,4,opt,name=status,proto3" json:"status,omitempty"` MetaData *MetaData `protobuf:"bytes,6,opt,name=meta_data,json=metaData,proto3" json:"meta_data,omitempty"` // contains filtered or unexported fields }
func (*Circuit) Descriptor
deprecated
func (*Circuit) GetMetaData ¶
func (*Circuit) GetProvider ¶
func (*Circuit) ProtoMessage ¶
func (*Circuit) ProtoMessage()
func (*Circuit) ProtoReflect ¶
func (x *Circuit) ProtoReflect() protoreflect.Message
type Colo ¶
type Colo struct { Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` // enum? Region string `protobuf:"bytes,4,opt,name=region,proto3" json:"region,omitempty"` Tier uint32 `protobuf:"varint,5,opt,name=tier,proto3" json:"tier,omitempty"` Animal string `protobuf:"bytes,6,opt,name=animal,proto3" json:"animal,omitempty"` IsMcp bool `protobuf:"varint,7,opt,name=is_mcp,json=isMcp,proto3" json:"is_mcp,omitempty"` IsFedramp bool `protobuf:"varint,8,opt,name=is_fedramp,json=isFedramp,proto3" json:"is_fedramp,omitempty"` Pop string `protobuf:"bytes,9,opt,name=pop,proto3" json:"pop,omitempty"` Sites []string `protobuf:"bytes,10,rep,name=sites,proto3" json:"sites,omitempty"` // contains filtered or unexported fields }
func (*Colo) Descriptor
deprecated
func (*Colo) GetIsFedramp ¶
func (*Colo) ProtoMessage ¶
func (*Colo) ProtoMessage()
func (*Colo) ProtoReflect ¶
func (x *Colo) ProtoReflect() protoreflect.Message
type Device ¶
type Device struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Status string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"` Role string `protobuf:"bytes,3,opt,name=role,proto3" json:"role,omitempty"` Platform string `protobuf:"bytes,4,opt,name=platform,proto3" json:"platform,omitempty"` ColoId int32 `protobuf:"varint,5,opt,name=colo_id,json=coloId,proto3" json:"colo_id,omitempty"` SiteName string `protobuf:"bytes,6,opt,name=site_name,json=siteName,proto3" json:"site_name,omitempty"` Interfaces []*Interface `protobuf:"bytes,7,rep,name=interfaces,proto3" json:"interfaces,omitempty"` FrontPorts []*FrontPort `protobuf:"bytes,8,rep,name=front_ports,json=frontPorts,proto3" json:"front_ports,omitempty"` RearPorts []*RearPort `protobuf:"bytes,9,rep,name=rear_ports,json=rearPorts,proto3" json:"rear_ports,omitempty"` DeviceType string `protobuf:"bytes,11,opt,name=device_type,json=deviceType,proto3" json:"device_type,omitempty"` MetaData *MetaData `protobuf:"bytes,12,opt,name=meta_data,json=metaData,proto3" json:"meta_data,omitempty"` // contains filtered or unexported fields }
func (*Device) Descriptor
deprecated
func (*Device) GetDeviceType ¶
func (*Device) GetFrontPorts ¶
func (*Device) GetInterfaces ¶
func (*Device) GetMetaData ¶
func (*Device) GetPlatform ¶
func (*Device) GetRearPorts ¶
func (*Device) GetSiteName ¶
func (*Device) ProtoMessage ¶
func (*Device) ProtoMessage()
func (*Device) ProtoReflect ¶
func (x *Device) ProtoReflect() protoreflect.Message
type DeviceRequest ¶
type DeviceRequest struct { DeviceName string `protobuf:"bytes,1,opt,name=device_name,json=deviceName,proto3" json:"device_name,omitempty"` // contains filtered or unexported fields }
func (*DeviceRequest) Descriptor
deprecated
func (*DeviceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeviceRequest.ProtoReflect.Descriptor instead.
func (*DeviceRequest) GetDeviceName ¶
func (x *DeviceRequest) GetDeviceName() string
func (*DeviceRequest) ProtoMessage ¶
func (*DeviceRequest) ProtoMessage()
func (*DeviceRequest) ProtoReflect ¶
func (x *DeviceRequest) ProtoReflect() protoreflect.Message
func (*DeviceRequest) Reset ¶
func (x *DeviceRequest) Reset()
func (*DeviceRequest) String ¶
func (x *DeviceRequest) String() string
type DeviceResponse ¶
type DeviceResponse struct { Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` // contains filtered or unexported fields }
func (*DeviceResponse) Descriptor
deprecated
func (*DeviceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeviceResponse.ProtoReflect.Descriptor instead.
func (*DeviceResponse) GetDevice ¶
func (x *DeviceResponse) GetDevice() *Device
func (*DeviceResponse) ProtoMessage ¶
func (*DeviceResponse) ProtoMessage()
func (*DeviceResponse) ProtoReflect ¶
func (x *DeviceResponse) ProtoReflect() protoreflect.Message
func (*DeviceResponse) Reset ¶
func (x *DeviceResponse) Reset()
func (*DeviceResponse) String ¶
func (x *DeviceResponse) String() string
type FrontPort ¶
type FrontPort struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` RearPort string `protobuf:"bytes,2,opt,name=rear_port,json=rearPort,proto3" json:"rear_port,omitempty"` RearPortPosition uint32 `protobuf:"varint,3,opt,name=rear_port_position,json=rearPortPosition,proto3" json:"rear_port_position,omitempty"` // contains filtered or unexported fields }
func (*FrontPort) Descriptor
deprecated
func (*FrontPort) GetRearPort ¶
func (*FrontPort) GetRearPortPosition ¶
func (*FrontPort) ProtoMessage ¶
func (*FrontPort) ProtoMessage()
func (*FrontPort) ProtoReflect ¶
func (x *FrontPort) ProtoReflect() protoreflect.Message
type IPAddress ¶
type IPAddress struct { IP *api.Prefix `protobuf:"bytes,1,opt,name=IP,proto3" json:"IP,omitempty"` MetaData *MetaData `protobuf:"bytes,2,opt,name=meta_data,json=metaData,proto3" json:"meta_data,omitempty"` // contains filtered or unexported fields }
func (*IPAddress) Descriptor
deprecated
func (*IPAddress) GetMetaData ¶
func (*IPAddress) ProtoMessage ¶
func (*IPAddress) ProtoMessage()
func (*IPAddress) ProtoReflect ¶
func (x *IPAddress) ProtoReflect() protoreflect.Message
type Interface ¶
type Interface struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Units []*InterfaceUnit `protobuf:"bytes,2,rep,name=units,proto3" json:"units,omitempty"` LagMemberOf string `protobuf:"bytes,3,opt,name=lag_member_of,json=lagMemberOf,proto3" json:"lag_member_of,omitempty"` Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` MetaData *MetaData `protobuf:"bytes,6,opt,name=meta_data,json=metaData,proto3" json:"meta_data,omitempty"` // contains filtered or unexported fields }
func (*Interface) Descriptor
deprecated
func (*Interface) GetLagMemberOf ¶
func (*Interface) GetMetaData ¶
func (*Interface) GetUnits ¶
func (x *Interface) GetUnits() []*InterfaceUnit
func (*Interface) ProtoMessage ¶
func (*Interface) ProtoMessage()
func (*Interface) ProtoReflect ¶
func (x *Interface) ProtoReflect() protoreflect.Message
type InterfaceUnit ¶
type InterfaceUnit struct { // //The unit ID MAY refer to a VLAN ID if 802.1q or 802.1ad tagging is used (and will contain the same value as the inner_tag is so). //For some interface types (GRE tunnels for example), the ID does NOT reflect a VLAN ID. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Ipv4Addresses []*IPAddress `protobuf:"bytes,2,rep,name=ipv4_addresses,json=ipv4Addresses,proto3" json:"ipv4_addresses,omitempty"` Ipv6Addresses []*IPAddress `protobuf:"bytes,3,rep,name=ipv6_addresses,json=ipv6Addresses,proto3" json:"ipv6_addresses,omitempty"` OuterTag uint32 `protobuf:"varint,5,opt,name=outer_tag,json=outerTag,proto3" json:"outer_tag,omitempty"` InnerTag uint32 `protobuf:"varint,6,opt,name=inner_tag,json=innerTag,proto3" json:"inner_tag,omitempty"` MetaData *MetaData `protobuf:"bytes,7,opt,name=meta_data,json=metaData,proto3" json:"meta_data,omitempty"` // contains filtered or unexported fields }
func (*InterfaceUnit) Descriptor
deprecated
func (*InterfaceUnit) Descriptor() ([]byte, []int)
Deprecated: Use InterfaceUnit.ProtoReflect.Descriptor instead.
func (*InterfaceUnit) GetId ¶
func (x *InterfaceUnit) GetId() uint32
func (*InterfaceUnit) GetInnerTag ¶
func (x *InterfaceUnit) GetInnerTag() uint32
func (*InterfaceUnit) GetIpv4Addresses ¶
func (x *InterfaceUnit) GetIpv4Addresses() []*IPAddress
func (*InterfaceUnit) GetIpv6Addresses ¶
func (x *InterfaceUnit) GetIpv6Addresses() []*IPAddress
func (*InterfaceUnit) GetMetaData ¶
func (x *InterfaceUnit) GetMetaData() *MetaData
func (*InterfaceUnit) GetOuterTag ¶
func (x *InterfaceUnit) GetOuterTag() uint32
func (*InterfaceUnit) ProtoMessage ¶
func (*InterfaceUnit) ProtoMessage()
func (*InterfaceUnit) ProtoReflect ¶
func (x *InterfaceUnit) ProtoReflect() protoreflect.Message
func (*InterfaceUnit) Reset ¶
func (x *InterfaceUnit) Reset()
func (*InterfaceUnit) String ¶
func (x *InterfaceUnit) String() string
type MetaData ¶
type MetaData struct { Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"` SemanticTags map[string]string `` /* 185-byte string literal not displayed */ CustomFieldData string `protobuf:"bytes,3,opt,name=custom_field_data,json=customFieldData,proto3" json:"custom_field_data,omitempty"` // contains filtered or unexported fields }
func (*MetaData) Descriptor
deprecated
func (*MetaData) GetCustomFieldData ¶
func (*MetaData) GetSemanticTags ¶
func (*MetaData) ProtoMessage ¶
func (*MetaData) ProtoMessage()
func (*MetaData) ProtoReflect ¶
func (x *MetaData) ProtoReflect() protoreflect.Message
type OctopusServiceClient ¶
type OctopusServiceClient interface { GetTopology(ctx context.Context, in *TopologyRequest, opts ...grpc.CallOption) (*TopologyResponse, error) GetDevice(ctx context.Context, in *DeviceRequest, opts ...grpc.CallOption) (*DeviceResponse, error) }
OctopusServiceClient is the client API for OctopusService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewOctopusServiceClient ¶
func NewOctopusServiceClient(cc grpc.ClientConnInterface) OctopusServiceClient
type OctopusServiceServer ¶
type OctopusServiceServer interface { GetTopology(context.Context, *TopologyRequest) (*TopologyResponse, error) GetDevice(context.Context, *DeviceRequest) (*DeviceResponse, error) }
OctopusServiceServer is the server API for OctopusService service. All implementations should embed UnimplementedOctopusServiceServer for forward compatibility
type Pop ¶
type Pop struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Pop) Descriptor
deprecated
func (*Pop) ProtoMessage ¶
func (*Pop) ProtoMessage()
func (*Pop) ProtoReflect ¶
func (x *Pop) ProtoReflect() protoreflect.Message
type Prefix ¶
type Prefix struct { Prefix *api.Prefix `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` MetaData *MetaData `protobuf:"bytes,4,opt,name=meta_data,json=metaData,proto3" json:"meta_data,omitempty"` // contains filtered or unexported fields }
func (*Prefix) Descriptor
deprecated
func (*Prefix) GetMetaData ¶
func (*Prefix) ProtoMessage ¶
func (*Prefix) ProtoMessage()
func (*Prefix) ProtoReflect ¶
func (x *Prefix) ProtoReflect() protoreflect.Message
type RearPort ¶
type RearPort struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Positions uint32 `protobuf:"varint,2,opt,name=positions,proto3" json:"positions,omitempty"` // contains filtered or unexported fields }
func (*RearPort) Descriptor
deprecated
func (*RearPort) GetPositions ¶
func (*RearPort) ProtoMessage ¶
func (*RearPort) ProtoMessage()
func (*RearPort) ProtoReflect ¶
func (x *RearPort) ProtoReflect() protoreflect.Message
type Site ¶
type Site struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*Site) Descriptor
deprecated
func (*Site) ProtoMessage ¶
func (*Site) ProtoMessage()
func (*Site) ProtoReflect ¶
func (x *Site) ProtoReflect() protoreflect.Message
type Topology ¶
type Topology struct { Timestamp uint64 `protobuf:"varint,1,opt,name=timestamp,proto3" json:"timestamp,omitempty"` Sites []*Site `protobuf:"bytes,2,rep,name=sites,proto3" json:"sites,omitempty"` Pops []*Pop `protobuf:"bytes,3,rep,name=pops,proto3" json:"pops,omitempty"` Colos []*Colo `protobuf:"bytes,4,rep,name=colos,proto3" json:"colos,omitempty"` Devices []*Device `protobuf:"bytes,5,rep,name=devices,proto3" json:"devices,omitempty"` Cables []*Cable `protobuf:"bytes,6,rep,name=cables,proto3" json:"cables,omitempty"` Prefixes []*Prefix `protobuf:"bytes,7,rep,name=prefixes,proto3" json:"prefixes,omitempty"` Circuits []*Circuit `protobuf:"bytes,8,rep,name=circuits,proto3" json:"circuits,omitempty"` // contains filtered or unexported fields }
Messages for data types
func (*Topology) Descriptor
deprecated
func (*Topology) GetCircuits ¶
func (*Topology) GetDevices ¶
func (*Topology) GetPrefixes ¶
func (*Topology) GetTimestamp ¶
func (*Topology) ProtoMessage ¶
func (*Topology) ProtoMessage()
func (*Topology) ProtoReflect ¶
func (x *Topology) ProtoReflect() protoreflect.Message
type TopologyRequest ¶
type TopologyRequest struct {
// contains filtered or unexported fields
}
Services and related messages
func (*TopologyRequest) Descriptor
deprecated
func (*TopologyRequest) Descriptor() ([]byte, []int)
Deprecated: Use TopologyRequest.ProtoReflect.Descriptor instead.
func (*TopologyRequest) ProtoMessage ¶
func (*TopologyRequest) ProtoMessage()
func (*TopologyRequest) ProtoReflect ¶
func (x *TopologyRequest) ProtoReflect() protoreflect.Message
func (*TopologyRequest) Reset ¶
func (x *TopologyRequest) Reset()
func (*TopologyRequest) String ¶
func (x *TopologyRequest) String() string
type TopologyResponse ¶
type TopologyResponse struct { Topology *Topology `protobuf:"bytes,1,opt,name=topology,proto3" json:"topology,omitempty"` // contains filtered or unexported fields }
func (*TopologyResponse) Descriptor
deprecated
func (*TopologyResponse) Descriptor() ([]byte, []int)
Deprecated: Use TopologyResponse.ProtoReflect.Descriptor instead.
func (*TopologyResponse) GetTopology ¶
func (x *TopologyResponse) GetTopology() *Topology
func (*TopologyResponse) ProtoMessage ¶
func (*TopologyResponse) ProtoMessage()
func (*TopologyResponse) ProtoReflect ¶
func (x *TopologyResponse) ProtoReflect() protoreflect.Message
func (*TopologyResponse) Reset ¶
func (x *TopologyResponse) Reset()
func (*TopologyResponse) String ¶
func (x *TopologyResponse) String() string
type UnimplementedOctopusServiceServer ¶
type UnimplementedOctopusServiceServer struct { }
UnimplementedOctopusServiceServer should be embedded to have forward compatible implementations.
func (UnimplementedOctopusServiceServer) GetDevice ¶
func (UnimplementedOctopusServiceServer) GetDevice(context.Context, *DeviceRequest) (*DeviceResponse, error)
func (UnimplementedOctopusServiceServer) GetTopology ¶
func (UnimplementedOctopusServiceServer) GetTopology(context.Context, *TopologyRequest) (*TopologyResponse, error)
type UnsafeOctopusServiceServer ¶
type UnsafeOctopusServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOctopusServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OctopusServiceServer will result in compilation errors.