Documentation ¶
Index ¶
- Variables
- func RegisterDiscoveryServiceServer(s *grpc.Server, srv DiscoveryServiceServer)
- type DiscoveryServiceClient
- type DiscoveryServiceServer
- type Gateway
- func (*Gateway) Descriptor() ([]byte, []int)deprecated
- func (x *Gateway) GetAllowInterfaces() []uint64
- func (x *Gateway) GetControlAddress() string
- func (x *Gateway) GetDataAddress() string
- func (x *Gateway) GetProbeAddress() string
- func (*Gateway) ProtoMessage()
- func (x *Gateway) ProtoReflect() protoreflect.Message
- func (x *Gateway) Reset()
- func (x *Gateway) String() string
- type GatewaysRequest
- type GatewaysResponse
- type HiddenSegmentLookupServer
- func (*HiddenSegmentLookupServer) Descriptor() ([]byte, []int)deprecated
- func (x *HiddenSegmentLookupServer) GetAddress() string
- func (*HiddenSegmentLookupServer) ProtoMessage()
- func (x *HiddenSegmentLookupServer) ProtoReflect() protoreflect.Message
- func (x *HiddenSegmentLookupServer) Reset()
- func (x *HiddenSegmentLookupServer) String() string
- type HiddenSegmentRegistrationServer
- func (*HiddenSegmentRegistrationServer) Descriptor() ([]byte, []int)deprecated
- func (x *HiddenSegmentRegistrationServer) GetAddress() string
- func (*HiddenSegmentRegistrationServer) ProtoMessage()
- func (x *HiddenSegmentRegistrationServer) ProtoReflect() protoreflect.Message
- func (x *HiddenSegmentRegistrationServer) Reset()
- func (x *HiddenSegmentRegistrationServer) String() string
- type HiddenSegmentServicesRequest
- func (*HiddenSegmentServicesRequest) Descriptor() ([]byte, []int)deprecated
- func (*HiddenSegmentServicesRequest) ProtoMessage()
- func (x *HiddenSegmentServicesRequest) ProtoReflect() protoreflect.Message
- func (x *HiddenSegmentServicesRequest) Reset()
- func (x *HiddenSegmentServicesRequest) String() string
- type HiddenSegmentServicesResponse
- func (*HiddenSegmentServicesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *HiddenSegmentServicesResponse) GetLookup() []*HiddenSegmentLookupServer
- func (x *HiddenSegmentServicesResponse) GetRegistration() []*HiddenSegmentRegistrationServer
- func (*HiddenSegmentServicesResponse) ProtoMessage()
- func (x *HiddenSegmentServicesResponse) ProtoReflect() protoreflect.Message
- func (x *HiddenSegmentServicesResponse) Reset()
- func (x *HiddenSegmentServicesResponse) String() string
- type UnimplementedDiscoveryServiceServer
Constants ¶
This section is empty.
Variables ¶
var File_proto_discovery_v1_discovery_proto protoreflect.FileDescriptor
Functions ¶
func RegisterDiscoveryServiceServer ¶
func RegisterDiscoveryServiceServer(s *grpc.Server, srv DiscoveryServiceServer)
Types ¶
type DiscoveryServiceClient ¶
type DiscoveryServiceClient interface { Gateways(ctx context.Context, in *GatewaysRequest, opts ...grpc.CallOption) (*GatewaysResponse, error) HiddenSegmentServices(ctx context.Context, in *HiddenSegmentServicesRequest, opts ...grpc.CallOption) (*HiddenSegmentServicesResponse, error) }
DiscoveryServiceClient is the client API for DiscoveryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDiscoveryServiceClient ¶
func NewDiscoveryServiceClient(cc grpc.ClientConnInterface) DiscoveryServiceClient
type DiscoveryServiceServer ¶
type DiscoveryServiceServer interface { Gateways(context.Context, *GatewaysRequest) (*GatewaysResponse, error) HiddenSegmentServices(context.Context, *HiddenSegmentServicesRequest) (*HiddenSegmentServicesResponse, error) }
DiscoveryServiceServer is the server API for DiscoveryService service.
type Gateway ¶
type Gateway struct { ControlAddress string `protobuf:"bytes,1,opt,name=control_address,json=controlAddress,proto3" json:"control_address,omitempty"` DataAddress string `protobuf:"bytes,2,opt,name=data_address,json=dataAddress,proto3" json:"data_address,omitempty"` ProbeAddress string `protobuf:"bytes,3,opt,name=probe_address,json=probeAddress,proto3" json:"probe_address,omitempty"` AllowInterfaces []uint64 `protobuf:"varint,4,rep,packed,name=allow_interfaces,json=allowInterfaces,proto3" json:"allow_interfaces,omitempty"` // contains filtered or unexported fields }
func (*Gateway) Descriptor
deprecated
func (*Gateway) GetAllowInterfaces ¶
func (*Gateway) GetControlAddress ¶
func (*Gateway) GetDataAddress ¶
func (*Gateway) GetProbeAddress ¶
func (*Gateway) ProtoMessage ¶
func (*Gateway) ProtoMessage()
func (*Gateway) ProtoReflect ¶
func (x *Gateway) ProtoReflect() protoreflect.Message
type GatewaysRequest ¶
type GatewaysRequest struct {
// contains filtered or unexported fields
}
func (*GatewaysRequest) Descriptor
deprecated
func (*GatewaysRequest) Descriptor() ([]byte, []int)
Deprecated: Use GatewaysRequest.ProtoReflect.Descriptor instead.
func (*GatewaysRequest) ProtoMessage ¶
func (*GatewaysRequest) ProtoMessage()
func (*GatewaysRequest) ProtoReflect ¶
func (x *GatewaysRequest) ProtoReflect() protoreflect.Message
func (*GatewaysRequest) Reset ¶
func (x *GatewaysRequest) Reset()
func (*GatewaysRequest) String ¶
func (x *GatewaysRequest) String() string
type GatewaysResponse ¶
type GatewaysResponse struct { Gateways []*Gateway `protobuf:"bytes,1,rep,name=gateways,proto3" json:"gateways,omitempty"` // contains filtered or unexported fields }
func (*GatewaysResponse) Descriptor
deprecated
func (*GatewaysResponse) Descriptor() ([]byte, []int)
Deprecated: Use GatewaysResponse.ProtoReflect.Descriptor instead.
func (*GatewaysResponse) GetGateways ¶
func (x *GatewaysResponse) GetGateways() []*Gateway
func (*GatewaysResponse) ProtoMessage ¶
func (*GatewaysResponse) ProtoMessage()
func (*GatewaysResponse) ProtoReflect ¶
func (x *GatewaysResponse) ProtoReflect() protoreflect.Message
func (*GatewaysResponse) Reset ¶
func (x *GatewaysResponse) Reset()
func (*GatewaysResponse) String ¶
func (x *GatewaysResponse) String() string
type HiddenSegmentLookupServer ¶
type HiddenSegmentLookupServer struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*HiddenSegmentLookupServer) Descriptor
deprecated
func (*HiddenSegmentLookupServer) Descriptor() ([]byte, []int)
Deprecated: Use HiddenSegmentLookupServer.ProtoReflect.Descriptor instead.
func (*HiddenSegmentLookupServer) GetAddress ¶
func (x *HiddenSegmentLookupServer) GetAddress() string
func (*HiddenSegmentLookupServer) ProtoMessage ¶
func (*HiddenSegmentLookupServer) ProtoMessage()
func (*HiddenSegmentLookupServer) ProtoReflect ¶
func (x *HiddenSegmentLookupServer) ProtoReflect() protoreflect.Message
func (*HiddenSegmentLookupServer) Reset ¶
func (x *HiddenSegmentLookupServer) Reset()
func (*HiddenSegmentLookupServer) String ¶
func (x *HiddenSegmentLookupServer) String() string
type HiddenSegmentRegistrationServer ¶
type HiddenSegmentRegistrationServer struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // contains filtered or unexported fields }
func (*HiddenSegmentRegistrationServer) Descriptor
deprecated
func (*HiddenSegmentRegistrationServer) Descriptor() ([]byte, []int)
Deprecated: Use HiddenSegmentRegistrationServer.ProtoReflect.Descriptor instead.
func (*HiddenSegmentRegistrationServer) GetAddress ¶
func (x *HiddenSegmentRegistrationServer) GetAddress() string
func (*HiddenSegmentRegistrationServer) ProtoMessage ¶
func (*HiddenSegmentRegistrationServer) ProtoMessage()
func (*HiddenSegmentRegistrationServer) ProtoReflect ¶
func (x *HiddenSegmentRegistrationServer) ProtoReflect() protoreflect.Message
func (*HiddenSegmentRegistrationServer) Reset ¶
func (x *HiddenSegmentRegistrationServer) Reset()
func (*HiddenSegmentRegistrationServer) String ¶
func (x *HiddenSegmentRegistrationServer) String() string
type HiddenSegmentServicesRequest ¶
type HiddenSegmentServicesRequest struct {
// contains filtered or unexported fields
}
func (*HiddenSegmentServicesRequest) Descriptor
deprecated
func (*HiddenSegmentServicesRequest) Descriptor() ([]byte, []int)
Deprecated: Use HiddenSegmentServicesRequest.ProtoReflect.Descriptor instead.
func (*HiddenSegmentServicesRequest) ProtoMessage ¶
func (*HiddenSegmentServicesRequest) ProtoMessage()
func (*HiddenSegmentServicesRequest) ProtoReflect ¶
func (x *HiddenSegmentServicesRequest) ProtoReflect() protoreflect.Message
func (*HiddenSegmentServicesRequest) Reset ¶
func (x *HiddenSegmentServicesRequest) Reset()
func (*HiddenSegmentServicesRequest) String ¶
func (x *HiddenSegmentServicesRequest) String() string
type HiddenSegmentServicesResponse ¶
type HiddenSegmentServicesResponse struct { Lookup []*HiddenSegmentLookupServer `protobuf:"bytes,1,rep,name=lookup,proto3" json:"lookup,omitempty"` Registration []*HiddenSegmentRegistrationServer `protobuf:"bytes,2,rep,name=registration,proto3" json:"registration,omitempty"` // contains filtered or unexported fields }
func (*HiddenSegmentServicesResponse) Descriptor
deprecated
func (*HiddenSegmentServicesResponse) Descriptor() ([]byte, []int)
Deprecated: Use HiddenSegmentServicesResponse.ProtoReflect.Descriptor instead.
func (*HiddenSegmentServicesResponse) GetLookup ¶
func (x *HiddenSegmentServicesResponse) GetLookup() []*HiddenSegmentLookupServer
func (*HiddenSegmentServicesResponse) GetRegistration ¶
func (x *HiddenSegmentServicesResponse) GetRegistration() []*HiddenSegmentRegistrationServer
func (*HiddenSegmentServicesResponse) ProtoMessage ¶
func (*HiddenSegmentServicesResponse) ProtoMessage()
func (*HiddenSegmentServicesResponse) ProtoReflect ¶
func (x *HiddenSegmentServicesResponse) ProtoReflect() protoreflect.Message
func (*HiddenSegmentServicesResponse) Reset ¶
func (x *HiddenSegmentServicesResponse) Reset()
func (*HiddenSegmentServicesResponse) String ¶
func (x *HiddenSegmentServicesResponse) String() string
type UnimplementedDiscoveryServiceServer ¶
type UnimplementedDiscoveryServiceServer struct { }
UnimplementedDiscoveryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedDiscoveryServiceServer) Gateways ¶
func (*UnimplementedDiscoveryServiceServer) Gateways(context.Context, *GatewaysRequest) (*GatewaysResponse, error)
func (*UnimplementedDiscoveryServiceServer) HiddenSegmentServices ¶
func (*UnimplementedDiscoveryServiceServer) HiddenSegmentServices(context.Context, *HiddenSegmentServicesRequest) (*HiddenSegmentServicesResponse, error)
Directories ¶
Path | Synopsis |
---|---|
Package mock_discovery is a generated GoMock package.
|
Package mock_discovery is a generated GoMock package. |
v1
|
|