Documentation ¶
Index ¶
- Variables
- func RegisterClusterDiscoveryServiceServer(s *grpc.Server, srv ClusterDiscoveryServiceServer)
- type CdsDummy
- func (*CdsDummy) Descriptor() ([]byte, []int)
- func (m *CdsDummy) Marshal() (dAtA []byte, err error)
- func (m *CdsDummy) MarshalTo(dAtA []byte) (int, error)
- func (m *CdsDummy) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*CdsDummy) ProtoMessage()
- func (m *CdsDummy) Reset()
- func (m *CdsDummy) Size() (n int)
- func (m *CdsDummy) String() string
- func (m *CdsDummy) Unmarshal(dAtA []byte) error
- func (m *CdsDummy) Validate() error
- func (m *CdsDummy) XXX_DiscardUnknown()
- func (m *CdsDummy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CdsDummy) XXX_Merge(src proto.Message)
- func (m *CdsDummy) XXX_Size() int
- func (m *CdsDummy) XXX_Unmarshal(b []byte) error
- type CdsDummyValidationError
- type ClusterDiscoveryServiceClient
- type ClusterDiscoveryServiceServer
- type ClusterDiscoveryService_DeltaClustersClient
- type ClusterDiscoveryService_DeltaClustersServer
- type ClusterDiscoveryService_StreamClustersClient
- type ClusterDiscoveryService_StreamClustersServer
- type UnimplementedClusterDiscoveryServiceServer
- func (*UnimplementedClusterDiscoveryServiceServer) DeltaClusters(srv ClusterDiscoveryService_DeltaClustersServer) error
- func (*UnimplementedClusterDiscoveryServiceServer) FetchClusters(ctx context.Context, req *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
- func (*UnimplementedClusterDiscoveryServiceServer) StreamClusters(srv ClusterDiscoveryService_StreamClustersServer) error
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterClusterDiscoveryServiceServer ¶
func RegisterClusterDiscoveryServiceServer(s *grpc.Server, srv ClusterDiscoveryServiceServer)
Types ¶
type CdsDummy ¶
type CdsDummy 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 (*CdsDummy) Descriptor ¶
func (*CdsDummy) MarshalToSizedBuffer ¶
func (*CdsDummy) ProtoMessage ¶
func (*CdsDummy) ProtoMessage()
func (*CdsDummy) Validate ¶
Validate checks the field values on CdsDummy with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CdsDummy) XXX_DiscardUnknown ¶
func (m *CdsDummy) XXX_DiscardUnknown()
func (*CdsDummy) XXX_Marshal ¶
func (*CdsDummy) XXX_Unmarshal ¶
type CdsDummyValidationError ¶
type CdsDummyValidationError struct {
// contains filtered or unexported fields
}
CdsDummyValidationError is the validation error returned by CdsDummy.Validate if the designated constraints aren't met.
func (CdsDummyValidationError) Cause ¶
func (e CdsDummyValidationError) Cause() error
Cause function returns cause value.
func (CdsDummyValidationError) Error ¶
func (e CdsDummyValidationError) Error() string
Error satisfies the builtin error interface
func (CdsDummyValidationError) ErrorName ¶
func (e CdsDummyValidationError) ErrorName() string
ErrorName returns error name.
func (CdsDummyValidationError) Field ¶
func (e CdsDummyValidationError) Field() string
Field function returns field value.
func (CdsDummyValidationError) Key ¶
func (e CdsDummyValidationError) Key() bool
Key function returns key value.
func (CdsDummyValidationError) Reason ¶
func (e CdsDummyValidationError) Reason() string
Reason function returns reason value.
type ClusterDiscoveryServiceClient ¶
type ClusterDiscoveryServiceClient interface { StreamClusters(ctx context.Context, opts ...grpc.CallOption) (ClusterDiscoveryService_StreamClustersClient, error) DeltaClusters(ctx context.Context, opts ...grpc.CallOption) (ClusterDiscoveryService_DeltaClustersClient, error) FetchClusters(ctx context.Context, in *v3.DiscoveryRequest, opts ...grpc.CallOption) (*v3.DiscoveryResponse, error) }
ClusterDiscoveryServiceClient is the client API for ClusterDiscoveryService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClusterDiscoveryServiceClient ¶
func NewClusterDiscoveryServiceClient(cc *grpc.ClientConn) ClusterDiscoveryServiceClient
type ClusterDiscoveryServiceServer ¶
type ClusterDiscoveryServiceServer interface { StreamClusters(ClusterDiscoveryService_StreamClustersServer) error DeltaClusters(ClusterDiscoveryService_DeltaClustersServer) error FetchClusters(context.Context, *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error) }
ClusterDiscoveryServiceServer is the server API for ClusterDiscoveryService service.
type ClusterDiscoveryService_DeltaClustersClient ¶
type ClusterDiscoveryService_DeltaClustersClient interface { Send(*v3.DeltaDiscoveryRequest) error Recv() (*v3.DeltaDiscoveryResponse, error) grpc.ClientStream }
type ClusterDiscoveryService_DeltaClustersServer ¶
type ClusterDiscoveryService_DeltaClustersServer interface { Send(*v3.DeltaDiscoveryResponse) error Recv() (*v3.DeltaDiscoveryRequest, error) grpc.ServerStream }
type ClusterDiscoveryService_StreamClustersClient ¶
type ClusterDiscoveryService_StreamClustersClient interface { Send(*v3.DiscoveryRequest) error Recv() (*v3.DiscoveryResponse, error) grpc.ClientStream }
type ClusterDiscoveryService_StreamClustersServer ¶
type ClusterDiscoveryService_StreamClustersServer interface { Send(*v3.DiscoveryResponse) error Recv() (*v3.DiscoveryRequest, error) grpc.ServerStream }
type UnimplementedClusterDiscoveryServiceServer ¶
type UnimplementedClusterDiscoveryServiceServer struct { }
UnimplementedClusterDiscoveryServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedClusterDiscoveryServiceServer) DeltaClusters ¶
func (*UnimplementedClusterDiscoveryServiceServer) DeltaClusters(srv ClusterDiscoveryService_DeltaClustersServer) error
func (*UnimplementedClusterDiscoveryServiceServer) FetchClusters ¶
func (*UnimplementedClusterDiscoveryServiceServer) FetchClusters(ctx context.Context, req *v3.DiscoveryRequest) (*v3.DiscoveryResponse, error)
func (*UnimplementedClusterDiscoveryServiceServer) StreamClusters ¶
func (*UnimplementedClusterDiscoveryServiceServer) StreamClusters(srv ClusterDiscoveryService_StreamClustersServer) error