deploy

package
v1.0.1-RCX13 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2016 License: Apache-2.0 Imports: 7 Imported by: 0

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

func RegisterAPIServer(s *grpc.Server, srv APIServer)

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 Cluster

type Cluster struct {
	Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"`
}

func (*Cluster) Descriptor

func (*Cluster) Descriptor() ([]byte, []int)

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) Reset

func (m *Cluster) Reset()

func (*Cluster) String

func (m *Cluster) String() string

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=clusterInfos" 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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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