Documentation ¶
Index ¶
- Constants
- func GetCtx(ctx context.Context) context.Context
- func RegisterDriverServer(s *grpc.Server, srv DriverServer)
- type Capabilities
- func (c *Capabilities) AddCapability(cap int64)
- func (*Capabilities) Descriptor() ([]byte, []int)
- func (m *Capabilities) GetCapabilities() map[int64]bool
- func (c *Capabilities) HasEtcdBackupCapability() bool
- func (c *Capabilities) HasGetClusterSizeCapability() bool
- func (c *Capabilities) HasGetVersionCapability() bool
- func (c *Capabilities) HasSetClusterSizeCapability() bool
- func (c *Capabilities) HasSetVersionCapability() bool
- func (*Capabilities) ProtoMessage()
- func (m *Capabilities) Reset()
- func (m *Capabilities) String() string
- func (m *Capabilities) XXX_DiscardUnknown()
- func (m *Capabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Capabilities) XXX_Merge(src proto.Message)
- func (m *Capabilities) XXX_Size() int
- func (m *Capabilities) XXX_Unmarshal(b []byte) error
- type CloseableDriver
- type ClusterInfo
- func (*ClusterInfo) Descriptor() ([]byte, []int)
- func (m *ClusterInfo) GetClientCertificate() string
- func (m *ClusterInfo) GetClientKey() string
- func (m *ClusterInfo) GetCreateError() string
- func (m *ClusterInfo) GetEndpoint() string
- func (m *ClusterInfo) GetMetadata() map[string]string
- func (m *ClusterInfo) GetNodeCount() int64
- func (m *ClusterInfo) GetPassword() string
- func (m *ClusterInfo) GetRootCaCertificate() string
- func (m *ClusterInfo) GetServiceAccountToken() string
- func (m *ClusterInfo) GetStatus() string
- func (m *ClusterInfo) GetUsername() string
- func (m *ClusterInfo) GetVersion() string
- func (*ClusterInfo) ProtoMessage()
- func (m *ClusterInfo) Reset()
- func (m *ClusterInfo) String() string
- func (m *ClusterInfo) XXX_DiscardUnknown()
- func (m *ClusterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ClusterInfo) XXX_Merge(src proto.Message)
- func (m *ClusterInfo) XXX_Size() int
- func (m *ClusterInfo) XXX_Unmarshal(b []byte) error
- type CreateRequest
- func (*CreateRequest) Descriptor() ([]byte, []int)
- func (m *CreateRequest) GetClusterInfo() *ClusterInfo
- func (m *CreateRequest) GetDriverOptions() *DriverOptions
- func (*CreateRequest) ProtoMessage()
- func (m *CreateRequest) Reset()
- func (m *CreateRequest) String() string
- func (m *CreateRequest) XXX_DiscardUnknown()
- func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateRequest) XXX_Merge(src proto.Message)
- func (m *CreateRequest) XXX_Size() int
- func (m *CreateRequest) XXX_Unmarshal(b []byte) error
- type Default
- func (*Default) Descriptor() ([]byte, []int)
- func (m *Default) GetDefaultBool() bool
- func (m *Default) GetDefaultInt() int64
- func (m *Default) GetDefaultString() string
- func (m *Default) GetDefaultStringSlice() *StringSlice
- func (*Default) ProtoMessage()
- func (m *Default) Reset()
- func (m *Default) String() string
- func (m *Default) XXX_DiscardUnknown()
- func (m *Default) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Default) XXX_Merge(src proto.Message)
- func (m *Default) XXX_Size() int
- func (m *Default) XXX_Unmarshal(b []byte) error
- type Driver
- type DriverClient
- type DriverFlags
- func (*DriverFlags) Descriptor() ([]byte, []int)
- func (m *DriverFlags) GetOptions() map[string]*Flag
- func (*DriverFlags) ProtoMessage()
- func (m *DriverFlags) Reset()
- func (m *DriverFlags) String() string
- func (m *DriverFlags) XXX_DiscardUnknown()
- func (m *DriverFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DriverFlags) XXX_Merge(src proto.Message)
- func (m *DriverFlags) XXX_Size() int
- func (m *DriverFlags) XXX_Unmarshal(b []byte) error
- type DriverOptions
- func (*DriverOptions) Descriptor() ([]byte, []int)
- func (m *DriverOptions) GetBoolOptions() map[string]bool
- func (m *DriverOptions) GetIntOptions() map[string]int64
- func (m *DriverOptions) GetStringOptions() map[string]string
- func (m *DriverOptions) GetStringSliceOptions() map[string]*StringSlice
- func (*DriverOptions) ProtoMessage()
- func (m *DriverOptions) Reset()
- func (m *DriverOptions) String() string
- func (m *DriverOptions) XXX_DiscardUnknown()
- func (m *DriverOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DriverOptions) XXX_Merge(src proto.Message)
- func (m *DriverOptions) XXX_Size() int
- func (m *DriverOptions) XXX_Unmarshal(b []byte) error
- type DriverServer
- type Empty
- func (*Empty) Descriptor() ([]byte, []int)
- func (*Empty) ProtoMessage()
- func (m *Empty) Reset()
- func (m *Empty) String() string
- func (m *Empty) XXX_DiscardUnknown()
- func (m *Empty) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Empty) XXX_Merge(src proto.Message)
- func (m *Empty) XXX_Size() int
- func (m *Empty) XXX_Unmarshal(b []byte) error
- type Flag
- func (*Flag) Descriptor() ([]byte, []int)
- func (m *Flag) GetDefault() *Default
- func (m *Flag) GetPassword() bool
- func (m *Flag) GetType() string
- func (m *Flag) GetUsage() string
- func (m *Flag) GetValue() string
- func (*Flag) ProtoMessage()
- func (m *Flag) Reset()
- func (m *Flag) String() string
- func (m *Flag) XXX_DiscardUnknown()
- func (m *Flag) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Flag) XXX_Merge(src proto.Message)
- func (m *Flag) XXX_Size() int
- func (m *Flag) XXX_Unmarshal(b []byte) error
- type GrpcServer
- func (s *GrpcServer) Create(ctx context.Context, create *CreateRequest) (*ClusterInfo, error)
- func (s *GrpcServer) ETCDRemoveSnapshot(ctx context.Context, request *RemoveETCDSnapshotRequest) (*Empty, error)
- func (s *GrpcServer) ETCDRestore(ctx context.Context, request *RestoreETCDSnapshotRequest) (*ClusterInfo, error)
- func (s *GrpcServer) ETCDSave(ctx context.Context, request *SaveETCDSnapshotRequest) (*Empty, error)
- func (s *GrpcServer) GetCapabilities(ctx context.Context, in *Empty) (*Capabilities, error)
- func (s *GrpcServer) GetDriverCreateOptions(ctx context.Context, in *Empty) (*DriverFlags, error)
- func (s *GrpcServer) GetDriverUpdateOptions(ctx context.Context, in *Empty) (*DriverFlags, error)
- func (s *GrpcServer) GetK8SCapabilities(ctx context.Context, opts *DriverOptions) (*K8SCapabilities, error)
- func (s *GrpcServer) GetNodeCount(ctx context.Context, clusterInfo *ClusterInfo) (*NodeCount, error)
- func (s *GrpcServer) GetVersion(ctx context.Context, clusterInfo *ClusterInfo) (*KubernetesVersion, error)
- func (s *GrpcServer) PostCheck(ctx context.Context, clusterInfo *ClusterInfo) (*ClusterInfo, error)
- func (s *GrpcServer) Remove(ctx context.Context, clusterInfo *ClusterInfo) (*Empty, error)
- func (s *GrpcServer) RemoveLegacyServiceAccount(ctx context.Context, clusterInfo *ClusterInfo) (*Empty, error)
- func (s *GrpcServer) Serve(listenAddr string, errChan chan error)
- func (s *GrpcServer) ServeOrDie(listenAddr string)
- func (s *GrpcServer) SetNodeCount(ctx context.Context, request *SetNodeCountRequest) (*Empty, error)
- func (s *GrpcServer) SetVersion(ctx context.Context, request *SetVersionRequest) (*Empty, error)
- func (s *GrpcServer) Stop()
- func (s *GrpcServer) Update(ctx context.Context, update *UpdateRequest) (*ClusterInfo, error)
- type IngressCapabilities
- func (*IngressCapabilities) Descriptor() ([]byte, []int)
- func (m *IngressCapabilities) GetCustomDefaultBackend() bool
- func (m *IngressCapabilities) GetIngressProvider() string
- func (*IngressCapabilities) ProtoMessage()
- func (m *IngressCapabilities) Reset()
- func (m *IngressCapabilities) String() string
- func (m *IngressCapabilities) XXX_DiscardUnknown()
- func (m *IngressCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *IngressCapabilities) XXX_Merge(src proto.Message)
- func (m *IngressCapabilities) XXX_Size() int
- func (m *IngressCapabilities) XXX_Unmarshal(b []byte) error
- type K8SCapabilities
- func (*K8SCapabilities) Descriptor() ([]byte, []int)
- func (m *K8SCapabilities) GetIngressControllers() []*IngressCapabilities
- func (m *K8SCapabilities) GetL4LoadBalancer() *LoadBalancerCapabilities
- func (m *K8SCapabilities) GetNodePoolScalingSupported() bool
- func (m *K8SCapabilities) GetNodePortRange() string
- func (*K8SCapabilities) ProtoMessage()
- func (m *K8SCapabilities) Reset()
- func (m *K8SCapabilities) String() string
- func (m *K8SCapabilities) XXX_DiscardUnknown()
- func (m *K8SCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *K8SCapabilities) XXX_Merge(src proto.Message)
- func (m *K8SCapabilities) XXX_Size() int
- func (m *K8SCapabilities) XXX_Unmarshal(b []byte) error
- type KubernetesVersion
- func (*KubernetesVersion) Descriptor() ([]byte, []int)
- func (m *KubernetesVersion) GetVersion() string
- func (*KubernetesVersion) ProtoMessage()
- func (m *KubernetesVersion) Reset()
- func (m *KubernetesVersion) String() string
- func (m *KubernetesVersion) XXX_DiscardUnknown()
- func (m *KubernetesVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *KubernetesVersion) XXX_Merge(src proto.Message)
- func (m *KubernetesVersion) XXX_Size() int
- func (m *KubernetesVersion) XXX_Unmarshal(b []byte) error
- type LoadBalancerCapabilities
- func (*LoadBalancerCapabilities) Descriptor() ([]byte, []int)
- func (m *LoadBalancerCapabilities) GetEnabled() bool
- func (m *LoadBalancerCapabilities) GetHealthCheckSupported() bool
- func (m *LoadBalancerCapabilities) GetProtocolsSupported() []string
- func (m *LoadBalancerCapabilities) GetProvider() string
- func (*LoadBalancerCapabilities) ProtoMessage()
- func (m *LoadBalancerCapabilities) Reset()
- func (m *LoadBalancerCapabilities) String() string
- func (m *LoadBalancerCapabilities) XXX_DiscardUnknown()
- func (m *LoadBalancerCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *LoadBalancerCapabilities) XXX_Merge(src proto.Message)
- func (m *LoadBalancerCapabilities) XXX_Size() int
- func (m *LoadBalancerCapabilities) XXX_Unmarshal(b []byte) error
- type NodeCount
- func (*NodeCount) Descriptor() ([]byte, []int)
- func (m *NodeCount) GetCount() int64
- func (*NodeCount) ProtoMessage()
- func (m *NodeCount) Reset()
- func (m *NodeCount) String() string
- func (m *NodeCount) XXX_DiscardUnknown()
- func (m *NodeCount) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *NodeCount) XXX_Merge(src proto.Message)
- func (m *NodeCount) XXX_Size() int
- func (m *NodeCount) XXX_Unmarshal(b []byte) error
- type RemoveETCDSnapshotRequest
- func (*RemoveETCDSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *RemoveETCDSnapshotRequest) GetDriverOptions() *DriverOptions
- func (m *RemoveETCDSnapshotRequest) GetInfo() *ClusterInfo
- func (m *RemoveETCDSnapshotRequest) GetSnapshotName() string
- func (*RemoveETCDSnapshotRequest) ProtoMessage()
- func (m *RemoveETCDSnapshotRequest) Reset()
- func (m *RemoveETCDSnapshotRequest) String() string
- func (m *RemoveETCDSnapshotRequest) XXX_DiscardUnknown()
- func (m *RemoveETCDSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RemoveETCDSnapshotRequest) XXX_Merge(src proto.Message)
- func (m *RemoveETCDSnapshotRequest) XXX_Size() int
- func (m *RemoveETCDSnapshotRequest) XXX_Unmarshal(b []byte) error
- type RestoreETCDSnapshotRequest
- func (*RestoreETCDSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *RestoreETCDSnapshotRequest) GetDriverOptions() *DriverOptions
- func (m *RestoreETCDSnapshotRequest) GetInfo() *ClusterInfo
- func (m *RestoreETCDSnapshotRequest) GetSnapshotName() string
- func (*RestoreETCDSnapshotRequest) ProtoMessage()
- func (m *RestoreETCDSnapshotRequest) Reset()
- func (m *RestoreETCDSnapshotRequest) String() string
- func (m *RestoreETCDSnapshotRequest) XXX_DiscardUnknown()
- func (m *RestoreETCDSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RestoreETCDSnapshotRequest) XXX_Merge(src proto.Message)
- func (m *RestoreETCDSnapshotRequest) XXX_Size() int
- func (m *RestoreETCDSnapshotRequest) XXX_Unmarshal(b []byte) error
- type SaveETCDSnapshotRequest
- func (*SaveETCDSnapshotRequest) Descriptor() ([]byte, []int)
- func (m *SaveETCDSnapshotRequest) GetDriverOptions() *DriverOptions
- func (m *SaveETCDSnapshotRequest) GetInfo() *ClusterInfo
- func (m *SaveETCDSnapshotRequest) GetSnapshotName() string
- func (*SaveETCDSnapshotRequest) ProtoMessage()
- func (m *SaveETCDSnapshotRequest) Reset()
- func (m *SaveETCDSnapshotRequest) String() string
- func (m *SaveETCDSnapshotRequest) XXX_DiscardUnknown()
- func (m *SaveETCDSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SaveETCDSnapshotRequest) XXX_Merge(src proto.Message)
- func (m *SaveETCDSnapshotRequest) XXX_Size() int
- func (m *SaveETCDSnapshotRequest) XXX_Unmarshal(b []byte) error
- type SetNodeCountRequest
- func (*SetNodeCountRequest) Descriptor() ([]byte, []int)
- func (m *SetNodeCountRequest) GetCount() *NodeCount
- func (m *SetNodeCountRequest) GetInfo() *ClusterInfo
- func (*SetNodeCountRequest) ProtoMessage()
- func (m *SetNodeCountRequest) Reset()
- func (m *SetNodeCountRequest) String() string
- func (m *SetNodeCountRequest) XXX_DiscardUnknown()
- func (m *SetNodeCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetNodeCountRequest) XXX_Merge(src proto.Message)
- func (m *SetNodeCountRequest) XXX_Size() int
- func (m *SetNodeCountRequest) XXX_Unmarshal(b []byte) error
- type SetVersionRequest
- func (*SetVersionRequest) Descriptor() ([]byte, []int)
- func (m *SetVersionRequest) GetInfo() *ClusterInfo
- func (m *SetVersionRequest) GetVersion() *KubernetesVersion
- func (*SetVersionRequest) ProtoMessage()
- func (m *SetVersionRequest) Reset()
- func (m *SetVersionRequest) String() string
- func (m *SetVersionRequest) XXX_DiscardUnknown()
- func (m *SetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SetVersionRequest) XXX_Merge(src proto.Message)
- func (m *SetVersionRequest) XXX_Size() int
- func (m *SetVersionRequest) XXX_Unmarshal(b []byte) error
- type StringSlice
- func (*StringSlice) Descriptor() ([]byte, []int)
- func (m *StringSlice) GetValue() []string
- func (*StringSlice) ProtoMessage()
- func (m *StringSlice) Reset()
- func (m *StringSlice) String() string
- func (m *StringSlice) XXX_DiscardUnknown()
- func (m *StringSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *StringSlice) XXX_Merge(src proto.Message)
- func (m *StringSlice) XXX_Size() int
- func (m *StringSlice) XXX_Unmarshal(b []byte) error
- type UnimplementedClusterSizeAccess
- type UnimplementedVersionAccess
- type UpdateRequest
- func (*UpdateRequest) Descriptor() ([]byte, []int)
- func (m *UpdateRequest) GetClusterInfo() *ClusterInfo
- func (m *UpdateRequest) GetDriverOptions() *DriverOptions
- func (*UpdateRequest) ProtoMessage()
- func (m *UpdateRequest) Reset()
- func (m *UpdateRequest) String() string
- func (m *UpdateRequest) XXX_DiscardUnknown()
- func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateRequest) XXX_Merge(src proto.Message)
- func (m *UpdateRequest) XXX_Size() int
- func (m *UpdateRequest) XXX_Unmarshal(b []byte) error
Constants ¶
const ( GetVersionCapability = iota SetVersionCapability = iota GetClusterSizeCapability = iota SetClusterSizeCapability = iota EtcdBackupCapability = iota )
const ( // StringType is the type for string flag StringType = "string" // BoolType is the type for bool flag. It should be used if the bool value should be false if missing BoolType = "bool" // BoolPointerType flag should be used if the bool value can be nil BoolPointerType = "boolPtr" // IntType is the type for int flag IntType = "int" // IntPointerType flag should be used if the int value can be nil IntPointerType = "intPtr" // StringSliceType is the type for stringSlice flag StringSliceType = "stringSlice" )
Variables ¶
This section is empty.
Functions ¶
func RegisterDriverServer ¶
func RegisterDriverServer(s *grpc.Server, srv DriverServer)
Types ¶
type Capabilities ¶
type Capabilities struct { Capabilities map[int64]bool `` /* 167-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Capabilities) AddCapability ¶
func (c *Capabilities) AddCapability(cap int64)
func (*Capabilities) Descriptor ¶
func (*Capabilities) Descriptor() ([]byte, []int)
func (*Capabilities) GetCapabilities ¶
func (m *Capabilities) GetCapabilities() map[int64]bool
func (*Capabilities) HasEtcdBackupCapability ¶
func (c *Capabilities) HasEtcdBackupCapability() bool
func (*Capabilities) HasGetClusterSizeCapability ¶
func (c *Capabilities) HasGetClusterSizeCapability() bool
func (*Capabilities) HasGetVersionCapability ¶
func (c *Capabilities) HasGetVersionCapability() bool
func (*Capabilities) HasSetClusterSizeCapability ¶
func (c *Capabilities) HasSetClusterSizeCapability() bool
func (*Capabilities) HasSetVersionCapability ¶
func (c *Capabilities) HasSetVersionCapability() bool
func (*Capabilities) ProtoMessage ¶
func (*Capabilities) ProtoMessage()
func (*Capabilities) Reset ¶
func (m *Capabilities) Reset()
func (*Capabilities) String ¶
func (m *Capabilities) String() string
func (*Capabilities) XXX_DiscardUnknown ¶
func (m *Capabilities) XXX_DiscardUnknown()
func (*Capabilities) XXX_Marshal ¶
func (m *Capabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Capabilities) XXX_Merge ¶
func (m *Capabilities) XXX_Merge(src proto.Message)
func (*Capabilities) XXX_Size ¶
func (m *Capabilities) XXX_Size() int
func (*Capabilities) XXX_Unmarshal ¶
func (m *Capabilities) XXX_Unmarshal(b []byte) error
type CloseableDriver ¶
type ClusterInfo ¶
type ClusterInfo struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` ServiceAccountToken string `protobuf:"bytes,2,opt,name=service_account_token,json=serviceAccountToken,proto3" json:"service_account_token,omitempty"` Endpoint string `protobuf:"bytes,3,opt,name=endpoint,proto3" json:"endpoint,omitempty"` Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` Password string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"` RootCaCertificate string `protobuf:"bytes,6,opt,name=root_ca_certificate,json=rootCaCertificate,proto3" json:"root_ca_certificate,omitempty"` ClientCertificate string `protobuf:"bytes,7,opt,name=client_certificate,json=clientCertificate,proto3" json:"client_certificate,omitempty"` ClientKey string `protobuf:"bytes,8,opt,name=client_key,json=clientKey,proto3" json:"client_key,omitempty"` NodeCount int64 `protobuf:"varint,9,opt,name=node_count,json=nodeCount,proto3" json:"node_count,omitempty"` Metadata map[string]string `` /* 158-byte string literal not displayed */ Status string `protobuf:"bytes,11,opt,name=status,proto3" json:"status,omitempty"` CreateError string `protobuf:"bytes,12,opt,name=create_error,json=createError,proto3" json:"create_error,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ClusterInfo) Descriptor ¶
func (*ClusterInfo) Descriptor() ([]byte, []int)
func (*ClusterInfo) GetClientCertificate ¶
func (m *ClusterInfo) GetClientCertificate() string
func (*ClusterInfo) GetClientKey ¶
func (m *ClusterInfo) GetClientKey() string
func (*ClusterInfo) GetCreateError ¶
func (m *ClusterInfo) GetCreateError() string
func (*ClusterInfo) GetEndpoint ¶
func (m *ClusterInfo) GetEndpoint() string
func (*ClusterInfo) GetMetadata ¶
func (m *ClusterInfo) GetMetadata() map[string]string
func (*ClusterInfo) GetNodeCount ¶
func (m *ClusterInfo) GetNodeCount() int64
func (*ClusterInfo) GetPassword ¶
func (m *ClusterInfo) GetPassword() string
func (*ClusterInfo) GetRootCaCertificate ¶
func (m *ClusterInfo) GetRootCaCertificate() string
func (*ClusterInfo) GetServiceAccountToken ¶
func (m *ClusterInfo) GetServiceAccountToken() string
func (*ClusterInfo) GetStatus ¶
func (m *ClusterInfo) GetStatus() string
func (*ClusterInfo) GetUsername ¶
func (m *ClusterInfo) GetUsername() string
func (*ClusterInfo) GetVersion ¶
func (m *ClusterInfo) GetVersion() string
func (*ClusterInfo) ProtoMessage ¶
func (*ClusterInfo) ProtoMessage()
func (*ClusterInfo) Reset ¶
func (m *ClusterInfo) Reset()
func (*ClusterInfo) String ¶
func (m *ClusterInfo) String() string
func (*ClusterInfo) XXX_DiscardUnknown ¶
func (m *ClusterInfo) XXX_DiscardUnknown()
func (*ClusterInfo) XXX_Marshal ¶
func (m *ClusterInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ClusterInfo) XXX_Merge ¶
func (m *ClusterInfo) XXX_Merge(src proto.Message)
func (*ClusterInfo) XXX_Size ¶
func (m *ClusterInfo) XXX_Size() int
func (*ClusterInfo) XXX_Unmarshal ¶
func (m *ClusterInfo) XXX_Unmarshal(b []byte) error
type CreateRequest ¶
type CreateRequest struct { DriverOptions *DriverOptions `protobuf:"bytes,1,opt,name=driver_options,json=driverOptions,proto3" json:"driver_options,omitempty"` ClusterInfo *ClusterInfo `protobuf:"bytes,2,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CreateRequest) Descriptor ¶
func (*CreateRequest) Descriptor() ([]byte, []int)
func (*CreateRequest) GetClusterInfo ¶
func (m *CreateRequest) GetClusterInfo() *ClusterInfo
func (*CreateRequest) GetDriverOptions ¶
func (m *CreateRequest) GetDriverOptions() *DriverOptions
func (*CreateRequest) ProtoMessage ¶
func (*CreateRequest) ProtoMessage()
func (*CreateRequest) Reset ¶
func (m *CreateRequest) Reset()
func (*CreateRequest) String ¶
func (m *CreateRequest) String() string
func (*CreateRequest) XXX_DiscardUnknown ¶
func (m *CreateRequest) XXX_DiscardUnknown()
func (*CreateRequest) XXX_Marshal ¶
func (m *CreateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateRequest) XXX_Merge ¶
func (m *CreateRequest) XXX_Merge(src proto.Message)
func (*CreateRequest) XXX_Size ¶
func (m *CreateRequest) XXX_Size() int
func (*CreateRequest) XXX_Unmarshal ¶
func (m *CreateRequest) XXX_Unmarshal(b []byte) error
type Default ¶
type Default struct { DefaultBool bool `protobuf:"varint,1,opt,name=defaultBool,proto3" json:"defaultBool,omitempty"` DefaultString string `protobuf:"bytes,2,opt,name=defaultString,proto3" json:"defaultString,omitempty"` DefaultStringSlice *StringSlice `protobuf:"bytes,3,opt,name=defaultStringSlice,proto3" json:"defaultStringSlice,omitempty"` DefaultInt int64 `protobuf:"varint,4,opt,name=defaultInt,proto3" json:"defaultInt,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Default) Descriptor ¶
func (*Default) GetDefaultBool ¶
func (*Default) GetDefaultInt ¶
func (*Default) GetDefaultString ¶
func (*Default) GetDefaultStringSlice ¶
func (m *Default) GetDefaultStringSlice() *StringSlice
func (*Default) ProtoMessage ¶
func (*Default) ProtoMessage()
func (*Default) XXX_DiscardUnknown ¶
func (m *Default) XXX_DiscardUnknown()
func (*Default) XXX_Marshal ¶
func (*Default) XXX_Unmarshal ¶
type Driver ¶
type Driver interface { // GetDriverCreateOptions returns cli flags that are used in create GetDriverCreateOptions(ctx context.Context) (*DriverFlags, error) // GetDriverUpdateOptions returns cli flags that are used in update GetDriverUpdateOptions(ctx context.Context) (*DriverFlags, error) // Create creates the cluster. clusterInfo is only set when we are retrying a failed or interrupted create Create(ctx context.Context, opts *DriverOptions, clusterInfo *ClusterInfo) (*ClusterInfo, error) // Update updates the cluster Update(ctx context.Context, clusterInfo *ClusterInfo, opts *DriverOptions) (*ClusterInfo, error) // PostCheck does post action after provisioning PostCheck(ctx context.Context, clusterInfo *ClusterInfo) (*ClusterInfo, error) // Remove removes the cluster Remove(ctx context.Context, clusterInfo *ClusterInfo) error GetVersion(ctx context.Context, clusterInfo *ClusterInfo) (*KubernetesVersion, error) SetVersion(ctx context.Context, clusterInfo *ClusterInfo, version *KubernetesVersion) error GetClusterSize(ctx context.Context, clusterInfo *ClusterInfo) (*NodeCount, error) SetClusterSize(ctx context.Context, clusterInfo *ClusterInfo, count *NodeCount) error // Get driver capabilities GetCapabilities(ctx context.Context) (*Capabilities, error) // Remove legacy service account token RemoveLegacyServiceAccount(ctx context.Context, clusterInfo *ClusterInfo) error ETCDSave(ctx context.Context, clusterInfo *ClusterInfo, opts *DriverOptions, snapshotName string) error ETCDRestore(ctx context.Context, clusterInfo *ClusterInfo, opts *DriverOptions, snapshotName string) (*ClusterInfo, error) ETCDRemoveSnapshot(ctx context.Context, clusterInfo *ClusterInfo, opts *DriverOptions, snapshotName string) error GetK8SCapabilities(ctx context.Context, opts *DriverOptions) (*K8SCapabilities, error) }
Driver defines the interface that each driver plugin should implement
type DriverClient ¶
type DriverClient interface { Create(ctx context.Context, in *CreateRequest, opts ...grpc.CallOption) (*ClusterInfo, error) Update(ctx context.Context, in *UpdateRequest, opts ...grpc.CallOption) (*ClusterInfo, error) PostCheck(ctx context.Context, in *ClusterInfo, opts ...grpc.CallOption) (*ClusterInfo, error) Remove(ctx context.Context, in *ClusterInfo, opts ...grpc.CallOption) (*Empty, error) GetDriverCreateOptions(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*DriverFlags, error) GetDriverUpdateOptions(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*DriverFlags, error) GetVersion(ctx context.Context, in *ClusterInfo, opts ...grpc.CallOption) (*KubernetesVersion, error) SetVersion(ctx context.Context, in *SetVersionRequest, opts ...grpc.CallOption) (*Empty, error) GetNodeCount(ctx context.Context, in *ClusterInfo, opts ...grpc.CallOption) (*NodeCount, error) SetNodeCount(ctx context.Context, in *SetNodeCountRequest, opts ...grpc.CallOption) (*Empty, error) GetCapabilities(ctx context.Context, in *Empty, opts ...grpc.CallOption) (*Capabilities, error) ETCDSave(ctx context.Context, in *SaveETCDSnapshotRequest, opts ...grpc.CallOption) (*Empty, error) ETCDRestore(ctx context.Context, in *RestoreETCDSnapshotRequest, opts ...grpc.CallOption) (*ClusterInfo, error) ETCDRemoveSnapshot(ctx context.Context, in *RemoveETCDSnapshotRequest, opts ...grpc.CallOption) (*Empty, error) GetK8SCapabilities(ctx context.Context, in *DriverOptions, opts ...grpc.CallOption) (*K8SCapabilities, error) RemoveLegacyServiceAccount(ctx context.Context, in *ClusterInfo, opts ...grpc.CallOption) (*Empty, error) }
DriverClient is the client API for Driver service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDriverClient ¶
func NewDriverClient(cc *grpc.ClientConn) DriverClient
type DriverFlags ¶
type DriverFlags struct { Options map[string]*Flag `` /* 155-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DriverFlags) Descriptor ¶
func (*DriverFlags) Descriptor() ([]byte, []int)
func (*DriverFlags) GetOptions ¶
func (m *DriverFlags) GetOptions() map[string]*Flag
func (*DriverFlags) ProtoMessage ¶
func (*DriverFlags) ProtoMessage()
func (*DriverFlags) Reset ¶
func (m *DriverFlags) Reset()
func (*DriverFlags) String ¶
func (m *DriverFlags) String() string
func (*DriverFlags) XXX_DiscardUnknown ¶
func (m *DriverFlags) XXX_DiscardUnknown()
func (*DriverFlags) XXX_Marshal ¶
func (m *DriverFlags) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DriverFlags) XXX_Merge ¶
func (m *DriverFlags) XXX_Merge(src proto.Message)
func (*DriverFlags) XXX_Size ¶
func (m *DriverFlags) XXX_Size() int
func (*DriverFlags) XXX_Unmarshal ¶
func (m *DriverFlags) XXX_Unmarshal(b []byte) error
type DriverOptions ¶
type DriverOptions struct { BoolOptions map[string]bool `` /* 183-byte string literal not displayed */ StringOptions map[string]string `` /* 188-byte string literal not displayed */ IntOptions map[string]int64 `` /* 180-byte string literal not displayed */ StringSliceOptions map[string]*StringSlice `` /* 205-byte string literal not displayed */ XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*DriverOptions) Descriptor ¶
func (*DriverOptions) Descriptor() ([]byte, []int)
func (*DriverOptions) GetBoolOptions ¶
func (m *DriverOptions) GetBoolOptions() map[string]bool
func (*DriverOptions) GetIntOptions ¶
func (m *DriverOptions) GetIntOptions() map[string]int64
func (*DriverOptions) GetStringOptions ¶
func (m *DriverOptions) GetStringOptions() map[string]string
func (*DriverOptions) GetStringSliceOptions ¶
func (m *DriverOptions) GetStringSliceOptions() map[string]*StringSlice
func (*DriverOptions) ProtoMessage ¶
func (*DriverOptions) ProtoMessage()
func (*DriverOptions) Reset ¶
func (m *DriverOptions) Reset()
func (*DriverOptions) String ¶
func (m *DriverOptions) String() string
func (*DriverOptions) XXX_DiscardUnknown ¶
func (m *DriverOptions) XXX_DiscardUnknown()
func (*DriverOptions) XXX_Marshal ¶
func (m *DriverOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DriverOptions) XXX_Merge ¶
func (m *DriverOptions) XXX_Merge(src proto.Message)
func (*DriverOptions) XXX_Size ¶
func (m *DriverOptions) XXX_Size() int
func (*DriverOptions) XXX_Unmarshal ¶
func (m *DriverOptions) XXX_Unmarshal(b []byte) error
type DriverServer ¶
type DriverServer interface { Create(context.Context, *CreateRequest) (*ClusterInfo, error) Update(context.Context, *UpdateRequest) (*ClusterInfo, error) PostCheck(context.Context, *ClusterInfo) (*ClusterInfo, error) Remove(context.Context, *ClusterInfo) (*Empty, error) GetDriverCreateOptions(context.Context, *Empty) (*DriverFlags, error) GetDriverUpdateOptions(context.Context, *Empty) (*DriverFlags, error) GetVersion(context.Context, *ClusterInfo) (*KubernetesVersion, error) SetVersion(context.Context, *SetVersionRequest) (*Empty, error) GetNodeCount(context.Context, *ClusterInfo) (*NodeCount, error) SetNodeCount(context.Context, *SetNodeCountRequest) (*Empty, error) GetCapabilities(context.Context, *Empty) (*Capabilities, error) ETCDSave(context.Context, *SaveETCDSnapshotRequest) (*Empty, error) ETCDRestore(context.Context, *RestoreETCDSnapshotRequest) (*ClusterInfo, error) ETCDRemoveSnapshot(context.Context, *RemoveETCDSnapshotRequest) (*Empty, error) GetK8SCapabilities(context.Context, *DriverOptions) (*K8SCapabilities, error) RemoveLegacyServiceAccount(context.Context, *ClusterInfo) (*Empty, error) }
DriverServer is the server API for Driver service.
type Empty ¶
type Empty struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Empty) Descriptor ¶
func (*Empty) ProtoMessage ¶
func (*Empty) ProtoMessage()
func (*Empty) XXX_DiscardUnknown ¶
func (m *Empty) XXX_DiscardUnknown()
func (*Empty) XXX_Marshal ¶
func (*Empty) XXX_Unmarshal ¶
type Flag ¶
type Flag struct { Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` Usage string `protobuf:"bytes,2,opt,name=usage,proto3" json:"usage,omitempty"` Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` Default *Default `protobuf:"bytes,4,opt,name=default,proto3" json:"default,omitempty"` Password bool `protobuf:"varint,5,opt,name=password,proto3" json:"password,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Flag) Descriptor ¶
func (*Flag) GetDefault ¶
func (*Flag) GetPassword ¶
func (*Flag) ProtoMessage ¶
func (*Flag) ProtoMessage()
func (*Flag) XXX_DiscardUnknown ¶
func (m *Flag) XXX_DiscardUnknown()
func (*Flag) XXX_Unmarshal ¶
type GrpcServer ¶
type GrpcServer struct {
// contains filtered or unexported fields
}
GrpcServer defines the server struct
func NewServer ¶
func NewServer(driver Driver, addr chan string) *GrpcServer
NewServer creates a grpc server for a specific plugin
func (*GrpcServer) Create ¶
func (s *GrpcServer) Create(ctx context.Context, create *CreateRequest) (*ClusterInfo, error)
Create implements grpc method
func (*GrpcServer) ETCDRemoveSnapshot ¶
func (s *GrpcServer) ETCDRemoveSnapshot(ctx context.Context, request *RemoveETCDSnapshotRequest) (*Empty, error)
func (*GrpcServer) ETCDRestore ¶
func (s *GrpcServer) ETCDRestore(ctx context.Context, request *RestoreETCDSnapshotRequest) (*ClusterInfo, error)
func (*GrpcServer) ETCDSave ¶
func (s *GrpcServer) ETCDSave(ctx context.Context, request *SaveETCDSnapshotRequest) (*Empty, error)
func (*GrpcServer) GetCapabilities ¶
func (s *GrpcServer) GetCapabilities(ctx context.Context, in *Empty) (*Capabilities, error)
func (*GrpcServer) GetDriverCreateOptions ¶
func (s *GrpcServer) GetDriverCreateOptions(ctx context.Context, in *Empty) (*DriverFlags, error)
GetDriverCreateOptions implements grpc method
func (*GrpcServer) GetDriverUpdateOptions ¶
func (s *GrpcServer) GetDriverUpdateOptions(ctx context.Context, in *Empty) (*DriverFlags, error)
GetDriverUpdateOptions implements grpc method
func (*GrpcServer) GetK8SCapabilities ¶
func (s *GrpcServer) GetK8SCapabilities(ctx context.Context, opts *DriverOptions) (*K8SCapabilities, error)
func (*GrpcServer) GetNodeCount ¶
func (s *GrpcServer) GetNodeCount(ctx context.Context, clusterInfo *ClusterInfo) (*NodeCount, error)
func (*GrpcServer) GetVersion ¶
func (s *GrpcServer) GetVersion(ctx context.Context, clusterInfo *ClusterInfo) (*KubernetesVersion, error)
func (*GrpcServer) PostCheck ¶
func (s *GrpcServer) PostCheck(ctx context.Context, clusterInfo *ClusterInfo) (*ClusterInfo, error)
func (*GrpcServer) Remove ¶
func (s *GrpcServer) Remove(ctx context.Context, clusterInfo *ClusterInfo) (*Empty, error)
Remove implements grpc method
func (*GrpcServer) RemoveLegacyServiceAccount ¶
func (s *GrpcServer) RemoveLegacyServiceAccount(ctx context.Context, clusterInfo *ClusterInfo) (*Empty, error)
func (*GrpcServer) Serve ¶
func (s *GrpcServer) Serve(listenAddr string, errChan chan error)
Serve serves a grpc server. Sends errors to the error channel if they occur
func (*GrpcServer) ServeOrDie ¶
func (s *GrpcServer) ServeOrDie(listenAddr string)
ServeOrDie serves a grpc server or kills the process
func (*GrpcServer) SetNodeCount ¶
func (s *GrpcServer) SetNodeCount(ctx context.Context, request *SetNodeCountRequest) (*Empty, error)
func (*GrpcServer) SetVersion ¶
func (s *GrpcServer) SetVersion(ctx context.Context, request *SetVersionRequest) (*Empty, error)
func (*GrpcServer) Stop ¶
func (s *GrpcServer) Stop()
func (*GrpcServer) Update ¶
func (s *GrpcServer) Update(ctx context.Context, update *UpdateRequest) (*ClusterInfo, error)
Update implements grpc method
type IngressCapabilities ¶
type IngressCapabilities struct { IngressProvider string `protobuf:"bytes,1,opt,name=IngressProvider,proto3" json:"IngressProvider,omitempty"` CustomDefaultBackend bool `protobuf:"varint,2,opt,name=CustomDefaultBackend,proto3" json:"CustomDefaultBackend,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*IngressCapabilities) Descriptor ¶
func (*IngressCapabilities) Descriptor() ([]byte, []int)
func (*IngressCapabilities) GetCustomDefaultBackend ¶
func (m *IngressCapabilities) GetCustomDefaultBackend() bool
func (*IngressCapabilities) GetIngressProvider ¶
func (m *IngressCapabilities) GetIngressProvider() string
func (*IngressCapabilities) ProtoMessage ¶
func (*IngressCapabilities) ProtoMessage()
func (*IngressCapabilities) Reset ¶
func (m *IngressCapabilities) Reset()
func (*IngressCapabilities) String ¶
func (m *IngressCapabilities) String() string
func (*IngressCapabilities) XXX_DiscardUnknown ¶
func (m *IngressCapabilities) XXX_DiscardUnknown()
func (*IngressCapabilities) XXX_Marshal ¶
func (m *IngressCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*IngressCapabilities) XXX_Merge ¶
func (m *IngressCapabilities) XXX_Merge(src proto.Message)
func (*IngressCapabilities) XXX_Size ¶
func (m *IngressCapabilities) XXX_Size() int
func (*IngressCapabilities) XXX_Unmarshal ¶
func (m *IngressCapabilities) XXX_Unmarshal(b []byte) error
type K8SCapabilities ¶
type K8SCapabilities struct { L4LoadBalancer *LoadBalancerCapabilities `protobuf:"bytes,1,opt,name=L4LoadBalancer,proto3" json:"L4LoadBalancer,omitempty"` IngressControllers []*IngressCapabilities `protobuf:"bytes,2,rep,name=IngressControllers,proto3" json:"IngressControllers,omitempty"` NodePoolScalingSupported bool `protobuf:"varint,3,opt,name=NodePoolScalingSupported,proto3" json:"NodePoolScalingSupported,omitempty"` NodePortRange string `protobuf:"bytes,4,opt,name=NodePortRange,proto3" json:"NodePortRange,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*K8SCapabilities) Descriptor ¶
func (*K8SCapabilities) Descriptor() ([]byte, []int)
func (*K8SCapabilities) GetIngressControllers ¶
func (m *K8SCapabilities) GetIngressControllers() []*IngressCapabilities
func (*K8SCapabilities) GetL4LoadBalancer ¶
func (m *K8SCapabilities) GetL4LoadBalancer() *LoadBalancerCapabilities
func (*K8SCapabilities) GetNodePoolScalingSupported ¶
func (m *K8SCapabilities) GetNodePoolScalingSupported() bool
func (*K8SCapabilities) GetNodePortRange ¶
func (m *K8SCapabilities) GetNodePortRange() string
func (*K8SCapabilities) ProtoMessage ¶
func (*K8SCapabilities) ProtoMessage()
func (*K8SCapabilities) Reset ¶
func (m *K8SCapabilities) Reset()
func (*K8SCapabilities) String ¶
func (m *K8SCapabilities) String() string
func (*K8SCapabilities) XXX_DiscardUnknown ¶
func (m *K8SCapabilities) XXX_DiscardUnknown()
func (*K8SCapabilities) XXX_Marshal ¶
func (m *K8SCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*K8SCapabilities) XXX_Merge ¶
func (m *K8SCapabilities) XXX_Merge(src proto.Message)
func (*K8SCapabilities) XXX_Size ¶
func (m *K8SCapabilities) XXX_Size() int
func (*K8SCapabilities) XXX_Unmarshal ¶
func (m *K8SCapabilities) XXX_Unmarshal(b []byte) error
type KubernetesVersion ¶
type KubernetesVersion struct { Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*KubernetesVersion) Descriptor ¶
func (*KubernetesVersion) Descriptor() ([]byte, []int)
func (*KubernetesVersion) GetVersion ¶
func (m *KubernetesVersion) GetVersion() string
func (*KubernetesVersion) ProtoMessage ¶
func (*KubernetesVersion) ProtoMessage()
func (*KubernetesVersion) Reset ¶
func (m *KubernetesVersion) Reset()
func (*KubernetesVersion) String ¶
func (m *KubernetesVersion) String() string
func (*KubernetesVersion) XXX_DiscardUnknown ¶
func (m *KubernetesVersion) XXX_DiscardUnknown()
func (*KubernetesVersion) XXX_Marshal ¶
func (m *KubernetesVersion) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*KubernetesVersion) XXX_Merge ¶
func (m *KubernetesVersion) XXX_Merge(src proto.Message)
func (*KubernetesVersion) XXX_Size ¶
func (m *KubernetesVersion) XXX_Size() int
func (*KubernetesVersion) XXX_Unmarshal ¶
func (m *KubernetesVersion) XXX_Unmarshal(b []byte) error
type LoadBalancerCapabilities ¶
type LoadBalancerCapabilities struct { Enabled bool `protobuf:"varint,1,opt,name=Enabled,proto3" json:"Enabled,omitempty"` Provider string `protobuf:"bytes,2,opt,name=Provider,proto3" json:"Provider,omitempty"` ProtocolsSupported []string `protobuf:"bytes,3,rep,name=ProtocolsSupported,proto3" json:"ProtocolsSupported,omitempty"` HealthCheckSupported bool `protobuf:"varint,4,opt,name=HealthCheckSupported,proto3" json:"HealthCheckSupported,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*LoadBalancerCapabilities) Descriptor ¶
func (*LoadBalancerCapabilities) Descriptor() ([]byte, []int)
func (*LoadBalancerCapabilities) GetEnabled ¶
func (m *LoadBalancerCapabilities) GetEnabled() bool
func (*LoadBalancerCapabilities) GetHealthCheckSupported ¶
func (m *LoadBalancerCapabilities) GetHealthCheckSupported() bool
func (*LoadBalancerCapabilities) GetProtocolsSupported ¶
func (m *LoadBalancerCapabilities) GetProtocolsSupported() []string
func (*LoadBalancerCapabilities) GetProvider ¶
func (m *LoadBalancerCapabilities) GetProvider() string
func (*LoadBalancerCapabilities) ProtoMessage ¶
func (*LoadBalancerCapabilities) ProtoMessage()
func (*LoadBalancerCapabilities) Reset ¶
func (m *LoadBalancerCapabilities) Reset()
func (*LoadBalancerCapabilities) String ¶
func (m *LoadBalancerCapabilities) String() string
func (*LoadBalancerCapabilities) XXX_DiscardUnknown ¶
func (m *LoadBalancerCapabilities) XXX_DiscardUnknown()
func (*LoadBalancerCapabilities) XXX_Marshal ¶
func (m *LoadBalancerCapabilities) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*LoadBalancerCapabilities) XXX_Merge ¶
func (m *LoadBalancerCapabilities) XXX_Merge(src proto.Message)
func (*LoadBalancerCapabilities) XXX_Size ¶
func (m *LoadBalancerCapabilities) XXX_Size() int
func (*LoadBalancerCapabilities) XXX_Unmarshal ¶
func (m *LoadBalancerCapabilities) XXX_Unmarshal(b []byte) error
type NodeCount ¶
type NodeCount struct { Count int64 `protobuf:"varint,1,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*NodeCount) Descriptor ¶
func (*NodeCount) ProtoMessage ¶
func (*NodeCount) ProtoMessage()
func (*NodeCount) XXX_DiscardUnknown ¶
func (m *NodeCount) XXX_DiscardUnknown()
func (*NodeCount) XXX_Marshal ¶
func (*NodeCount) XXX_Unmarshal ¶
type RemoveETCDSnapshotRequest ¶
type RemoveETCDSnapshotRequest struct { Info *ClusterInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` DriverOptions *DriverOptions `protobuf:"bytes,2,opt,name=driver_options,json=driverOptions,proto3" json:"driver_options,omitempty"` SnapshotName string `protobuf:"bytes,3,opt,name=SnapshotName,proto3" json:"SnapshotName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RemoveETCDSnapshotRequest) Descriptor ¶
func (*RemoveETCDSnapshotRequest) Descriptor() ([]byte, []int)
func (*RemoveETCDSnapshotRequest) GetDriverOptions ¶
func (m *RemoveETCDSnapshotRequest) GetDriverOptions() *DriverOptions
func (*RemoveETCDSnapshotRequest) GetInfo ¶
func (m *RemoveETCDSnapshotRequest) GetInfo() *ClusterInfo
func (*RemoveETCDSnapshotRequest) GetSnapshotName ¶
func (m *RemoveETCDSnapshotRequest) GetSnapshotName() string
func (*RemoveETCDSnapshotRequest) ProtoMessage ¶
func (*RemoveETCDSnapshotRequest) ProtoMessage()
func (*RemoveETCDSnapshotRequest) Reset ¶
func (m *RemoveETCDSnapshotRequest) Reset()
func (*RemoveETCDSnapshotRequest) String ¶
func (m *RemoveETCDSnapshotRequest) String() string
func (*RemoveETCDSnapshotRequest) XXX_DiscardUnknown ¶
func (m *RemoveETCDSnapshotRequest) XXX_DiscardUnknown()
func (*RemoveETCDSnapshotRequest) XXX_Marshal ¶
func (m *RemoveETCDSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RemoveETCDSnapshotRequest) XXX_Merge ¶
func (m *RemoveETCDSnapshotRequest) XXX_Merge(src proto.Message)
func (*RemoveETCDSnapshotRequest) XXX_Size ¶
func (m *RemoveETCDSnapshotRequest) XXX_Size() int
func (*RemoveETCDSnapshotRequest) XXX_Unmarshal ¶
func (m *RemoveETCDSnapshotRequest) XXX_Unmarshal(b []byte) error
type RestoreETCDSnapshotRequest ¶
type RestoreETCDSnapshotRequest struct { Info *ClusterInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` DriverOptions *DriverOptions `protobuf:"bytes,2,opt,name=driver_options,json=driverOptions,proto3" json:"driver_options,omitempty"` SnapshotName string `protobuf:"bytes,3,opt,name=SnapshotName,proto3" json:"SnapshotName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RestoreETCDSnapshotRequest) Descriptor ¶
func (*RestoreETCDSnapshotRequest) Descriptor() ([]byte, []int)
func (*RestoreETCDSnapshotRequest) GetDriverOptions ¶
func (m *RestoreETCDSnapshotRequest) GetDriverOptions() *DriverOptions
func (*RestoreETCDSnapshotRequest) GetInfo ¶
func (m *RestoreETCDSnapshotRequest) GetInfo() *ClusterInfo
func (*RestoreETCDSnapshotRequest) GetSnapshotName ¶
func (m *RestoreETCDSnapshotRequest) GetSnapshotName() string
func (*RestoreETCDSnapshotRequest) ProtoMessage ¶
func (*RestoreETCDSnapshotRequest) ProtoMessage()
func (*RestoreETCDSnapshotRequest) Reset ¶
func (m *RestoreETCDSnapshotRequest) Reset()
func (*RestoreETCDSnapshotRequest) String ¶
func (m *RestoreETCDSnapshotRequest) String() string
func (*RestoreETCDSnapshotRequest) XXX_DiscardUnknown ¶
func (m *RestoreETCDSnapshotRequest) XXX_DiscardUnknown()
func (*RestoreETCDSnapshotRequest) XXX_Marshal ¶
func (m *RestoreETCDSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RestoreETCDSnapshotRequest) XXX_Merge ¶
func (m *RestoreETCDSnapshotRequest) XXX_Merge(src proto.Message)
func (*RestoreETCDSnapshotRequest) XXX_Size ¶
func (m *RestoreETCDSnapshotRequest) XXX_Size() int
func (*RestoreETCDSnapshotRequest) XXX_Unmarshal ¶
func (m *RestoreETCDSnapshotRequest) XXX_Unmarshal(b []byte) error
type SaveETCDSnapshotRequest ¶
type SaveETCDSnapshotRequest struct { Info *ClusterInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` DriverOptions *DriverOptions `protobuf:"bytes,2,opt,name=driver_options,json=driverOptions,proto3" json:"driver_options,omitempty"` SnapshotName string `protobuf:"bytes,3,opt,name=SnapshotName,proto3" json:"SnapshotName,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SaveETCDSnapshotRequest) Descriptor ¶
func (*SaveETCDSnapshotRequest) Descriptor() ([]byte, []int)
func (*SaveETCDSnapshotRequest) GetDriverOptions ¶
func (m *SaveETCDSnapshotRequest) GetDriverOptions() *DriverOptions
func (*SaveETCDSnapshotRequest) GetInfo ¶
func (m *SaveETCDSnapshotRequest) GetInfo() *ClusterInfo
func (*SaveETCDSnapshotRequest) GetSnapshotName ¶
func (m *SaveETCDSnapshotRequest) GetSnapshotName() string
func (*SaveETCDSnapshotRequest) ProtoMessage ¶
func (*SaveETCDSnapshotRequest) ProtoMessage()
func (*SaveETCDSnapshotRequest) Reset ¶
func (m *SaveETCDSnapshotRequest) Reset()
func (*SaveETCDSnapshotRequest) String ¶
func (m *SaveETCDSnapshotRequest) String() string
func (*SaveETCDSnapshotRequest) XXX_DiscardUnknown ¶
func (m *SaveETCDSnapshotRequest) XXX_DiscardUnknown()
func (*SaveETCDSnapshotRequest) XXX_Marshal ¶
func (m *SaveETCDSnapshotRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SaveETCDSnapshotRequest) XXX_Merge ¶
func (m *SaveETCDSnapshotRequest) XXX_Merge(src proto.Message)
func (*SaveETCDSnapshotRequest) XXX_Size ¶
func (m *SaveETCDSnapshotRequest) XXX_Size() int
func (*SaveETCDSnapshotRequest) XXX_Unmarshal ¶
func (m *SaveETCDSnapshotRequest) XXX_Unmarshal(b []byte) error
type SetNodeCountRequest ¶
type SetNodeCountRequest struct { Info *ClusterInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` Count *NodeCount `protobuf:"bytes,2,opt,name=count,proto3" json:"count,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetNodeCountRequest) Descriptor ¶
func (*SetNodeCountRequest) Descriptor() ([]byte, []int)
func (*SetNodeCountRequest) GetCount ¶
func (m *SetNodeCountRequest) GetCount() *NodeCount
func (*SetNodeCountRequest) GetInfo ¶
func (m *SetNodeCountRequest) GetInfo() *ClusterInfo
func (*SetNodeCountRequest) ProtoMessage ¶
func (*SetNodeCountRequest) ProtoMessage()
func (*SetNodeCountRequest) Reset ¶
func (m *SetNodeCountRequest) Reset()
func (*SetNodeCountRequest) String ¶
func (m *SetNodeCountRequest) String() string
func (*SetNodeCountRequest) XXX_DiscardUnknown ¶
func (m *SetNodeCountRequest) XXX_DiscardUnknown()
func (*SetNodeCountRequest) XXX_Marshal ¶
func (m *SetNodeCountRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetNodeCountRequest) XXX_Merge ¶
func (m *SetNodeCountRequest) XXX_Merge(src proto.Message)
func (*SetNodeCountRequest) XXX_Size ¶
func (m *SetNodeCountRequest) XXX_Size() int
func (*SetNodeCountRequest) XXX_Unmarshal ¶
func (m *SetNodeCountRequest) XXX_Unmarshal(b []byte) error
type SetVersionRequest ¶
type SetVersionRequest struct { Info *ClusterInfo `protobuf:"bytes,1,opt,name=info,proto3" json:"info,omitempty"` Version *KubernetesVersion `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*SetVersionRequest) Descriptor ¶
func (*SetVersionRequest) Descriptor() ([]byte, []int)
func (*SetVersionRequest) GetInfo ¶
func (m *SetVersionRequest) GetInfo() *ClusterInfo
func (*SetVersionRequest) GetVersion ¶
func (m *SetVersionRequest) GetVersion() *KubernetesVersion
func (*SetVersionRequest) ProtoMessage ¶
func (*SetVersionRequest) ProtoMessage()
func (*SetVersionRequest) Reset ¶
func (m *SetVersionRequest) Reset()
func (*SetVersionRequest) String ¶
func (m *SetVersionRequest) String() string
func (*SetVersionRequest) XXX_DiscardUnknown ¶
func (m *SetVersionRequest) XXX_DiscardUnknown()
func (*SetVersionRequest) XXX_Marshal ¶
func (m *SetVersionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SetVersionRequest) XXX_Merge ¶
func (m *SetVersionRequest) XXX_Merge(src proto.Message)
func (*SetVersionRequest) XXX_Size ¶
func (m *SetVersionRequest) XXX_Size() int
func (*SetVersionRequest) XXX_Unmarshal ¶
func (m *SetVersionRequest) XXX_Unmarshal(b []byte) error
type StringSlice ¶
type StringSlice struct { Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*StringSlice) Descriptor ¶
func (*StringSlice) Descriptor() ([]byte, []int)
func (*StringSlice) GetValue ¶
func (m *StringSlice) GetValue() []string
func (*StringSlice) ProtoMessage ¶
func (*StringSlice) ProtoMessage()
func (*StringSlice) Reset ¶
func (m *StringSlice) Reset()
func (*StringSlice) String ¶
func (m *StringSlice) String() string
func (*StringSlice) XXX_DiscardUnknown ¶
func (m *StringSlice) XXX_DiscardUnknown()
func (*StringSlice) XXX_Marshal ¶
func (m *StringSlice) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*StringSlice) XXX_Merge ¶
func (m *StringSlice) XXX_Merge(src proto.Message)
func (*StringSlice) XXX_Size ¶
func (m *StringSlice) XXX_Size() int
func (*StringSlice) XXX_Unmarshal ¶
func (m *StringSlice) XXX_Unmarshal(b []byte) error
type UnimplementedClusterSizeAccess ¶
type UnimplementedClusterSizeAccess struct { }
func (*UnimplementedClusterSizeAccess) GetClusterSize ¶
func (u *UnimplementedClusterSizeAccess) GetClusterSize(ctx context.Context, info *ClusterInfo) (*NodeCount, error)
func (*UnimplementedClusterSizeAccess) SetClusterSize ¶
func (u *UnimplementedClusterSizeAccess) SetClusterSize(ctx context.Context, info *ClusterInfo, count *NodeCount) error
type UnimplementedVersionAccess ¶
type UnimplementedVersionAccess struct { }
func (*UnimplementedVersionAccess) GetVersion ¶
func (u *UnimplementedVersionAccess) GetVersion(ctx context.Context, info *ClusterInfo) (*KubernetesVersion, error)
func (*UnimplementedVersionAccess) SetVersion ¶
func (u *UnimplementedVersionAccess) SetVersion(ctx context.Context, info *ClusterInfo, version *KubernetesVersion) error
type UpdateRequest ¶
type UpdateRequest struct { ClusterInfo *ClusterInfo `protobuf:"bytes,1,opt,name=cluster_info,json=clusterInfo,proto3" json:"cluster_info,omitempty"` DriverOptions *DriverOptions `protobuf:"bytes,2,opt,name=driver_options,json=driverOptions,proto3" json:"driver_options,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*UpdateRequest) Descriptor ¶
func (*UpdateRequest) Descriptor() ([]byte, []int)
func (*UpdateRequest) GetClusterInfo ¶
func (m *UpdateRequest) GetClusterInfo() *ClusterInfo
func (*UpdateRequest) GetDriverOptions ¶
func (m *UpdateRequest) GetDriverOptions() *DriverOptions
func (*UpdateRequest) ProtoMessage ¶
func (*UpdateRequest) ProtoMessage()
func (*UpdateRequest) Reset ¶
func (m *UpdateRequest) Reset()
func (*UpdateRequest) String ¶
func (m *UpdateRequest) String() string
func (*UpdateRequest) XXX_DiscardUnknown ¶
func (m *UpdateRequest) XXX_DiscardUnknown()
func (*UpdateRequest) XXX_Marshal ¶
func (m *UpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateRequest) XXX_Merge ¶
func (m *UpdateRequest) XXX_Merge(src proto.Message)
func (*UpdateRequest) XXX_Size ¶
func (m *UpdateRequest) XXX_Size() int
func (*UpdateRequest) XXX_Unmarshal ¶
func (m *UpdateRequest) XXX_Unmarshal(b []byte) error