Documentation
¶
Index ¶
- func RegisterClusterServiceServer(s *grpc.Server, srv ClusterServiceServer)
- type ClusterServiceClient
- type ClusterServiceServer
- type UnimplementedClusterServiceServer
- type UnregisterClusterRequest
- func (*UnregisterClusterRequest) Descriptor() ([]byte, []int)
- func (m *UnregisterClusterRequest) GetClusterName() string
- func (*UnregisterClusterRequest) ProtoMessage()
- func (m *UnregisterClusterRequest) Reset()
- func (m *UnregisterClusterRequest) String() string
- func (m *UnregisterClusterRequest) XXX_DiscardUnknown()
- func (m *UnregisterClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnregisterClusterRequest) XXX_Merge(src proto.Message)
- func (m *UnregisterClusterRequest) XXX_Size() int
- func (m *UnregisterClusterRequest) XXX_Unmarshal(b []byte) error
- type UnregisterClusterResponse
- func (*UnregisterClusterResponse) Descriptor() ([]byte, []int)
- func (*UnregisterClusterResponse) ProtoMessage()
- func (m *UnregisterClusterResponse) Reset()
- func (m *UnregisterClusterResponse) String() string
- func (m *UnregisterClusterResponse) XXX_DiscardUnknown()
- func (m *UnregisterClusterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UnregisterClusterResponse) XXX_Merge(src proto.Message)
- func (m *UnregisterClusterResponse) XXX_Size() int
- func (m *UnregisterClusterResponse) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterClusterServiceServer ¶
func RegisterClusterServiceServer(s *grpc.Server, srv ClusterServiceServer)
Types ¶
type ClusterServiceClient ¶
type ClusterServiceClient interface { RegisterCluster(ctx context.Context, in *cluster.Cluster, opts ...grpc.CallOption) (*cluster.Cluster, error) UnregisterCluster(ctx context.Context, in *UnregisterClusterRequest, opts ...grpc.CallOption) (*UnregisterClusterResponse, error) }
ClusterServiceClient is the client API for ClusterService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClusterServiceClient ¶
func NewClusterServiceClient(cc grpc.ClientConnInterface) ClusterServiceClient
type ClusterServiceServer ¶
type ClusterServiceServer interface { RegisterCluster(context.Context, *cluster.Cluster) (*cluster.Cluster, error) UnregisterCluster(context.Context, *UnregisterClusterRequest) (*UnregisterClusterResponse, error) }
ClusterServiceServer is the server API for ClusterService service.
type UnimplementedClusterServiceServer ¶
type UnimplementedClusterServiceServer struct { }
UnimplementedClusterServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedClusterServiceServer) RegisterCluster ¶
func (*UnimplementedClusterServiceServer) UnregisterCluster ¶
func (*UnimplementedClusterServiceServer) UnregisterCluster(ctx context.Context, req *UnregisterClusterRequest) (*UnregisterClusterResponse, error)
type UnregisterClusterRequest ¶
type UnregisterClusterRequest struct { ClusterName string `protobuf:"bytes,1,opt,name=clusterName,proto3" json:"clusterName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnregisterClusterRequest) Descriptor ¶
func (*UnregisterClusterRequest) Descriptor() ([]byte, []int)
func (*UnregisterClusterRequest) GetClusterName ¶
func (m *UnregisterClusterRequest) GetClusterName() string
func (*UnregisterClusterRequest) ProtoMessage ¶
func (*UnregisterClusterRequest) ProtoMessage()
func (*UnregisterClusterRequest) Reset ¶
func (m *UnregisterClusterRequest) Reset()
func (*UnregisterClusterRequest) String ¶
func (m *UnregisterClusterRequest) String() string
func (*UnregisterClusterRequest) XXX_DiscardUnknown ¶
func (m *UnregisterClusterRequest) XXX_DiscardUnknown()
func (*UnregisterClusterRequest) XXX_Marshal ¶
func (m *UnregisterClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnregisterClusterRequest) XXX_Merge ¶
func (m *UnregisterClusterRequest) XXX_Merge(src proto.Message)
func (*UnregisterClusterRequest) XXX_Size ¶
func (m *UnregisterClusterRequest) XXX_Size() int
func (*UnregisterClusterRequest) XXX_Unmarshal ¶
func (m *UnregisterClusterRequest) XXX_Unmarshal(b []byte) error
type UnregisterClusterResponse ¶
type UnregisterClusterResponse struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UnregisterClusterResponse) Descriptor ¶
func (*UnregisterClusterResponse) Descriptor() ([]byte, []int)
func (*UnregisterClusterResponse) ProtoMessage ¶
func (*UnregisterClusterResponse) ProtoMessage()
func (*UnregisterClusterResponse) Reset ¶
func (m *UnregisterClusterResponse) Reset()
func (*UnregisterClusterResponse) String ¶
func (m *UnregisterClusterResponse) String() string
func (*UnregisterClusterResponse) XXX_DiscardUnknown ¶
func (m *UnregisterClusterResponse) XXX_DiscardUnknown()
func (*UnregisterClusterResponse) XXX_Marshal ¶
func (m *UnregisterClusterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UnregisterClusterResponse) XXX_Merge ¶
func (m *UnregisterClusterResponse) XXX_Merge(src proto.Message)
func (*UnregisterClusterResponse) XXX_Size ¶
func (m *UnregisterClusterResponse) XXX_Size() int
func (*UnregisterClusterResponse) XXX_Unmarshal ¶
func (m *UnregisterClusterResponse) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.