deploy

package
v1.9.0 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const DevVersionTag = "local"

DevVersionTag is used to specify and detect that we're using a non-released version of a pachd image

Variables

View Source
var (
	ErrInvalidLengthDeploy = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowDeploy   = fmt.Errorf("proto: integer overflow")
)

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) (*types.Empty, error)
	UpdateCluster(ctx context.Context, in *UpdateClusterRequest, opts ...grpc.CallOption) (*types.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) (*types.Empty, error)
}

APIClient is the client API for API service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewAPIClient

func NewAPIClient(cc *grpc.ClientConn) APIClient

type APIServer

APIServer is the server API for API service.

type Cluster

type Cluster struct {
	Name                 string   `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*Cluster) Descriptor

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

func (*Cluster) GetName added in v1.3.5

func (m *Cluster) GetName() string

func (*Cluster) Marshal added in v1.5.0

func (m *Cluster) Marshal() (dAtA []byte, err error)

func (*Cluster) MarshalTo added in v1.5.0

func (m *Cluster) MarshalTo(dAtA []byte) (int, error)

func (*Cluster) ProtoMessage

func (*Cluster) ProtoMessage()

func (*Cluster) Reset

func (m *Cluster) Reset()

func (*Cluster) Size added in v1.5.0

func (m *Cluster) Size() (n int)

func (*Cluster) String

func (m *Cluster) String() string

func (*Cluster) Unmarshal added in v1.5.0

func (m *Cluster) Unmarshal(dAtA []byte) error

func (*Cluster) XXX_DiscardUnknown added in v1.7.12

func (m *Cluster) XXX_DiscardUnknown()

func (*Cluster) XXX_Marshal added in v1.7.12

func (m *Cluster) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Cluster) XXX_Merge added in v1.7.12

func (m *Cluster) XXX_Merge(src proto.Message)

func (*Cluster) XXX_Size added in v1.7.12

func (m *Cluster) XXX_Size() int

func (*Cluster) XXX_Unmarshal added in v1.7.12

func (m *Cluster) XXX_Unmarshal(b []byte) error

type ClusterInfo

type ClusterInfo struct {
	Cluster              *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	Shards               uint64   `protobuf:"varint,2,opt,name=shards,proto3" json:"shards,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ClusterInfo) Descriptor

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

func (*ClusterInfo) GetCluster

func (m *ClusterInfo) GetCluster() *Cluster

func (*ClusterInfo) GetShards added in v1.3.5

func (m *ClusterInfo) GetShards() uint64

func (*ClusterInfo) Marshal added in v1.5.0

func (m *ClusterInfo) Marshal() (dAtA []byte, err error)

func (*ClusterInfo) MarshalTo added in v1.5.0

func (m *ClusterInfo) MarshalTo(dAtA []byte) (int, error)

func (*ClusterInfo) ProtoMessage

func (*ClusterInfo) ProtoMessage()

func (*ClusterInfo) Reset

func (m *ClusterInfo) Reset()

func (*ClusterInfo) Size added in v1.5.0

func (m *ClusterInfo) Size() (n int)

func (*ClusterInfo) String

func (m *ClusterInfo) String() string

func (*ClusterInfo) Unmarshal added in v1.5.0

func (m *ClusterInfo) Unmarshal(dAtA []byte) error

func (*ClusterInfo) XXX_DiscardUnknown added in v1.7.12

func (m *ClusterInfo) XXX_DiscardUnknown()

func (*ClusterInfo) XXX_Marshal added in v1.7.12

func (m *ClusterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterInfo) XXX_Merge added in v1.7.12

func (m *ClusterInfo) XXX_Merge(src proto.Message)

func (*ClusterInfo) XXX_Size added in v1.7.12

func (m *ClusterInfo) XXX_Size() int

func (*ClusterInfo) XXX_Unmarshal added in v1.7.12

func (m *ClusterInfo) XXX_Unmarshal(b []byte) error

type ClusterInfos

type ClusterInfos struct {
	ClusterInfos         []*ClusterInfo `protobuf:"bytes,1,rep,name=cluster_infos,json=clusterInfos,proto3" json:"cluster_infos,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*ClusterInfos) Descriptor

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

func (*ClusterInfos) GetClusterInfos

func (m *ClusterInfos) GetClusterInfos() []*ClusterInfo

func (*ClusterInfos) Marshal added in v1.5.0

func (m *ClusterInfos) Marshal() (dAtA []byte, err error)

func (*ClusterInfos) MarshalTo added in v1.5.0

func (m *ClusterInfos) MarshalTo(dAtA []byte) (int, error)

func (*ClusterInfos) ProtoMessage

func (*ClusterInfos) ProtoMessage()

func (*ClusterInfos) Reset

func (m *ClusterInfos) Reset()

func (*ClusterInfos) Size added in v1.5.0

func (m *ClusterInfos) Size() (n int)

func (*ClusterInfos) String

func (m *ClusterInfos) String() string

func (*ClusterInfos) Unmarshal added in v1.5.0

func (m *ClusterInfos) Unmarshal(dAtA []byte) error

func (*ClusterInfos) XXX_DiscardUnknown added in v1.7.12

func (m *ClusterInfos) XXX_DiscardUnknown()

func (*ClusterInfos) XXX_Marshal added in v1.7.12

func (m *ClusterInfos) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ClusterInfos) XXX_Merge added in v1.7.12

func (m *ClusterInfos) XXX_Merge(src proto.Message)

func (*ClusterInfos) XXX_Size added in v1.7.12

func (m *ClusterInfos) XXX_Size() int

func (*ClusterInfos) XXX_Unmarshal added in v1.7.12

func (m *ClusterInfos) XXX_Unmarshal(b []byte) error

type CreateClusterRequest

type CreateClusterRequest struct {
	Cluster              *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	Shards               uint64   `protobuf:"varint,2,opt,name=shards,proto3" json:"shards,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateClusterRequest) Descriptor

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

func (*CreateClusterRequest) GetCluster

func (m *CreateClusterRequest) GetCluster() *Cluster

func (*CreateClusterRequest) GetShards added in v1.3.5

func (m *CreateClusterRequest) GetShards() uint64

func (*CreateClusterRequest) Marshal added in v1.5.0

func (m *CreateClusterRequest) Marshal() (dAtA []byte, err error)

func (*CreateClusterRequest) MarshalTo added in v1.5.0

func (m *CreateClusterRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateClusterRequest) ProtoMessage

func (*CreateClusterRequest) ProtoMessage()

func (*CreateClusterRequest) Reset

func (m *CreateClusterRequest) Reset()

func (*CreateClusterRequest) Size added in v1.5.0

func (m *CreateClusterRequest) Size() (n int)

func (*CreateClusterRequest) String

func (m *CreateClusterRequest) String() string

func (*CreateClusterRequest) Unmarshal added in v1.5.0

func (m *CreateClusterRequest) Unmarshal(dAtA []byte) error

func (*CreateClusterRequest) XXX_DiscardUnknown added in v1.7.12

func (m *CreateClusterRequest) XXX_DiscardUnknown()

func (*CreateClusterRequest) XXX_Marshal added in v1.7.12

func (m *CreateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateClusterRequest) XXX_Merge added in v1.7.12

func (m *CreateClusterRequest) XXX_Merge(src proto.Message)

func (*CreateClusterRequest) XXX_Size added in v1.7.12

func (m *CreateClusterRequest) XXX_Size() int

func (*CreateClusterRequest) XXX_Unmarshal added in v1.7.12

func (m *CreateClusterRequest) XXX_Unmarshal(b []byte) error

type DeleteClusterRequest

type DeleteClusterRequest struct {
	Cluster              *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteClusterRequest) Descriptor

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

func (*DeleteClusterRequest) GetCluster

func (m *DeleteClusterRequest) GetCluster() *Cluster

func (*DeleteClusterRequest) Marshal added in v1.5.0

func (m *DeleteClusterRequest) Marshal() (dAtA []byte, err error)

func (*DeleteClusterRequest) MarshalTo added in v1.5.0

func (m *DeleteClusterRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteClusterRequest) ProtoMessage

func (*DeleteClusterRequest) ProtoMessage()

func (*DeleteClusterRequest) Reset

func (m *DeleteClusterRequest) Reset()

func (*DeleteClusterRequest) Size added in v1.5.0

func (m *DeleteClusterRequest) Size() (n int)

func (*DeleteClusterRequest) String

func (m *DeleteClusterRequest) String() string

func (*DeleteClusterRequest) Unmarshal added in v1.5.0

func (m *DeleteClusterRequest) Unmarshal(dAtA []byte) error

func (*DeleteClusterRequest) XXX_DiscardUnknown added in v1.7.12

func (m *DeleteClusterRequest) XXX_DiscardUnknown()

func (*DeleteClusterRequest) XXX_Marshal added in v1.7.12

func (m *DeleteClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteClusterRequest) XXX_Merge added in v1.7.12

func (m *DeleteClusterRequest) XXX_Merge(src proto.Message)

func (*DeleteClusterRequest) XXX_Size added in v1.7.12

func (m *DeleteClusterRequest) XXX_Size() int

func (*DeleteClusterRequest) XXX_Unmarshal added in v1.7.12

func (m *DeleteClusterRequest) XXX_Unmarshal(b []byte) error

type InspectClusterRequest

type InspectClusterRequest struct {
	Cluster              *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*InspectClusterRequest) Descriptor

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

func (*InspectClusterRequest) GetCluster

func (m *InspectClusterRequest) GetCluster() *Cluster

func (*InspectClusterRequest) Marshal added in v1.5.0

func (m *InspectClusterRequest) Marshal() (dAtA []byte, err error)

func (*InspectClusterRequest) MarshalTo added in v1.5.0

func (m *InspectClusterRequest) MarshalTo(dAtA []byte) (int, error)

func (*InspectClusterRequest) ProtoMessage

func (*InspectClusterRequest) ProtoMessage()

func (*InspectClusterRequest) Reset

func (m *InspectClusterRequest) Reset()

func (*InspectClusterRequest) Size added in v1.5.0

func (m *InspectClusterRequest) Size() (n int)

func (*InspectClusterRequest) String

func (m *InspectClusterRequest) String() string

func (*InspectClusterRequest) Unmarshal added in v1.5.0

func (m *InspectClusterRequest) Unmarshal(dAtA []byte) error

func (*InspectClusterRequest) XXX_DiscardUnknown added in v1.7.12

func (m *InspectClusterRequest) XXX_DiscardUnknown()

func (*InspectClusterRequest) XXX_Marshal added in v1.7.12

func (m *InspectClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*InspectClusterRequest) XXX_Merge added in v1.7.12

func (m *InspectClusterRequest) XXX_Merge(src proto.Message)

func (*InspectClusterRequest) XXX_Size added in v1.7.12

func (m *InspectClusterRequest) XXX_Size() int

func (*InspectClusterRequest) XXX_Unmarshal added in v1.7.12

func (m *InspectClusterRequest) XXX_Unmarshal(b []byte) error

type KubeEndpoint

type KubeEndpoint struct {
	Host                 string   `protobuf:"bytes,1,opt,name=host,proto3" json:"host,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KubeEndpoint) Descriptor

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

func (*KubeEndpoint) GetHost added in v1.3.5

func (m *KubeEndpoint) GetHost() string

func (*KubeEndpoint) Marshal added in v1.5.0

func (m *KubeEndpoint) Marshal() (dAtA []byte, err error)

func (*KubeEndpoint) MarshalTo added in v1.5.0

func (m *KubeEndpoint) MarshalTo(dAtA []byte) (int, error)

func (*KubeEndpoint) ProtoMessage

func (*KubeEndpoint) ProtoMessage()

func (*KubeEndpoint) Reset

func (m *KubeEndpoint) Reset()

func (*KubeEndpoint) Size added in v1.5.0

func (m *KubeEndpoint) Size() (n int)

func (*KubeEndpoint) String

func (m *KubeEndpoint) String() string

func (*KubeEndpoint) Unmarshal added in v1.5.0

func (m *KubeEndpoint) Unmarshal(dAtA []byte) error

func (*KubeEndpoint) XXX_DiscardUnknown added in v1.7.12

func (m *KubeEndpoint) XXX_DiscardUnknown()

func (*KubeEndpoint) XXX_Marshal added in v1.7.12

func (m *KubeEndpoint) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KubeEndpoint) XXX_Merge added in v1.7.12

func (m *KubeEndpoint) XXX_Merge(src proto.Message)

func (*KubeEndpoint) XXX_Size added in v1.7.12

func (m *KubeEndpoint) XXX_Size() int

func (*KubeEndpoint) XXX_Unmarshal added in v1.7.12

func (m *KubeEndpoint) XXX_Unmarshal(b []byte) error

type ListClusterRequest

type ListClusterRequest struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListClusterRequest) Descriptor

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

func (*ListClusterRequest) Marshal added in v1.5.0

func (m *ListClusterRequest) Marshal() (dAtA []byte, err error)

func (*ListClusterRequest) MarshalTo added in v1.5.0

func (m *ListClusterRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListClusterRequest) ProtoMessage

func (*ListClusterRequest) ProtoMessage()

func (*ListClusterRequest) Reset

func (m *ListClusterRequest) Reset()

func (*ListClusterRequest) Size added in v1.5.0

func (m *ListClusterRequest) Size() (n int)

func (*ListClusterRequest) String

func (m *ListClusterRequest) String() string

func (*ListClusterRequest) Unmarshal added in v1.5.0

func (m *ListClusterRequest) Unmarshal(dAtA []byte) error

func (*ListClusterRequest) XXX_DiscardUnknown added in v1.7.12

func (m *ListClusterRequest) XXX_DiscardUnknown()

func (*ListClusterRequest) XXX_Marshal added in v1.7.12

func (m *ListClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListClusterRequest) XXX_Merge added in v1.7.12

func (m *ListClusterRequest) XXX_Merge(src proto.Message)

func (*ListClusterRequest) XXX_Size added in v1.7.12

func (m *ListClusterRequest) XXX_Size() int

func (*ListClusterRequest) XXX_Unmarshal added in v1.7.12

func (m *ListClusterRequest) XXX_Unmarshal(b []byte) error

type UnimplementedAPIServer added in v1.8.7

type UnimplementedAPIServer struct {
}

UnimplementedAPIServer can be embedded to have forward compatible implementations.

func (*UnimplementedAPIServer) CreateCluster added in v1.8.7

func (*UnimplementedAPIServer) DeleteCluster added in v1.8.7

func (*UnimplementedAPIServer) InspectCluster added in v1.8.7

func (*UnimplementedAPIServer) ListCluster added in v1.8.7

func (*UnimplementedAPIServer) UpdateCluster added in v1.8.7

type UpdateClusterRequest

type UpdateClusterRequest struct {
	Cluster              *Cluster `protobuf:"bytes,1,opt,name=cluster,proto3" json:"cluster,omitempty"`
	Nodes                uint64   `protobuf:"varint,2,opt,name=nodes,proto3" json:"nodes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*UpdateClusterRequest) Descriptor

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

func (*UpdateClusterRequest) GetCluster

func (m *UpdateClusterRequest) GetCluster() *Cluster

func (*UpdateClusterRequest) GetNodes added in v1.3.5

func (m *UpdateClusterRequest) GetNodes() uint64

func (*UpdateClusterRequest) Marshal added in v1.5.0

func (m *UpdateClusterRequest) Marshal() (dAtA []byte, err error)

func (*UpdateClusterRequest) MarshalTo added in v1.5.0

func (m *UpdateClusterRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateClusterRequest) ProtoMessage

func (*UpdateClusterRequest) ProtoMessage()

func (*UpdateClusterRequest) Reset

func (m *UpdateClusterRequest) Reset()

func (*UpdateClusterRequest) Size added in v1.5.0

func (m *UpdateClusterRequest) Size() (n int)

func (*UpdateClusterRequest) String

func (m *UpdateClusterRequest) String() string

func (*UpdateClusterRequest) Unmarshal added in v1.5.0

func (m *UpdateClusterRequest) Unmarshal(dAtA []byte) error

func (*UpdateClusterRequest) XXX_DiscardUnknown added in v1.7.12

func (m *UpdateClusterRequest) XXX_DiscardUnknown()

func (*UpdateClusterRequest) XXX_Marshal added in v1.7.12

func (m *UpdateClusterRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateClusterRequest) XXX_Merge added in v1.7.12

func (m *UpdateClusterRequest) XXX_Merge(src proto.Message)

func (*UpdateClusterRequest) XXX_Size added in v1.7.12

func (m *UpdateClusterRequest) XXX_Size() int

func (*UpdateClusterRequest) XXX_Unmarshal added in v1.7.12

func (m *UpdateClusterRequest) XXX_Unmarshal(b []byte) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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