Documentation ¶
Index ¶
- Variables
- func RegisterDaemonServiceServer(s *grpc.Server, srv DaemonServiceServer)
- type ASRequest
- type ASResponse
- func (*ASResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ASResponse) GetCore() bool
- func (x *ASResponse) GetIsdAs() uint64
- func (x *ASResponse) GetMtu() uint32
- func (*ASResponse) ProtoMessage()
- func (x *ASResponse) ProtoReflect() protoreflect.Message
- func (x *ASResponse) Reset()
- func (x *ASResponse) String() string
- type DRKeyASHostRequest
- func (*DRKeyASHostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DRKeyASHostRequest) GetDstHost() string
- func (x *DRKeyASHostRequest) GetDstIa() uint64
- func (x *DRKeyASHostRequest) GetProtocolId() drkey.Protocol
- func (x *DRKeyASHostRequest) GetSrcIa() uint64
- func (x *DRKeyASHostRequest) GetValTime() *timestamppb.Timestamp
- func (*DRKeyASHostRequest) ProtoMessage()
- func (x *DRKeyASHostRequest) ProtoReflect() protoreflect.Message
- func (x *DRKeyASHostRequest) Reset()
- func (x *DRKeyASHostRequest) String() string
- type DRKeyASHostResponse
- func (*DRKeyASHostResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DRKeyASHostResponse) GetEpochBegin() *timestamppb.Timestamp
- func (x *DRKeyASHostResponse) GetEpochEnd() *timestamppb.Timestamp
- func (x *DRKeyASHostResponse) GetKey() []byte
- func (*DRKeyASHostResponse) ProtoMessage()
- func (x *DRKeyASHostResponse) ProtoReflect() protoreflect.Message
- func (x *DRKeyASHostResponse) Reset()
- func (x *DRKeyASHostResponse) String() string
- type DRKeyHostASRequest
- func (*DRKeyHostASRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DRKeyHostASRequest) GetDstIa() uint64
- func (x *DRKeyHostASRequest) GetProtocolId() drkey.Protocol
- func (x *DRKeyHostASRequest) GetSrcHost() string
- func (x *DRKeyHostASRequest) GetSrcIa() uint64
- func (x *DRKeyHostASRequest) GetValTime() *timestamppb.Timestamp
- func (*DRKeyHostASRequest) ProtoMessage()
- func (x *DRKeyHostASRequest) ProtoReflect() protoreflect.Message
- func (x *DRKeyHostASRequest) Reset()
- func (x *DRKeyHostASRequest) String() string
- type DRKeyHostASResponse
- func (*DRKeyHostASResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DRKeyHostASResponse) GetEpochBegin() *timestamppb.Timestamp
- func (x *DRKeyHostASResponse) GetEpochEnd() *timestamppb.Timestamp
- func (x *DRKeyHostASResponse) GetKey() []byte
- func (*DRKeyHostASResponse) ProtoMessage()
- func (x *DRKeyHostASResponse) ProtoReflect() protoreflect.Message
- func (x *DRKeyHostASResponse) Reset()
- func (x *DRKeyHostASResponse) String() string
- type DRKeyHostHostRequest
- func (*DRKeyHostHostRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DRKeyHostHostRequest) GetDstHost() string
- func (x *DRKeyHostHostRequest) GetDstIa() uint64
- func (x *DRKeyHostHostRequest) GetProtocolId() drkey.Protocol
- func (x *DRKeyHostHostRequest) GetSrcHost() string
- func (x *DRKeyHostHostRequest) GetSrcIa() uint64
- func (x *DRKeyHostHostRequest) GetValTime() *timestamppb.Timestamp
- func (*DRKeyHostHostRequest) ProtoMessage()
- func (x *DRKeyHostHostRequest) ProtoReflect() protoreflect.Message
- func (x *DRKeyHostHostRequest) Reset()
- func (x *DRKeyHostHostRequest) String() string
- type DRKeyHostHostResponse
- func (*DRKeyHostHostResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DRKeyHostHostResponse) GetEpochBegin() *timestamppb.Timestamp
- func (x *DRKeyHostHostResponse) GetEpochEnd() *timestamppb.Timestamp
- func (x *DRKeyHostHostResponse) GetKey() []byte
- func (*DRKeyHostHostResponse) ProtoMessage()
- func (x *DRKeyHostHostResponse) ProtoReflect() protoreflect.Message
- func (x *DRKeyHostHostResponse) Reset()
- func (x *DRKeyHostHostResponse) String() string
- type DaemonServiceClient
- type DaemonServiceServer
- type EpicAuths
- type GeoCoordinates
- func (*GeoCoordinates) Descriptor() ([]byte, []int)deprecated
- func (x *GeoCoordinates) GetAddress() string
- func (x *GeoCoordinates) GetLatitude() float32
- func (x *GeoCoordinates) GetLongitude() float32
- func (*GeoCoordinates) ProtoMessage()
- func (x *GeoCoordinates) ProtoReflect() protoreflect.Message
- func (x *GeoCoordinates) Reset()
- func (x *GeoCoordinates) String() string
- type Interface
- type InterfacesRequest
- type InterfacesResponse
- func (*InterfacesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InterfacesResponse) GetInterfaces() map[uint64]*Interface
- func (*InterfacesResponse) ProtoMessage()
- func (x *InterfacesResponse) ProtoReflect() protoreflect.Message
- func (x *InterfacesResponse) Reset()
- func (x *InterfacesResponse) String() string
- type LinkType
- type ListService
- type NotifyInterfaceDownRequest
- func (*NotifyInterfaceDownRequest) Descriptor() ([]byte, []int)deprecated
- func (x *NotifyInterfaceDownRequest) GetId() uint64
- func (x *NotifyInterfaceDownRequest) GetIsdAs() uint64
- func (*NotifyInterfaceDownRequest) ProtoMessage()
- func (x *NotifyInterfaceDownRequest) ProtoReflect() protoreflect.Message
- func (x *NotifyInterfaceDownRequest) Reset()
- func (x *NotifyInterfaceDownRequest) String() string
- type NotifyInterfaceDownResponse
- type Path
- func (*Path) Descriptor() ([]byte, []int)deprecated
- func (x *Path) GetBandwidth() []uint64
- func (x *Path) GetEpicAuths() *EpicAuths
- func (x *Path) GetExpiration() *timestamppb.Timestamp
- func (x *Path) GetGeo() []*GeoCoordinates
- func (x *Path) GetInterface() *Interface
- func (x *Path) GetInterfaces() []*PathInterface
- func (x *Path) GetInternalHops() []uint32
- func (x *Path) GetLatency() []*durationpb.Duration
- func (x *Path) GetLinkType() []LinkType
- func (x *Path) GetMtu() uint32
- func (x *Path) GetNotes() []string
- func (x *Path) GetRaw() []byte
- func (*Path) ProtoMessage()
- func (x *Path) ProtoReflect() protoreflect.Message
- func (x *Path) Reset()
- func (x *Path) String() string
- type PathInterface
- func (*PathInterface) Descriptor() ([]byte, []int)deprecated
- func (x *PathInterface) GetId() uint64
- func (x *PathInterface) GetIsdAs() uint64
- func (*PathInterface) ProtoMessage()
- func (x *PathInterface) ProtoReflect() protoreflect.Message
- func (x *PathInterface) Reset()
- func (x *PathInterface) String() string
- type PathsRequest
- func (*PathsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PathsRequest) GetDestinationIsdAs() uint64
- func (x *PathsRequest) GetHidden() bool
- func (x *PathsRequest) GetRefresh() bool
- func (x *PathsRequest) GetSourceIsdAs() uint64
- func (*PathsRequest) ProtoMessage()
- func (x *PathsRequest) ProtoReflect() protoreflect.Message
- func (x *PathsRequest) Reset()
- func (x *PathsRequest) String() string
- type PathsResponse
- type PortRangeResponse
- func (*PortRangeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PortRangeResponse) GetDispatchedPortEnd() uint32
- func (x *PortRangeResponse) GetDispatchedPortStart() uint32
- func (*PortRangeResponse) ProtoMessage()
- func (x *PortRangeResponse) ProtoReflect() protoreflect.Message
- func (x *PortRangeResponse) Reset()
- func (x *PortRangeResponse) String() string
- type Service
- type ServicesRequest
- type ServicesResponse
- func (*ServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ServicesResponse) GetServices() map[string]*ListService
- func (*ServicesResponse) ProtoMessage()
- func (x *ServicesResponse) ProtoReflect() protoreflect.Message
- func (x *ServicesResponse) Reset()
- func (x *ServicesResponse) String() string
- type Underlay
- type UnimplementedDaemonServiceServer
- func (*UnimplementedDaemonServiceServer) AS(context.Context, *ASRequest) (*ASResponse, error)
- func (*UnimplementedDaemonServiceServer) DRKeyASHost(context.Context, *DRKeyASHostRequest) (*DRKeyASHostResponse, error)
- func (*UnimplementedDaemonServiceServer) DRKeyHostAS(context.Context, *DRKeyHostASRequest) (*DRKeyHostASResponse, error)
- func (*UnimplementedDaemonServiceServer) DRKeyHostHost(context.Context, *DRKeyHostHostRequest) (*DRKeyHostHostResponse, error)
- func (*UnimplementedDaemonServiceServer) Interfaces(context.Context, *InterfacesRequest) (*InterfacesResponse, error)
- func (*UnimplementedDaemonServiceServer) NotifyInterfaceDown(context.Context, *NotifyInterfaceDownRequest) (*NotifyInterfaceDownResponse, error)
- func (*UnimplementedDaemonServiceServer) Paths(context.Context, *PathsRequest) (*PathsResponse, error)
- func (*UnimplementedDaemonServiceServer) PortRange(context.Context, *emptypb.Empty) (*PortRangeResponse, error)
- func (*UnimplementedDaemonServiceServer) Services(context.Context, *ServicesRequest) (*ServicesResponse, error)
Constants ¶
This section is empty.
Variables ¶
var ( LinkType_name = map[int32]string{ 0: "LINK_TYPE_UNSPECIFIED", 1: "LINK_TYPE_DIRECT", 2: "LINK_TYPE_MULTI_HOP", 3: "LINK_TYPE_OPEN_NET", } LinkType_value = map[string]int32{ "LINK_TYPE_UNSPECIFIED": 0, "LINK_TYPE_DIRECT": 1, "LINK_TYPE_MULTI_HOP": 2, "LINK_TYPE_OPEN_NET": 3, } )
Enum value maps for LinkType.
var File_proto_daemon_v1_daemon_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDaemonServiceServer ¶
func RegisterDaemonServiceServer(s *grpc.Server, srv DaemonServiceServer)
Types ¶
type ASRequest ¶
type ASRequest struct { IsdAs uint64 `protobuf:"varint,1,opt,name=isd_as,json=isdAs,proto3" json:"isd_as,omitempty"` // contains filtered or unexported fields }
func (*ASRequest) Descriptor
deprecated
func (*ASRequest) ProtoMessage ¶
func (*ASRequest) ProtoMessage()
func (*ASRequest) ProtoReflect ¶
func (x *ASRequest) ProtoReflect() protoreflect.Message
type ASResponse ¶
type ASResponse struct { IsdAs uint64 `protobuf:"varint,1,opt,name=isd_as,json=isdAs,proto3" json:"isd_as,omitempty"` Core bool `protobuf:"varint,2,opt,name=core,proto3" json:"core,omitempty"` Mtu uint32 `protobuf:"varint,3,opt,name=mtu,proto3" json:"mtu,omitempty"` // contains filtered or unexported fields }
func (*ASResponse) Descriptor
deprecated
func (*ASResponse) Descriptor() ([]byte, []int)
Deprecated: Use ASResponse.ProtoReflect.Descriptor instead.
func (*ASResponse) GetCore ¶
func (x *ASResponse) GetCore() bool
func (*ASResponse) GetIsdAs ¶
func (x *ASResponse) GetIsdAs() uint64
func (*ASResponse) GetMtu ¶
func (x *ASResponse) GetMtu() uint32
func (*ASResponse) ProtoMessage ¶
func (*ASResponse) ProtoMessage()
func (*ASResponse) ProtoReflect ¶
func (x *ASResponse) ProtoReflect() protoreflect.Message
func (*ASResponse) Reset ¶
func (x *ASResponse) Reset()
func (*ASResponse) String ¶
func (x *ASResponse) String() string
type DRKeyASHostRequest ¶ added in v0.9.0
type DRKeyASHostRequest struct { ValTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val_time,json=valTime,proto3" json:"val_time,omitempty"` ProtocolId drkey.Protocol `protobuf:"varint,2,opt,name=protocol_id,json=protocolId,proto3,enum=proto.drkey.v1.Protocol" json:"protocol_id,omitempty"` SrcIa uint64 `protobuf:"varint,3,opt,name=src_ia,json=srcIa,proto3" json:"src_ia,omitempty"` DstIa uint64 `protobuf:"varint,4,opt,name=dst_ia,json=dstIa,proto3" json:"dst_ia,omitempty"` DstHost string `protobuf:"bytes,5,opt,name=dst_host,json=dstHost,proto3" json:"dst_host,omitempty"` // contains filtered or unexported fields }
func (*DRKeyASHostRequest) Descriptor
deprecated
added in
v0.9.0
func (*DRKeyASHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use DRKeyASHostRequest.ProtoReflect.Descriptor instead.
func (*DRKeyASHostRequest) GetDstHost ¶ added in v0.9.0
func (x *DRKeyASHostRequest) GetDstHost() string
func (*DRKeyASHostRequest) GetDstIa ¶ added in v0.9.0
func (x *DRKeyASHostRequest) GetDstIa() uint64
func (*DRKeyASHostRequest) GetProtocolId ¶ added in v0.9.0
func (x *DRKeyASHostRequest) GetProtocolId() drkey.Protocol
func (*DRKeyASHostRequest) GetSrcIa ¶ added in v0.9.0
func (x *DRKeyASHostRequest) GetSrcIa() uint64
func (*DRKeyASHostRequest) GetValTime ¶ added in v0.9.0
func (x *DRKeyASHostRequest) GetValTime() *timestamppb.Timestamp
func (*DRKeyASHostRequest) ProtoMessage ¶ added in v0.9.0
func (*DRKeyASHostRequest) ProtoMessage()
func (*DRKeyASHostRequest) ProtoReflect ¶ added in v0.9.0
func (x *DRKeyASHostRequest) ProtoReflect() protoreflect.Message
func (*DRKeyASHostRequest) Reset ¶ added in v0.9.0
func (x *DRKeyASHostRequest) Reset()
func (*DRKeyASHostRequest) String ¶ added in v0.9.0
func (x *DRKeyASHostRequest) String() string
type DRKeyASHostResponse ¶ added in v0.9.0
type DRKeyASHostResponse struct { EpochBegin *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=epoch_begin,json=epochBegin,proto3" json:"epoch_begin,omitempty"` EpochEnd *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=epoch_end,json=epochEnd,proto3" json:"epoch_end,omitempty"` Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DRKeyASHostResponse) Descriptor
deprecated
added in
v0.9.0
func (*DRKeyASHostResponse) Descriptor() ([]byte, []int)
Deprecated: Use DRKeyASHostResponse.ProtoReflect.Descriptor instead.
func (*DRKeyASHostResponse) GetEpochBegin ¶ added in v0.9.0
func (x *DRKeyASHostResponse) GetEpochBegin() *timestamppb.Timestamp
func (*DRKeyASHostResponse) GetEpochEnd ¶ added in v0.9.0
func (x *DRKeyASHostResponse) GetEpochEnd() *timestamppb.Timestamp
func (*DRKeyASHostResponse) GetKey ¶ added in v0.9.0
func (x *DRKeyASHostResponse) GetKey() []byte
func (*DRKeyASHostResponse) ProtoMessage ¶ added in v0.9.0
func (*DRKeyASHostResponse) ProtoMessage()
func (*DRKeyASHostResponse) ProtoReflect ¶ added in v0.9.0
func (x *DRKeyASHostResponse) ProtoReflect() protoreflect.Message
func (*DRKeyASHostResponse) Reset ¶ added in v0.9.0
func (x *DRKeyASHostResponse) Reset()
func (*DRKeyASHostResponse) String ¶ added in v0.9.0
func (x *DRKeyASHostResponse) String() string
type DRKeyHostASRequest ¶ added in v0.9.0
type DRKeyHostASRequest struct { ValTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val_time,json=valTime,proto3" json:"val_time,omitempty"` ProtocolId drkey.Protocol `protobuf:"varint,2,opt,name=protocol_id,json=protocolId,proto3,enum=proto.drkey.v1.Protocol" json:"protocol_id,omitempty"` SrcIa uint64 `protobuf:"varint,3,opt,name=src_ia,json=srcIa,proto3" json:"src_ia,omitempty"` DstIa uint64 `protobuf:"varint,4,opt,name=dst_ia,json=dstIa,proto3" json:"dst_ia,omitempty"` SrcHost string `protobuf:"bytes,5,opt,name=src_host,json=srcHost,proto3" json:"src_host,omitempty"` // contains filtered or unexported fields }
func (*DRKeyHostASRequest) Descriptor
deprecated
added in
v0.9.0
func (*DRKeyHostASRequest) Descriptor() ([]byte, []int)
Deprecated: Use DRKeyHostASRequest.ProtoReflect.Descriptor instead.
func (*DRKeyHostASRequest) GetDstIa ¶ added in v0.9.0
func (x *DRKeyHostASRequest) GetDstIa() uint64
func (*DRKeyHostASRequest) GetProtocolId ¶ added in v0.9.0
func (x *DRKeyHostASRequest) GetProtocolId() drkey.Protocol
func (*DRKeyHostASRequest) GetSrcHost ¶ added in v0.9.0
func (x *DRKeyHostASRequest) GetSrcHost() string
func (*DRKeyHostASRequest) GetSrcIa ¶ added in v0.9.0
func (x *DRKeyHostASRequest) GetSrcIa() uint64
func (*DRKeyHostASRequest) GetValTime ¶ added in v0.9.0
func (x *DRKeyHostASRequest) GetValTime() *timestamppb.Timestamp
func (*DRKeyHostASRequest) ProtoMessage ¶ added in v0.9.0
func (*DRKeyHostASRequest) ProtoMessage()
func (*DRKeyHostASRequest) ProtoReflect ¶ added in v0.9.0
func (x *DRKeyHostASRequest) ProtoReflect() protoreflect.Message
func (*DRKeyHostASRequest) Reset ¶ added in v0.9.0
func (x *DRKeyHostASRequest) Reset()
func (*DRKeyHostASRequest) String ¶ added in v0.9.0
func (x *DRKeyHostASRequest) String() string
type DRKeyHostASResponse ¶ added in v0.9.0
type DRKeyHostASResponse struct { EpochBegin *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=epoch_begin,json=epochBegin,proto3" json:"epoch_begin,omitempty"` EpochEnd *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=epoch_end,json=epochEnd,proto3" json:"epoch_end,omitempty"` Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DRKeyHostASResponse) Descriptor
deprecated
added in
v0.9.0
func (*DRKeyHostASResponse) Descriptor() ([]byte, []int)
Deprecated: Use DRKeyHostASResponse.ProtoReflect.Descriptor instead.
func (*DRKeyHostASResponse) GetEpochBegin ¶ added in v0.9.0
func (x *DRKeyHostASResponse) GetEpochBegin() *timestamppb.Timestamp
func (*DRKeyHostASResponse) GetEpochEnd ¶ added in v0.9.0
func (x *DRKeyHostASResponse) GetEpochEnd() *timestamppb.Timestamp
func (*DRKeyHostASResponse) GetKey ¶ added in v0.9.0
func (x *DRKeyHostASResponse) GetKey() []byte
func (*DRKeyHostASResponse) ProtoMessage ¶ added in v0.9.0
func (*DRKeyHostASResponse) ProtoMessage()
func (*DRKeyHostASResponse) ProtoReflect ¶ added in v0.9.0
func (x *DRKeyHostASResponse) ProtoReflect() protoreflect.Message
func (*DRKeyHostASResponse) Reset ¶ added in v0.9.0
func (x *DRKeyHostASResponse) Reset()
func (*DRKeyHostASResponse) String ¶ added in v0.9.0
func (x *DRKeyHostASResponse) String() string
type DRKeyHostHostRequest ¶ added in v0.9.0
type DRKeyHostHostRequest struct { ValTime *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=val_time,json=valTime,proto3" json:"val_time,omitempty"` ProtocolId drkey.Protocol `protobuf:"varint,2,opt,name=protocol_id,json=protocolId,proto3,enum=proto.drkey.v1.Protocol" json:"protocol_id,omitempty"` SrcIa uint64 `protobuf:"varint,3,opt,name=src_ia,json=srcIa,proto3" json:"src_ia,omitempty"` DstIa uint64 `protobuf:"varint,4,opt,name=dst_ia,json=dstIa,proto3" json:"dst_ia,omitempty"` SrcHost string `protobuf:"bytes,5,opt,name=src_host,json=srcHost,proto3" json:"src_host,omitempty"` DstHost string `protobuf:"bytes,6,opt,name=dst_host,json=dstHost,proto3" json:"dst_host,omitempty"` // contains filtered or unexported fields }
func (*DRKeyHostHostRequest) Descriptor
deprecated
added in
v0.9.0
func (*DRKeyHostHostRequest) Descriptor() ([]byte, []int)
Deprecated: Use DRKeyHostHostRequest.ProtoReflect.Descriptor instead.
func (*DRKeyHostHostRequest) GetDstHost ¶ added in v0.9.0
func (x *DRKeyHostHostRequest) GetDstHost() string
func (*DRKeyHostHostRequest) GetDstIa ¶ added in v0.9.0
func (x *DRKeyHostHostRequest) GetDstIa() uint64
func (*DRKeyHostHostRequest) GetProtocolId ¶ added in v0.9.0
func (x *DRKeyHostHostRequest) GetProtocolId() drkey.Protocol
func (*DRKeyHostHostRequest) GetSrcHost ¶ added in v0.9.0
func (x *DRKeyHostHostRequest) GetSrcHost() string
func (*DRKeyHostHostRequest) GetSrcIa ¶ added in v0.9.0
func (x *DRKeyHostHostRequest) GetSrcIa() uint64
func (*DRKeyHostHostRequest) GetValTime ¶ added in v0.9.0
func (x *DRKeyHostHostRequest) GetValTime() *timestamppb.Timestamp
func (*DRKeyHostHostRequest) ProtoMessage ¶ added in v0.9.0
func (*DRKeyHostHostRequest) ProtoMessage()
func (*DRKeyHostHostRequest) ProtoReflect ¶ added in v0.9.0
func (x *DRKeyHostHostRequest) ProtoReflect() protoreflect.Message
func (*DRKeyHostHostRequest) Reset ¶ added in v0.9.0
func (x *DRKeyHostHostRequest) Reset()
func (*DRKeyHostHostRequest) String ¶ added in v0.9.0
func (x *DRKeyHostHostRequest) String() string
type DRKeyHostHostResponse ¶ added in v0.9.0
type DRKeyHostHostResponse struct { EpochBegin *timestamppb.Timestamp `protobuf:"bytes,1,opt,name=epoch_begin,json=epochBegin,proto3" json:"epoch_begin,omitempty"` EpochEnd *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=epoch_end,json=epochEnd,proto3" json:"epoch_end,omitempty"` Key []byte `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"` // contains filtered or unexported fields }
func (*DRKeyHostHostResponse) Descriptor
deprecated
added in
v0.9.0
func (*DRKeyHostHostResponse) Descriptor() ([]byte, []int)
Deprecated: Use DRKeyHostHostResponse.ProtoReflect.Descriptor instead.
func (*DRKeyHostHostResponse) GetEpochBegin ¶ added in v0.9.0
func (x *DRKeyHostHostResponse) GetEpochBegin() *timestamppb.Timestamp
func (*DRKeyHostHostResponse) GetEpochEnd ¶ added in v0.9.0
func (x *DRKeyHostHostResponse) GetEpochEnd() *timestamppb.Timestamp
func (*DRKeyHostHostResponse) GetKey ¶ added in v0.9.0
func (x *DRKeyHostHostResponse) GetKey() []byte
func (*DRKeyHostHostResponse) ProtoMessage ¶ added in v0.9.0
func (*DRKeyHostHostResponse) ProtoMessage()
func (*DRKeyHostHostResponse) ProtoReflect ¶ added in v0.9.0
func (x *DRKeyHostHostResponse) ProtoReflect() protoreflect.Message
func (*DRKeyHostHostResponse) Reset ¶ added in v0.9.0
func (x *DRKeyHostHostResponse) Reset()
func (*DRKeyHostHostResponse) String ¶ added in v0.9.0
func (x *DRKeyHostHostResponse) String() string
type DaemonServiceClient ¶
type DaemonServiceClient interface { Paths(ctx context.Context, in *PathsRequest, opts ...grpc.CallOption) (*PathsResponse, error) AS(ctx context.Context, in *ASRequest, opts ...grpc.CallOption) (*ASResponse, error) Interfaces(ctx context.Context, in *InterfacesRequest, opts ...grpc.CallOption) (*InterfacesResponse, error) Services(ctx context.Context, in *ServicesRequest, opts ...grpc.CallOption) (*ServicesResponse, error) NotifyInterfaceDown(ctx context.Context, in *NotifyInterfaceDownRequest, opts ...grpc.CallOption) (*NotifyInterfaceDownResponse, error) PortRange(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*PortRangeResponse, error) DRKeyASHost(ctx context.Context, in *DRKeyASHostRequest, opts ...grpc.CallOption) (*DRKeyASHostResponse, error) DRKeyHostAS(ctx context.Context, in *DRKeyHostASRequest, opts ...grpc.CallOption) (*DRKeyHostASResponse, error) DRKeyHostHost(ctx context.Context, in *DRKeyHostHostRequest, opts ...grpc.CallOption) (*DRKeyHostHostResponse, error) }
DaemonServiceClient is the client API for DaemonService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDaemonServiceClient ¶
func NewDaemonServiceClient(cc grpc.ClientConnInterface) DaemonServiceClient
type DaemonServiceServer ¶
type DaemonServiceServer interface { Paths(context.Context, *PathsRequest) (*PathsResponse, error) AS(context.Context, *ASRequest) (*ASResponse, error) Interfaces(context.Context, *InterfacesRequest) (*InterfacesResponse, error) Services(context.Context, *ServicesRequest) (*ServicesResponse, error) NotifyInterfaceDown(context.Context, *NotifyInterfaceDownRequest) (*NotifyInterfaceDownResponse, error) PortRange(context.Context, *emptypb.Empty) (*PortRangeResponse, error) DRKeyASHost(context.Context, *DRKeyASHostRequest) (*DRKeyASHostResponse, error) DRKeyHostAS(context.Context, *DRKeyHostASRequest) (*DRKeyHostASResponse, error) DRKeyHostHost(context.Context, *DRKeyHostHostRequest) (*DRKeyHostHostResponse, error) }
DaemonServiceServer is the server API for DaemonService service.
type EpicAuths ¶
type EpicAuths struct { AuthPhvf []byte `protobuf:"bytes,1,opt,name=auth_phvf,json=authPhvf,proto3" json:"auth_phvf,omitempty"` AuthLhvf []byte `protobuf:"bytes,2,opt,name=auth_lhvf,json=authLhvf,proto3" json:"auth_lhvf,omitempty"` // contains filtered or unexported fields }
func (*EpicAuths) Descriptor
deprecated
func (*EpicAuths) GetAuthLhvf ¶
func (*EpicAuths) GetAuthPhvf ¶
func (*EpicAuths) ProtoMessage ¶
func (*EpicAuths) ProtoMessage()
func (*EpicAuths) ProtoReflect ¶
func (x *EpicAuths) ProtoReflect() protoreflect.Message
type GeoCoordinates ¶
type GeoCoordinates struct { Latitude float32 `protobuf:"fixed32,1,opt,name=latitude,proto3" json:"latitude,omitempty"` Longitude float32 `protobuf:"fixed32,2,opt,name=longitude,proto3" json:"longitude,omitempty"` Address string `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*GeoCoordinates) Descriptor
deprecated
func (*GeoCoordinates) Descriptor() ([]byte, []int)
Deprecated: Use GeoCoordinates.ProtoReflect.Descriptor instead.
func (*GeoCoordinates) GetAddress ¶
func (x *GeoCoordinates) GetAddress() string
func (*GeoCoordinates) GetLatitude ¶
func (x *GeoCoordinates) GetLatitude() float32
func (*GeoCoordinates) GetLongitude ¶
func (x *GeoCoordinates) GetLongitude() float32
func (*GeoCoordinates) ProtoMessage ¶
func (*GeoCoordinates) ProtoMessage()
func (*GeoCoordinates) ProtoReflect ¶
func (x *GeoCoordinates) ProtoReflect() protoreflect.Message
func (*GeoCoordinates) Reset ¶
func (x *GeoCoordinates) Reset()
func (*GeoCoordinates) String ¶
func (x *GeoCoordinates) String() string
type Interface ¶
type Interface struct { Address *Underlay `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*Interface) Descriptor
deprecated
func (*Interface) GetAddress ¶
func (*Interface) ProtoMessage ¶
func (*Interface) ProtoMessage()
func (*Interface) ProtoReflect ¶
func (x *Interface) ProtoReflect() protoreflect.Message
type InterfacesRequest ¶
type InterfacesRequest struct {
// contains filtered or unexported fields
}
func (*InterfacesRequest) Descriptor
deprecated
func (*InterfacesRequest) Descriptor() ([]byte, []int)
Deprecated: Use InterfacesRequest.ProtoReflect.Descriptor instead.
func (*InterfacesRequest) ProtoMessage ¶
func (*InterfacesRequest) ProtoMessage()
func (*InterfacesRequest) ProtoReflect ¶
func (x *InterfacesRequest) ProtoReflect() protoreflect.Message
func (*InterfacesRequest) Reset ¶
func (x *InterfacesRequest) Reset()
func (*InterfacesRequest) String ¶
func (x *InterfacesRequest) String() string
type InterfacesResponse ¶
type InterfacesResponse struct { Interfaces map[uint64]*Interface `` /* 162-byte string literal not displayed */ // contains filtered or unexported fields }
func (*InterfacesResponse) Descriptor
deprecated
func (*InterfacesResponse) Descriptor() ([]byte, []int)
Deprecated: Use InterfacesResponse.ProtoReflect.Descriptor instead.
func (*InterfacesResponse) GetInterfaces ¶
func (x *InterfacesResponse) GetInterfaces() map[uint64]*Interface
func (*InterfacesResponse) ProtoMessage ¶
func (*InterfacesResponse) ProtoMessage()
func (*InterfacesResponse) ProtoReflect ¶
func (x *InterfacesResponse) ProtoReflect() protoreflect.Message
func (*InterfacesResponse) Reset ¶
func (x *InterfacesResponse) Reset()
func (*InterfacesResponse) String ¶
func (x *InterfacesResponse) String() string
type LinkType ¶
type LinkType int32
func (LinkType) Descriptor ¶
func (LinkType) Descriptor() protoreflect.EnumDescriptor
func (LinkType) EnumDescriptor
deprecated
func (LinkType) Number ¶
func (x LinkType) Number() protoreflect.EnumNumber
func (LinkType) Type ¶
func (LinkType) Type() protoreflect.EnumType
type ListService ¶
type ListService struct { Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"` // contains filtered or unexported fields }
func (*ListService) Descriptor
deprecated
func (*ListService) Descriptor() ([]byte, []int)
Deprecated: Use ListService.ProtoReflect.Descriptor instead.
func (*ListService) GetServices ¶
func (x *ListService) GetServices() []*Service
func (*ListService) ProtoMessage ¶
func (*ListService) ProtoMessage()
func (*ListService) ProtoReflect ¶
func (x *ListService) ProtoReflect() protoreflect.Message
func (*ListService) Reset ¶
func (x *ListService) Reset()
func (*ListService) String ¶
func (x *ListService) String() string
type NotifyInterfaceDownRequest ¶
type NotifyInterfaceDownRequest struct { IsdAs uint64 `protobuf:"varint,1,opt,name=isd_as,json=isdAs,proto3" json:"isd_as,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*NotifyInterfaceDownRequest) Descriptor
deprecated
func (*NotifyInterfaceDownRequest) Descriptor() ([]byte, []int)
Deprecated: Use NotifyInterfaceDownRequest.ProtoReflect.Descriptor instead.
func (*NotifyInterfaceDownRequest) GetId ¶
func (x *NotifyInterfaceDownRequest) GetId() uint64
func (*NotifyInterfaceDownRequest) GetIsdAs ¶
func (x *NotifyInterfaceDownRequest) GetIsdAs() uint64
func (*NotifyInterfaceDownRequest) ProtoMessage ¶
func (*NotifyInterfaceDownRequest) ProtoMessage()
func (*NotifyInterfaceDownRequest) ProtoReflect ¶
func (x *NotifyInterfaceDownRequest) ProtoReflect() protoreflect.Message
func (*NotifyInterfaceDownRequest) Reset ¶
func (x *NotifyInterfaceDownRequest) Reset()
func (*NotifyInterfaceDownRequest) String ¶
func (x *NotifyInterfaceDownRequest) String() string
type NotifyInterfaceDownResponse ¶
type NotifyInterfaceDownResponse struct {
// contains filtered or unexported fields
}
func (*NotifyInterfaceDownResponse) Descriptor
deprecated
func (*NotifyInterfaceDownResponse) Descriptor() ([]byte, []int)
Deprecated: Use NotifyInterfaceDownResponse.ProtoReflect.Descriptor instead.
func (*NotifyInterfaceDownResponse) ProtoMessage ¶
func (*NotifyInterfaceDownResponse) ProtoMessage()
func (*NotifyInterfaceDownResponse) ProtoReflect ¶
func (x *NotifyInterfaceDownResponse) ProtoReflect() protoreflect.Message
func (*NotifyInterfaceDownResponse) Reset ¶
func (x *NotifyInterfaceDownResponse) Reset()
func (*NotifyInterfaceDownResponse) String ¶
func (x *NotifyInterfaceDownResponse) String() string
type Path ¶
type Path struct { Raw []byte `protobuf:"bytes,1,opt,name=raw,proto3" json:"raw,omitempty"` Interface *Interface `protobuf:"bytes,2,opt,name=interface,proto3" json:"interface,omitempty"` Interfaces []*PathInterface `protobuf:"bytes,3,rep,name=interfaces,proto3" json:"interfaces,omitempty"` Mtu uint32 `protobuf:"varint,4,opt,name=mtu,proto3" json:"mtu,omitempty"` Expiration *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=expiration,proto3" json:"expiration,omitempty"` Latency []*durationpb.Duration `protobuf:"bytes,6,rep,name=latency,proto3" json:"latency,omitempty"` Bandwidth []uint64 `protobuf:"varint,7,rep,packed,name=bandwidth,proto3" json:"bandwidth,omitempty"` Geo []*GeoCoordinates `protobuf:"bytes,8,rep,name=geo,proto3" json:"geo,omitempty"` LinkType []LinkType `protobuf:"varint,9,rep,packed,name=link_type,json=linkType,proto3,enum=proto.daemon.v1.LinkType" json:"link_type,omitempty"` InternalHops []uint32 `protobuf:"varint,10,rep,packed,name=internal_hops,json=internalHops,proto3" json:"internal_hops,omitempty"` Notes []string `protobuf:"bytes,11,rep,name=notes,proto3" json:"notes,omitempty"` EpicAuths *EpicAuths `protobuf:"bytes,12,opt,name=epic_auths,json=epicAuths,proto3" json:"epic_auths,omitempty"` // contains filtered or unexported fields }
func (*Path) Descriptor
deprecated
func (*Path) GetBandwidth ¶
func (*Path) GetEpicAuths ¶
func (*Path) GetExpiration ¶
func (x *Path) GetExpiration() *timestamppb.Timestamp
func (*Path) GetGeo ¶
func (x *Path) GetGeo() []*GeoCoordinates
func (*Path) GetInterface ¶
func (*Path) GetInterfaces ¶
func (x *Path) GetInterfaces() []*PathInterface
func (*Path) GetInternalHops ¶
func (*Path) GetLatency ¶
func (x *Path) GetLatency() []*durationpb.Duration
func (*Path) GetLinkType ¶
func (*Path) ProtoMessage ¶
func (*Path) ProtoMessage()
func (*Path) ProtoReflect ¶
func (x *Path) ProtoReflect() protoreflect.Message
type PathInterface ¶
type PathInterface struct { IsdAs uint64 `protobuf:"varint,1,opt,name=isd_as,json=isdAs,proto3" json:"isd_as,omitempty"` Id uint64 `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PathInterface) Descriptor
deprecated
func (*PathInterface) Descriptor() ([]byte, []int)
Deprecated: Use PathInterface.ProtoReflect.Descriptor instead.
func (*PathInterface) GetId ¶
func (x *PathInterface) GetId() uint64
func (*PathInterface) GetIsdAs ¶
func (x *PathInterface) GetIsdAs() uint64
func (*PathInterface) ProtoMessage ¶
func (*PathInterface) ProtoMessage()
func (*PathInterface) ProtoReflect ¶
func (x *PathInterface) ProtoReflect() protoreflect.Message
func (*PathInterface) Reset ¶
func (x *PathInterface) Reset()
func (*PathInterface) String ¶
func (x *PathInterface) String() string
type PathsRequest ¶
type PathsRequest struct { SourceIsdAs uint64 `protobuf:"varint,1,opt,name=source_isd_as,json=sourceIsdAs,proto3" json:"source_isd_as,omitempty"` DestinationIsdAs uint64 `protobuf:"varint,2,opt,name=destination_isd_as,json=destinationIsdAs,proto3" json:"destination_isd_as,omitempty"` Refresh bool `protobuf:"varint,3,opt,name=refresh,proto3" json:"refresh,omitempty"` Hidden bool `protobuf:"varint,4,opt,name=hidden,proto3" json:"hidden,omitempty"` // contains filtered or unexported fields }
func (*PathsRequest) Descriptor
deprecated
func (*PathsRequest) Descriptor() ([]byte, []int)
Deprecated: Use PathsRequest.ProtoReflect.Descriptor instead.
func (*PathsRequest) GetDestinationIsdAs ¶
func (x *PathsRequest) GetDestinationIsdAs() uint64
func (*PathsRequest) GetHidden ¶
func (x *PathsRequest) GetHidden() bool
func (*PathsRequest) GetRefresh ¶
func (x *PathsRequest) GetRefresh() bool
func (*PathsRequest) GetSourceIsdAs ¶
func (x *PathsRequest) GetSourceIsdAs() uint64
func (*PathsRequest) ProtoMessage ¶
func (*PathsRequest) ProtoMessage()
func (*PathsRequest) ProtoReflect ¶
func (x *PathsRequest) ProtoReflect() protoreflect.Message
func (*PathsRequest) Reset ¶
func (x *PathsRequest) Reset()
func (*PathsRequest) String ¶
func (x *PathsRequest) String() string
type PathsResponse ¶
type PathsResponse struct { Paths []*Path `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` // contains filtered or unexported fields }
func (*PathsResponse) Descriptor
deprecated
func (*PathsResponse) Descriptor() ([]byte, []int)
Deprecated: Use PathsResponse.ProtoReflect.Descriptor instead.
func (*PathsResponse) GetPaths ¶
func (x *PathsResponse) GetPaths() []*Path
func (*PathsResponse) ProtoMessage ¶
func (*PathsResponse) ProtoMessage()
func (*PathsResponse) ProtoReflect ¶
func (x *PathsResponse) ProtoReflect() protoreflect.Message
func (*PathsResponse) Reset ¶
func (x *PathsResponse) Reset()
func (*PathsResponse) String ¶
func (x *PathsResponse) String() string
type PortRangeResponse ¶ added in v0.12.0
type PortRangeResponse struct { DispatchedPortStart uint32 `protobuf:"varint,1,opt,name=dispatched_port_start,json=dispatchedPortStart,proto3" json:"dispatched_port_start,omitempty"` DispatchedPortEnd uint32 `protobuf:"varint,2,opt,name=dispatched_port_end,json=dispatchedPortEnd,proto3" json:"dispatched_port_end,omitempty"` // contains filtered or unexported fields }
func (*PortRangeResponse) Descriptor
deprecated
added in
v0.12.0
func (*PortRangeResponse) Descriptor() ([]byte, []int)
Deprecated: Use PortRangeResponse.ProtoReflect.Descriptor instead.
func (*PortRangeResponse) GetDispatchedPortEnd ¶ added in v0.12.0
func (x *PortRangeResponse) GetDispatchedPortEnd() uint32
func (*PortRangeResponse) GetDispatchedPortStart ¶ added in v0.12.0
func (x *PortRangeResponse) GetDispatchedPortStart() uint32
func (*PortRangeResponse) ProtoMessage ¶ added in v0.12.0
func (*PortRangeResponse) ProtoMessage()
func (*PortRangeResponse) ProtoReflect ¶ added in v0.12.0
func (x *PortRangeResponse) ProtoReflect() protoreflect.Message
func (*PortRangeResponse) Reset ¶ added in v0.12.0
func (x *PortRangeResponse) Reset()
func (*PortRangeResponse) String ¶ added in v0.12.0
func (x *PortRangeResponse) String() string
type Service ¶
type Service struct { Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"` // contains filtered or unexported fields }
func (*Service) Descriptor
deprecated
func (*Service) ProtoMessage ¶
func (*Service) ProtoMessage()
func (*Service) ProtoReflect ¶
func (x *Service) ProtoReflect() protoreflect.Message
type ServicesRequest ¶
type ServicesRequest struct {
// contains filtered or unexported fields
}
func (*ServicesRequest) Descriptor
deprecated
func (*ServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use ServicesRequest.ProtoReflect.Descriptor instead.
func (*ServicesRequest) ProtoMessage ¶
func (*ServicesRequest) ProtoMessage()
func (*ServicesRequest) ProtoReflect ¶
func (x *ServicesRequest) ProtoReflect() protoreflect.Message
func (*ServicesRequest) Reset ¶
func (x *ServicesRequest) Reset()
func (*ServicesRequest) String ¶
func (x *ServicesRequest) String() string
type ServicesResponse ¶
type ServicesResponse struct { Services map[string]*ListService `` /* 157-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ServicesResponse) Descriptor
deprecated
func (*ServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use ServicesResponse.ProtoReflect.Descriptor instead.
func (*ServicesResponse) GetServices ¶
func (x *ServicesResponse) GetServices() map[string]*ListService
func (*ServicesResponse) ProtoMessage ¶
func (*ServicesResponse) ProtoMessage()
func (*ServicesResponse) ProtoReflect ¶
func (x *ServicesResponse) ProtoReflect() protoreflect.Message
func (*ServicesResponse) Reset ¶
func (x *ServicesResponse) Reset()
func (*ServicesResponse) String ¶
func (x *ServicesResponse) String() string
type Underlay ¶
type Underlay struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*Underlay) Descriptor
deprecated
func (*Underlay) GetAddress ¶
func (*Underlay) ProtoMessage ¶
func (*Underlay) ProtoMessage()
func (*Underlay) ProtoReflect ¶
func (x *Underlay) ProtoReflect() protoreflect.Message
type UnimplementedDaemonServiceServer ¶
type UnimplementedDaemonServiceServer struct { }
UnimplementedDaemonServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedDaemonServiceServer) AS ¶
func (*UnimplementedDaemonServiceServer) AS(context.Context, *ASRequest) (*ASResponse, error)
func (*UnimplementedDaemonServiceServer) DRKeyASHost ¶ added in v0.9.0
func (*UnimplementedDaemonServiceServer) DRKeyASHost(context.Context, *DRKeyASHostRequest) (*DRKeyASHostResponse, error)
func (*UnimplementedDaemonServiceServer) DRKeyHostAS ¶ added in v0.9.0
func (*UnimplementedDaemonServiceServer) DRKeyHostAS(context.Context, *DRKeyHostASRequest) (*DRKeyHostASResponse, error)
func (*UnimplementedDaemonServiceServer) DRKeyHostHost ¶ added in v0.9.0
func (*UnimplementedDaemonServiceServer) DRKeyHostHost(context.Context, *DRKeyHostHostRequest) (*DRKeyHostHostResponse, error)
func (*UnimplementedDaemonServiceServer) Interfaces ¶
func (*UnimplementedDaemonServiceServer) Interfaces(context.Context, *InterfacesRequest) (*InterfacesResponse, error)
func (*UnimplementedDaemonServiceServer) NotifyInterfaceDown ¶
func (*UnimplementedDaemonServiceServer) NotifyInterfaceDown(context.Context, *NotifyInterfaceDownRequest) (*NotifyInterfaceDownResponse, error)
func (*UnimplementedDaemonServiceServer) Paths ¶
func (*UnimplementedDaemonServiceServer) Paths(context.Context, *PathsRequest) (*PathsResponse, error)
func (*UnimplementedDaemonServiceServer) PortRange ¶ added in v0.12.0
func (*UnimplementedDaemonServiceServer) PortRange(context.Context, *emptypb.Empty) (*PortRangeResponse, error)
func (*UnimplementedDaemonServiceServer) Services ¶
func (*UnimplementedDaemonServiceServer) Services(context.Context, *ServicesRequest) (*ServicesResponse, error)