discovery

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

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

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

Deprecated: Use Gateway.ProtoReflect.Descriptor instead.

func (*Gateway) GetAllowInterfaces

func (x *Gateway) GetAllowInterfaces() []uint64

func (*Gateway) GetControlAddress

func (x *Gateway) GetControlAddress() string

func (*Gateway) GetDataAddress

func (x *Gateway) GetDataAddress() string

func (*Gateway) GetProbeAddress

func (x *Gateway) GetProbeAddress() string

func (*Gateway) ProtoMessage

func (*Gateway) ProtoMessage()

func (*Gateway) ProtoReflect

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

func (*Gateway) Reset

func (x *Gateway) Reset()

func (*Gateway) String

func (x *Gateway) String() string

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 (*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 (*HiddenSegmentRegistrationServer) Reset

func (*HiddenSegmentRegistrationServer) 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 (*HiddenSegmentServicesRequest) Reset

func (x *HiddenSegmentServicesRequest) Reset()

func (*HiddenSegmentServicesRequest) 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 (*HiddenSegmentServicesResponse) GetRegistration

func (*HiddenSegmentServicesResponse) ProtoMessage

func (*HiddenSegmentServicesResponse) ProtoMessage()

func (*HiddenSegmentServicesResponse) ProtoReflect

func (*HiddenSegmentServicesResponse) Reset

func (x *HiddenSegmentServicesResponse) Reset()

func (*HiddenSegmentServicesResponse) String

type UnimplementedDiscoveryServiceServer

type UnimplementedDiscoveryServiceServer struct {
}

UnimplementedDiscoveryServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedDiscoveryServiceServer) Gateways

func (*UnimplementedDiscoveryServiceServer) HiddenSegmentServices

Directories

Path Synopsis
Package mock_discovery is a generated GoMock package.
Package mock_discovery is a generated GoMock package.
v1

Jump to

Keyboard shortcuts

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