Documentation ¶
Index ¶
- Variables
- func RegisterEndpointDiscoveryServiceServer(s *grpc.Server, srv EndpointDiscoveryServiceServer)
- type EdsDummy
- func (*EdsDummy) Descriptor() ([]byte, []int)
- func (m *EdsDummy) Marshal() (dAtA []byte, err error)
- func (m *EdsDummy) MarshalTo(dAtA []byte) (int, error)
- func (m *EdsDummy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*EdsDummy) ProtoMessage()
- func (m *EdsDummy) Reset()
- func (m *EdsDummy) Size() (n int)
- func (m *EdsDummy) String() string
- func (m *EdsDummy) Unmarshal(dAtA []byte) error
- func (m *EdsDummy) Validate() error
- func (m *EdsDummy) XXX_DiscardUnknown()
- func (m *EdsDummy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *EdsDummy) XXX_Merge(src proto.Message)
- func (m *EdsDummy) XXX_Size() int
- func (m *EdsDummy) XXX_Unmarshal(b []byte) error
- type EdsDummyValidationError
- type EndpointDiscoveryServiceClient
- type EndpointDiscoveryServiceServer
- type EndpointDiscoveryService_DeltaEndpointsClient
- type EndpointDiscoveryService_DeltaEndpointsServer
- type EndpointDiscoveryService_StreamEndpointsClient
- type EndpointDiscoveryService_StreamEndpointsServer
- type UnimplementedEndpointDiscoveryServiceServer
- func (*UnimplementedEndpointDiscoveryServiceServer) DeltaEndpoints(srv EndpointDiscoveryService_DeltaEndpointsServer) error
- func (*UnimplementedEndpointDiscoveryServiceServer) FetchEndpoints(ctx context.Context, req *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
- func (*UnimplementedEndpointDiscoveryServiceServer) StreamEndpoints(srv EndpointDiscoveryService_StreamEndpointsServer) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterEndpointDiscoveryServiceServer ¶
func RegisterEndpointDiscoveryServiceServer(s *grpc.Server, srv EndpointDiscoveryServiceServer)
Types ¶
type EdsDummy ¶
type EdsDummy struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
[#not-implemented-hide:] Not configuration. Workaround c++ protobuf issue with importing services: https://github.com/google/protobuf/issues/4221 and protoxform to upgrade the file.
func (*EdsDummy) Descriptor ¶
func (*EdsDummy) MarshalToSizedBuffer ¶
func (*EdsDummy) ProtoMessage ¶
func (*EdsDummy) ProtoMessage()
func (*EdsDummy) Validate ¶
Validate checks the field values on EdsDummy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*EdsDummy) XXX_DiscardUnknown ¶
func (m *EdsDummy) XXX_DiscardUnknown()
func (*EdsDummy) XXX_Marshal ¶
func (*EdsDummy) XXX_Unmarshal ¶
type EdsDummyValidationError ¶
type EdsDummyValidationError struct {
// contains filtered or unexported fields
}
EdsDummyValidationError is the validation error returned by EdsDummy.Validate if the designated constraints aren't met.
func (EdsDummyValidationError) Cause ¶
func (e EdsDummyValidationError) Cause() error
Cause function returns cause value.
func (EdsDummyValidationError) Error ¶
func (e EdsDummyValidationError) Error() string
Error satisfies the builtin error interface
func (EdsDummyValidationError) ErrorName ¶
func (e EdsDummyValidationError) ErrorName() string
ErrorName returns error name.
func (EdsDummyValidationError) Field ¶
func (e EdsDummyValidationError) Field() string
Field function returns field value.
func (EdsDummyValidationError) Key ¶
func (e EdsDummyValidationError) Key() bool
Key function returns key value.
func (EdsDummyValidationError) Reason ¶
func (e EdsDummyValidationError) Reason() string
Reason function returns reason value.
type EndpointDiscoveryServiceClient ¶
type EndpointDiscoveryServiceClient interface { // The resource_names field in DiscoveryRequest specifies a list of clusters // to subscribe to updates for. StreamEndpoints(ctx context.Context, opts ...grpc.CallOption) (EndpointDiscoveryService_StreamEndpointsClient, error) DeltaEndpoints(ctx context.Context, opts ...grpc.CallOption) (EndpointDiscoveryService_DeltaEndpointsClient, error) FetchEndpoints(ctx context.Context, in *v3.DiscoveryRequest, opts ...grpc.CallOption) (*v3.DiscoveryResponse, error) }
EndpointDiscoveryServiceClient is the client API for EndpointDiscoveryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewEndpointDiscoveryServiceClient ¶
func NewEndpointDiscoveryServiceClient(cc *grpc.ClientConn) EndpointDiscoveryServiceClient
type EndpointDiscoveryServiceServer ¶
type EndpointDiscoveryServiceServer interface { // The resource_names field in DiscoveryRequest specifies a list of clusters // to subscribe to updates for. StreamEndpoints(EndpointDiscoveryService_StreamEndpointsServer) error DeltaEndpoints(EndpointDiscoveryService_DeltaEndpointsServer) error FetchEndpoints(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error) }
EndpointDiscoveryServiceServer is the server API for EndpointDiscoveryService service.
type EndpointDiscoveryService_DeltaEndpointsClient ¶
type EndpointDiscoveryService_DeltaEndpointsClient interface { Send(*v3.DeltaDiscoveryRequest) error Recv() (*v3.DeltaDiscoveryResponse, error) grpc.ClientStream }
type EndpointDiscoveryService_DeltaEndpointsServer ¶
type EndpointDiscoveryService_DeltaEndpointsServer interface { Send(*v3.DeltaDiscoveryResponse) error Recv() (*v3.DeltaDiscoveryRequest, error) grpc.ServerStream }
type EndpointDiscoveryService_StreamEndpointsClient ¶
type EndpointDiscoveryService_StreamEndpointsClient interface { Send(*v3.DiscoveryRequest) error Recv() (*v3.DiscoveryResponse, error) grpc.ClientStream }
type EndpointDiscoveryService_StreamEndpointsServer ¶
type EndpointDiscoveryService_StreamEndpointsServer interface { Send(*v3.DiscoveryResponse) error Recv() (*v3.DiscoveryRequest, error) grpc.ServerStream }
type UnimplementedEndpointDiscoveryServiceServer ¶
type UnimplementedEndpointDiscoveryServiceServer struct { }
UnimplementedEndpointDiscoveryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedEndpointDiscoveryServiceServer) DeltaEndpoints ¶
func (*UnimplementedEndpointDiscoveryServiceServer) DeltaEndpoints(srv EndpointDiscoveryService_DeltaEndpointsServer) error
func (*UnimplementedEndpointDiscoveryServiceServer) FetchEndpoints ¶
func (*UnimplementedEndpointDiscoveryServiceServer) FetchEndpoints(ctx context.Context, req *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
func (*UnimplementedEndpointDiscoveryServiceServer) StreamEndpoints ¶
func (*UnimplementedEndpointDiscoveryServiceServer) StreamEndpoints(srv EndpointDiscoveryService_StreamEndpointsServer) error