Documentation ¶
Overview ¶
Package deploy is a generated protocol buffer package.
It is generated from these files:
server/pkg/deploy/deploy.proto
It has these top-level messages:
KubeEndpoint Cluster ClusterInfo ClusterInfos CreateClusterRequest UpdateClusterRequest InspectClusterRequest ListClusterRequest DeleteClusterRequest
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterAPIServer ¶
Types ¶
type APIClient ¶
type APIClient interface { CreateCluster(ctx context.Context, in *CreateClusterRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) InspectCluster(ctx context.Context, in *InspectClusterRequest, opts ...grpc.CallOption) (*ClusterInfo, error) ListCluster(ctx context.Context, in *ListClusterRequest, opts ...grpc.CallOption) (*ClusterInfos, error) DeleteCluster(ctx context.Context, in *DeleteClusterRequest, opts ...grpc.CallOption) (*google_protobuf1.Empty, error) }
func NewAPIClient ¶
func NewAPIClient(cc *grpc.ClientConn) APIClient
type APIServer ¶
type APIServer interface { CreateCluster(context.Context, *CreateClusterRequest) (*google_protobuf1.Empty, error) UpdateCluster(context.Context, *UpdateClusterRequest) (*google_protobuf1.Empty, error) InspectCluster(context.Context, *InspectClusterRequest) (*ClusterInfo, error) ListCluster(context.Context, *ListClusterRequest) (*ClusterInfos, error) DeleteCluster(context.Context, *DeleteClusterRequest) (*google_protobuf1.Empty, error) }
type Cluster ¶
type Cluster struct {
Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}
func (*Cluster) Descriptor ¶
func (*Cluster) ProtoMessage ¶
func (*Cluster) ProtoMessage()
type ClusterInfo ¶
type ClusterInfo struct { Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster" json:"cluster,omitempty"` Shards uint64 `protobuf:"varint,2,opt,name=shards" json:"shards,omitempty"` }
func (*ClusterInfo) Descriptor ¶
func (*ClusterInfo) Descriptor() ([]byte, []int)
func (*ClusterInfo) GetCluster ¶
func (m *ClusterInfo) GetCluster() *Cluster
func (*ClusterInfo) ProtoMessage ¶
func (*ClusterInfo) ProtoMessage()
func (*ClusterInfo) Reset ¶
func (m *ClusterInfo) Reset()
func (*ClusterInfo) String ¶
func (m *ClusterInfo) String() string
type ClusterInfos ¶
type ClusterInfos struct {
ClusterInfos []*ClusterInfo `protobuf:"bytes,1,rep,name=cluster_infos" json:"cluster_infos,omitempty"`
}
func (*ClusterInfos) Descriptor ¶
func (*ClusterInfos) Descriptor() ([]byte, []int)
func (*ClusterInfos) GetClusterInfos ¶
func (m *ClusterInfos) GetClusterInfos() []*ClusterInfo
func (*ClusterInfos) ProtoMessage ¶
func (*ClusterInfos) ProtoMessage()
func (*ClusterInfos) Reset ¶
func (m *ClusterInfos) Reset()
func (*ClusterInfos) String ¶
func (m *ClusterInfos) String() string
type CreateClusterRequest ¶
type CreateClusterRequest struct { Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster" json:"cluster,omitempty"` Shards uint64 `protobuf:"varint,2,opt,name=shards" json:"shards,omitempty"` }
func (*CreateClusterRequest) Descriptor ¶
func (*CreateClusterRequest) Descriptor() ([]byte, []int)
func (*CreateClusterRequest) GetCluster ¶
func (m *CreateClusterRequest) GetCluster() *Cluster
func (*CreateClusterRequest) ProtoMessage ¶
func (*CreateClusterRequest) ProtoMessage()
func (*CreateClusterRequest) Reset ¶
func (m *CreateClusterRequest) Reset()
func (*CreateClusterRequest) String ¶
func (m *CreateClusterRequest) String() string
type DeleteClusterRequest ¶
type DeleteClusterRequest struct {
Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster" json:"cluster,omitempty"`
}
func (*DeleteClusterRequest) Descriptor ¶
func (*DeleteClusterRequest) Descriptor() ([]byte, []int)
func (*DeleteClusterRequest) GetCluster ¶
func (m *DeleteClusterRequest) GetCluster() *Cluster
func (*DeleteClusterRequest) ProtoMessage ¶
func (*DeleteClusterRequest) ProtoMessage()
func (*DeleteClusterRequest) Reset ¶
func (m *DeleteClusterRequest) Reset()
func (*DeleteClusterRequest) String ¶
func (m *DeleteClusterRequest) String() string
type InspectClusterRequest ¶
type InspectClusterRequest struct {
Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster" json:"cluster,omitempty"`
}
func (*InspectClusterRequest) Descriptor ¶
func (*InspectClusterRequest) Descriptor() ([]byte, []int)
func (*InspectClusterRequest) GetCluster ¶
func (m *InspectClusterRequest) GetCluster() *Cluster
func (*InspectClusterRequest) ProtoMessage ¶
func (*InspectClusterRequest) ProtoMessage()
func (*InspectClusterRequest) Reset ¶
func (m *InspectClusterRequest) Reset()
func (*InspectClusterRequest) String ¶
func (m *InspectClusterRequest) String() string
type KubeEndpoint ¶
type KubeEndpoint struct {
Host string `protobuf:"bytes,1,opt,name=host" json:"host,omitempty"`
}
func (*KubeEndpoint) Descriptor ¶
func (*KubeEndpoint) Descriptor() ([]byte, []int)
func (*KubeEndpoint) ProtoMessage ¶
func (*KubeEndpoint) ProtoMessage()
func (*KubeEndpoint) Reset ¶
func (m *KubeEndpoint) Reset()
func (*KubeEndpoint) String ¶
func (m *KubeEndpoint) String() string
type ListClusterRequest ¶
type ListClusterRequest struct { }
func (*ListClusterRequest) Descriptor ¶
func (*ListClusterRequest) Descriptor() ([]byte, []int)
func (*ListClusterRequest) ProtoMessage ¶
func (*ListClusterRequest) ProtoMessage()
func (*ListClusterRequest) Reset ¶
func (m *ListClusterRequest) Reset()
func (*ListClusterRequest) String ¶
func (m *ListClusterRequest) String() string
type UpdateClusterRequest ¶
type UpdateClusterRequest struct { Cluster *Cluster `protobuf:"bytes,1,opt,name=cluster" json:"cluster,omitempty"` Nodes uint64 `protobuf:"varint,2,opt,name=nodes" json:"nodes,omitempty"` }
func (*UpdateClusterRequest) Descriptor ¶
func (*UpdateClusterRequest) Descriptor() ([]byte, []int)
func (*UpdateClusterRequest) GetCluster ¶
func (m *UpdateClusterRequest) GetCluster() *Cluster
func (*UpdateClusterRequest) ProtoMessage ¶
func (*UpdateClusterRequest) ProtoMessage()
func (*UpdateClusterRequest) Reset ¶
func (m *UpdateClusterRequest) Reset()
func (*UpdateClusterRequest) String ¶
func (m *UpdateClusterRequest) String() string
Click to show internal directories.
Click to hide internal directories.