octopus

package
v0.2.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 4, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
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.

View Source
var File_octopus_proto protoreflect.FileDescriptor
View Source
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) Descriptor() ([]byte, []int)

Deprecated: Use Cable.ProtoReflect.Descriptor instead.

func (*Cable) GetAEnd

func (x *Cable) GetAEnd() *CableEnd

func (*Cable) GetBEnd

func (x *Cable) GetBEnd() *CableEnd

func (*Cable) ProtoMessage

func (*Cable) ProtoMessage()

func (*Cable) ProtoReflect

func (x *Cable) ProtoReflect() protoreflect.Message

func (*Cable) Reset

func (x *Cable) Reset()

func (*Cable) String

func (x *Cable) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use CableEnd.ProtoReflect.Descriptor instead.

func (*CableEnd) GetDeviceName

func (x *CableEnd) GetDeviceName() string

func (*CableEnd) GetEndpointName

func (x *CableEnd) GetEndpointName() string

func (*CableEnd) GetEndpointType

func (x *CableEnd) GetEndpointType() CableEndpointType

func (*CableEnd) ProtoMessage

func (*CableEnd) ProtoMessage()

func (*CableEnd) ProtoReflect

func (x *CableEnd) ProtoReflect() protoreflect.Message

func (*CableEnd) Reset

func (x *CableEnd) Reset()

func (*CableEnd) String

func (x *CableEnd) String() string

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) Enum

func (CableEndpointType) EnumDescriptor deprecated

func (CableEndpointType) EnumDescriptor() ([]byte, []int)

Deprecated: Use CableEndpointType.Descriptor instead.

func (CableEndpointType) Number

func (CableEndpointType) String

func (x CableEndpointType) String() string

func (CableEndpointType) Type

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) Descriptor() ([]byte, []int)

Deprecated: Use Circuit.ProtoReflect.Descriptor instead.

func (*Circuit) GetCid

func (x *Circuit) GetCid() string

func (*Circuit) GetMetaData

func (x *Circuit) GetMetaData() *MetaData

func (*Circuit) GetProvider

func (x *Circuit) GetProvider() string

func (*Circuit) GetStatus

func (x *Circuit) GetStatus() string

func (*Circuit) GetType

func (x *Circuit) GetType() string

func (*Circuit) ProtoMessage

func (*Circuit) ProtoMessage()

func (*Circuit) ProtoReflect

func (x *Circuit) ProtoReflect() protoreflect.Message

func (*Circuit) Reset

func (x *Circuit) Reset()

func (*Circuit) String

func (x *Circuit) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Colo.ProtoReflect.Descriptor instead.

func (*Colo) GetAnimal

func (x *Colo) GetAnimal() string

func (*Colo) GetId

func (x *Colo) GetId() uint32

func (*Colo) GetIsFedramp

func (x *Colo) GetIsFedramp() bool

func (*Colo) GetIsMcp

func (x *Colo) GetIsMcp() bool

func (*Colo) GetName

func (x *Colo) GetName() string

func (*Colo) GetPop

func (x *Colo) GetPop() string

func (*Colo) GetRegion

func (x *Colo) GetRegion() string

func (*Colo) GetSites

func (x *Colo) GetSites() []string

func (*Colo) GetStatus

func (x *Colo) GetStatus() string

func (*Colo) GetTier

func (x *Colo) GetTier() uint32

func (*Colo) ProtoMessage

func (*Colo) ProtoMessage()

func (*Colo) ProtoReflect

func (x *Colo) ProtoReflect() protoreflect.Message

func (*Colo) Reset

func (x *Colo) Reset()

func (*Colo) String

func (x *Colo) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetColoId

func (x *Device) GetColoId() int32

func (*Device) GetDeviceType

func (x *Device) GetDeviceType() string

func (*Device) GetFrontPorts

func (x *Device) GetFrontPorts() []*FrontPort

func (*Device) GetInterfaces

func (x *Device) GetInterfaces() []*Interface

func (*Device) GetMetaData

func (x *Device) GetMetaData() *MetaData

func (*Device) GetName

func (x *Device) GetName() string

func (*Device) GetPlatform

func (x *Device) GetPlatform() string

func (*Device) GetRearPorts

func (x *Device) GetRearPorts() []*RearPort

func (*Device) GetRole

func (x *Device) GetRole() string

func (*Device) GetSiteName

func (x *Device) GetSiteName() string

func (*Device) GetStatus

func (x *Device) GetStatus() string

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

func (x *Device) ProtoReflect() protoreflect.Message

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use FrontPort.ProtoReflect.Descriptor instead.

func (*FrontPort) GetName

func (x *FrontPort) GetName() string

func (*FrontPort) GetRearPort

func (x *FrontPort) GetRearPort() string

func (*FrontPort) GetRearPortPosition

func (x *FrontPort) GetRearPortPosition() uint32

func (*FrontPort) ProtoMessage

func (*FrontPort) ProtoMessage()

func (*FrontPort) ProtoReflect

func (x *FrontPort) ProtoReflect() protoreflect.Message

func (*FrontPort) Reset

func (x *FrontPort) Reset()

func (*FrontPort) String

func (x *FrontPort) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use IPAddress.ProtoReflect.Descriptor instead.

func (*IPAddress) GetIP

func (x *IPAddress) GetIP() *api.Prefix

func (*IPAddress) GetMetaData

func (x *IPAddress) GetMetaData() *MetaData

func (*IPAddress) ProtoMessage

func (*IPAddress) ProtoMessage()

func (*IPAddress) ProtoReflect

func (x *IPAddress) ProtoReflect() protoreflect.Message

func (*IPAddress) Reset

func (x *IPAddress) Reset()

func (*IPAddress) String

func (x *IPAddress) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Interface.ProtoReflect.Descriptor instead.

func (*Interface) GetLagMemberOf

func (x *Interface) GetLagMemberOf() string

func (*Interface) GetMetaData

func (x *Interface) GetMetaData() *MetaData

func (*Interface) GetName

func (x *Interface) GetName() string

func (*Interface) GetType

func (x *Interface) GetType() string

func (*Interface) GetUnits

func (x *Interface) GetUnits() []*InterfaceUnit

func (*Interface) ProtoMessage

func (*Interface) ProtoMessage()

func (*Interface) ProtoReflect

func (x *Interface) ProtoReflect() protoreflect.Message

func (*Interface) Reset

func (x *Interface) Reset()

func (*Interface) String

func (x *Interface) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use MetaData.ProtoReflect.Descriptor instead.

func (*MetaData) GetCustomFieldData

func (x *MetaData) GetCustomFieldData() string

func (*MetaData) GetSemanticTags

func (x *MetaData) GetSemanticTags() map[string]string

func (*MetaData) GetTags

func (x *MetaData) GetTags() []string

func (*MetaData) ProtoMessage

func (*MetaData) ProtoMessage()

func (*MetaData) ProtoReflect

func (x *MetaData) ProtoReflect() protoreflect.Message

func (*MetaData) Reset

func (x *MetaData) Reset()

func (*MetaData) String

func (x *MetaData) String() string

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.

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) Descriptor() ([]byte, []int)

Deprecated: Use Pop.ProtoReflect.Descriptor instead.

func (*Pop) GetName

func (x *Pop) GetName() string

func (*Pop) ProtoMessage

func (*Pop) ProtoMessage()

func (*Pop) ProtoReflect

func (x *Pop) ProtoReflect() protoreflect.Message

func (*Pop) Reset

func (x *Pop) Reset()

func (*Pop) String

func (x *Pop) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Prefix.ProtoReflect.Descriptor instead.

func (*Prefix) GetMetaData

func (x *Prefix) GetMetaData() *MetaData

func (*Prefix) GetPrefix

func (x *Prefix) GetPrefix() *api.Prefix

func (*Prefix) ProtoMessage

func (*Prefix) ProtoMessage()

func (*Prefix) ProtoReflect

func (x *Prefix) ProtoReflect() protoreflect.Message

func (*Prefix) Reset

func (x *Prefix) Reset()

func (*Prefix) String

func (x *Prefix) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use RearPort.ProtoReflect.Descriptor instead.

func (*RearPort) GetName

func (x *RearPort) GetName() string

func (*RearPort) GetPositions

func (x *RearPort) GetPositions() uint32

func (*RearPort) ProtoMessage

func (*RearPort) ProtoMessage()

func (*RearPort) ProtoReflect

func (x *RearPort) ProtoReflect() protoreflect.Message

func (*RearPort) Reset

func (x *RearPort) Reset()

func (*RearPort) String

func (x *RearPort) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Site.ProtoReflect.Descriptor instead.

func (*Site) GetName

func (x *Site) GetName() string

func (*Site) ProtoMessage

func (*Site) ProtoMessage()

func (*Site) ProtoReflect

func (x *Site) ProtoReflect() protoreflect.Message

func (*Site) Reset

func (x *Site) Reset()

func (*Site) String

func (x *Site) String() string

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) Descriptor() ([]byte, []int)

Deprecated: Use Topology.ProtoReflect.Descriptor instead.

func (*Topology) GetCables

func (x *Topology) GetCables() []*Cable

func (*Topology) GetCircuits

func (x *Topology) GetCircuits() []*Circuit

func (*Topology) GetColos

func (x *Topology) GetColos() []*Colo

func (*Topology) GetDevices

func (x *Topology) GetDevices() []*Device

func (*Topology) GetPops

func (x *Topology) GetPops() []*Pop

func (*Topology) GetPrefixes

func (x *Topology) GetPrefixes() []*Prefix

func (*Topology) GetSites

func (x *Topology) GetSites() []*Site

func (*Topology) GetTimestamp

func (x *Topology) GetTimestamp() uint64

func (*Topology) ProtoMessage

func (*Topology) ProtoMessage()

func (*Topology) ProtoReflect

func (x *Topology) ProtoReflect() protoreflect.Message

func (*Topology) Reset

func (x *Topology) Reset()

func (*Topology) String

func (x *Topology) String() string

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) GetTopology

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL