Documentation ¶
Overview ¶
Package dbaasv1beta1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Package dbaasv1beta1 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Variables
- func RegisterKubernetesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterKubernetesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KubernetesClient) error
- func RegisterKubernetesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterKubernetesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KubernetesServer) error
- func RegisterKubernetesServer(s *grpc.Server, srv KubernetesServer)
- func RegisterXtraDBClusterHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterXtraDBClusterHandlerClient(ctx context.Context, mux *runtime.ServeMux, client XtraDBClusterClient) error
- func RegisterXtraDBClusterHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterXtraDBClusterHandlerServer(ctx context.Context, mux *runtime.ServeMux, server XtraDBClusterServer) error
- func RegisterXtraDBClusterServer(s *grpc.Server, srv XtraDBClusterServer)
- type ComputeResources
- func (*ComputeResources) Descriptor() ([]byte, []int)deprecated
- func (x *ComputeResources) GetCpuM() int32
- func (x *ComputeResources) GetMemoryBytes() int64
- func (*ComputeResources) ProtoMessage()
- func (x *ComputeResources) ProtoReflect() protoreflect.Message
- func (x *ComputeResources) Reset()
- func (x *ComputeResources) String() string
- func (this *ComputeResources) Validate() error
- type CreateXtraDBClusterRequest
- func (*CreateXtraDBClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateXtraDBClusterRequest) GetKubernetesClusterName() string
- func (x *CreateXtraDBClusterRequest) GetName() string
- func (x *CreateXtraDBClusterRequest) GetParams() *XtraDBClusterParams
- func (*CreateXtraDBClusterRequest) ProtoMessage()
- func (x *CreateXtraDBClusterRequest) ProtoReflect() protoreflect.Message
- func (x *CreateXtraDBClusterRequest) Reset()
- func (x *CreateXtraDBClusterRequest) String() string
- func (this *CreateXtraDBClusterRequest) Validate() error
- type CreateXtraDBClusterResponse
- func (*CreateXtraDBClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*CreateXtraDBClusterResponse) ProtoMessage()
- func (x *CreateXtraDBClusterResponse) ProtoReflect() protoreflect.Message
- func (x *CreateXtraDBClusterResponse) Reset()
- func (x *CreateXtraDBClusterResponse) String() string
- func (this *CreateXtraDBClusterResponse) Validate() error
- type DeleteXtraDBClusterRequest
- func (*DeleteXtraDBClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteXtraDBClusterRequest) GetKubernetesClusterName() string
- func (x *DeleteXtraDBClusterRequest) GetName() string
- func (*DeleteXtraDBClusterRequest) ProtoMessage()
- func (x *DeleteXtraDBClusterRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteXtraDBClusterRequest) Reset()
- func (x *DeleteXtraDBClusterRequest) String() string
- func (this *DeleteXtraDBClusterRequest) Validate() error
- type DeleteXtraDBClusterResponse
- func (*DeleteXtraDBClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeleteXtraDBClusterResponse) ProtoMessage()
- func (x *DeleteXtraDBClusterResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteXtraDBClusterResponse) Reset()
- func (x *DeleteXtraDBClusterResponse) String() string
- func (this *DeleteXtraDBClusterResponse) Validate() error
- type KubeAuth
- type KubernetesClient
- type KubernetesServer
- type ListKubernetesClustersRequest
- func (*ListKubernetesClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (*ListKubernetesClustersRequest) ProtoMessage()
- func (x *ListKubernetesClustersRequest) ProtoReflect() protoreflect.Message
- func (x *ListKubernetesClustersRequest) Reset()
- func (x *ListKubernetesClustersRequest) String() string
- func (this *ListKubernetesClustersRequest) Validate() error
- type ListKubernetesClustersResponse
- func (*ListKubernetesClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListKubernetesClustersResponse) GetKubernetesClusters() []*ListKubernetesClustersResponse_Cluster
- func (*ListKubernetesClustersResponse) ProtoMessage()
- func (x *ListKubernetesClustersResponse) ProtoReflect() protoreflect.Message
- func (x *ListKubernetesClustersResponse) Reset()
- func (x *ListKubernetesClustersResponse) String() string
- func (this *ListKubernetesClustersResponse) Validate() error
- type ListKubernetesClustersResponse_Cluster
- func (*ListKubernetesClustersResponse_Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *ListKubernetesClustersResponse_Cluster) GetKubernetesClusterName() string
- func (*ListKubernetesClustersResponse_Cluster) ProtoMessage()
- func (x *ListKubernetesClustersResponse_Cluster) ProtoReflect() protoreflect.Message
- func (x *ListKubernetesClustersResponse_Cluster) Reset()
- func (x *ListKubernetesClustersResponse_Cluster) String() string
- func (this *ListKubernetesClustersResponse_Cluster) Validate() error
- type ListXtraDBClustersRequest
- func (*ListXtraDBClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListXtraDBClustersRequest) GetKubernetesClusterName() string
- func (*ListXtraDBClustersRequest) ProtoMessage()
- func (x *ListXtraDBClustersRequest) ProtoReflect() protoreflect.Message
- func (x *ListXtraDBClustersRequest) Reset()
- func (x *ListXtraDBClustersRequest) String() string
- func (this *ListXtraDBClustersRequest) Validate() error
- type ListXtraDBClustersResponse
- func (*ListXtraDBClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListXtraDBClustersResponse) GetClusters() []*ListXtraDBClustersResponse_Cluster
- func (*ListXtraDBClustersResponse) ProtoMessage()
- func (x *ListXtraDBClustersResponse) ProtoReflect() protoreflect.Message
- func (x *ListXtraDBClustersResponse) Reset()
- func (x *ListXtraDBClustersResponse) String() string
- func (this *ListXtraDBClustersResponse) Validate() error
- type ListXtraDBClustersResponse_Cluster
- func (*ListXtraDBClustersResponse_Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *ListXtraDBClustersResponse_Cluster) GetName() string
- func (x *ListXtraDBClustersResponse_Cluster) GetOperation() *RunningOperation
- func (x *ListXtraDBClustersResponse_Cluster) GetParams() *XtraDBClusterParams
- func (x *ListXtraDBClustersResponse_Cluster) GetState() XtraDBClusterState
- func (*ListXtraDBClustersResponse_Cluster) ProtoMessage()
- func (x *ListXtraDBClustersResponse_Cluster) ProtoReflect() protoreflect.Message
- func (x *ListXtraDBClustersResponse_Cluster) Reset()
- func (x *ListXtraDBClustersResponse_Cluster) String() string
- func (this *ListXtraDBClustersResponse_Cluster) Validate() error
- type RegisterKubernetesClusterRequest
- func (*RegisterKubernetesClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RegisterKubernetesClusterRequest) GetKubeAuth() *KubeAuth
- func (x *RegisterKubernetesClusterRequest) GetKubernetesClusterName() string
- func (*RegisterKubernetesClusterRequest) ProtoMessage()
- func (x *RegisterKubernetesClusterRequest) ProtoReflect() protoreflect.Message
- func (x *RegisterKubernetesClusterRequest) Reset()
- func (x *RegisterKubernetesClusterRequest) String() string
- func (this *RegisterKubernetesClusterRequest) Validate() error
- type RegisterKubernetesClusterResponse
- func (*RegisterKubernetesClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*RegisterKubernetesClusterResponse) ProtoMessage()
- func (x *RegisterKubernetesClusterResponse) ProtoReflect() protoreflect.Message
- func (x *RegisterKubernetesClusterResponse) Reset()
- func (x *RegisterKubernetesClusterResponse) String() string
- func (this *RegisterKubernetesClusterResponse) Validate() error
- type RunningOperation
- func (*RunningOperation) Descriptor() ([]byte, []int)deprecated
- func (x *RunningOperation) GetMessage() string
- func (x *RunningOperation) GetProgress() float32
- func (*RunningOperation) ProtoMessage()
- func (x *RunningOperation) ProtoReflect() protoreflect.Message
- func (x *RunningOperation) Reset()
- func (x *RunningOperation) String() string
- func (this *RunningOperation) Validate() error
- type UnimplementedKubernetesServer
- func (*UnimplementedKubernetesServer) ListKubernetesClusters(context.Context, *ListKubernetesClustersRequest) (*ListKubernetesClustersResponse, error)
- func (*UnimplementedKubernetesServer) RegisterKubernetesCluster(context.Context, *RegisterKubernetesClusterRequest) (*RegisterKubernetesClusterResponse, error)
- func (*UnimplementedKubernetesServer) UnregisterKubernetesCluster(context.Context, *UnregisterKubernetesClusterRequest) (*UnregisterKubernetesClusterResponse, error)
- type UnimplementedXtraDBClusterServer
- func (*UnimplementedXtraDBClusterServer) CreateXtraDBCluster(context.Context, *CreateXtraDBClusterRequest) (*CreateXtraDBClusterResponse, error)
- func (*UnimplementedXtraDBClusterServer) DeleteXtraDBCluster(context.Context, *DeleteXtraDBClusterRequest) (*DeleteXtraDBClusterResponse, error)
- func (*UnimplementedXtraDBClusterServer) ListXtraDBClusters(context.Context, *ListXtraDBClustersRequest) (*ListXtraDBClustersResponse, error)
- func (*UnimplementedXtraDBClusterServer) UpdateXtraDBCluster(context.Context, *UpdateXtraDBClusterRequest) (*UpdateXtraDBClusterResponse, error)
- type UnregisterKubernetesClusterRequest
- func (*UnregisterKubernetesClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UnregisterKubernetesClusterRequest) GetKubernetesClusterName() string
- func (*UnregisterKubernetesClusterRequest) ProtoMessage()
- func (x *UnregisterKubernetesClusterRequest) ProtoReflect() protoreflect.Message
- func (x *UnregisterKubernetesClusterRequest) Reset()
- func (x *UnregisterKubernetesClusterRequest) String() string
- func (this *UnregisterKubernetesClusterRequest) Validate() error
- type UnregisterKubernetesClusterResponse
- func (*UnregisterKubernetesClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*UnregisterKubernetesClusterResponse) ProtoMessage()
- func (x *UnregisterKubernetesClusterResponse) ProtoReflect() protoreflect.Message
- func (x *UnregisterKubernetesClusterResponse) Reset()
- func (x *UnregisterKubernetesClusterResponse) String() string
- func (this *UnregisterKubernetesClusterResponse) Validate() error
- type UpdateXtraDBClusterRequest
- func (*UpdateXtraDBClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateXtraDBClusterRequest) GetKubernetesClusterName() string
- func (x *UpdateXtraDBClusterRequest) GetName() string
- func (x *UpdateXtraDBClusterRequest) GetParams() *XtraDBClusterParams
- func (*UpdateXtraDBClusterRequest) ProtoMessage()
- func (x *UpdateXtraDBClusterRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateXtraDBClusterRequest) Reset()
- func (x *UpdateXtraDBClusterRequest) String() string
- func (this *UpdateXtraDBClusterRequest) Validate() error
- type UpdateXtraDBClusterResponse
- func (*UpdateXtraDBClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateXtraDBClusterResponse) ProtoMessage()
- func (x *UpdateXtraDBClusterResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateXtraDBClusterResponse) Reset()
- func (x *UpdateXtraDBClusterResponse) String() string
- func (this *UpdateXtraDBClusterResponse) Validate() error
- type XtraDBBackupState
- func (XtraDBBackupState) Descriptor() protoreflect.EnumDescriptor
- func (x XtraDBBackupState) Enum() *XtraDBBackupState
- func (XtraDBBackupState) EnumDescriptor() ([]byte, []int)deprecated
- func (x XtraDBBackupState) Number() protoreflect.EnumNumber
- func (x XtraDBBackupState) String() string
- func (XtraDBBackupState) Type() protoreflect.EnumType
- type XtraDBClusterClient
- type XtraDBClusterParams
- func (*XtraDBClusterParams) Descriptor() ([]byte, []int)deprecated
- func (x *XtraDBClusterParams) GetClusterSize() int32
- func (x *XtraDBClusterParams) GetProxysql() *XtraDBClusterParams_ProxySQL
- func (x *XtraDBClusterParams) GetPxc() *XtraDBClusterParams_PXC
- func (*XtraDBClusterParams) ProtoMessage()
- func (x *XtraDBClusterParams) ProtoReflect() protoreflect.Message
- func (x *XtraDBClusterParams) Reset()
- func (x *XtraDBClusterParams) String() string
- func (this *XtraDBClusterParams) Validate() error
- type XtraDBClusterParams_PXC
- func (*XtraDBClusterParams_PXC) Descriptor() ([]byte, []int)deprecated
- func (x *XtraDBClusterParams_PXC) GetComputeResources() *ComputeResources
- func (*XtraDBClusterParams_PXC) ProtoMessage()
- func (x *XtraDBClusterParams_PXC) ProtoReflect() protoreflect.Message
- func (x *XtraDBClusterParams_PXC) Reset()
- func (x *XtraDBClusterParams_PXC) String() string
- func (this *XtraDBClusterParams_PXC) Validate() error
- type XtraDBClusterParams_ProxySQL
- func (*XtraDBClusterParams_ProxySQL) Descriptor() ([]byte, []int)deprecated
- func (x *XtraDBClusterParams_ProxySQL) GetComputeResources() *ComputeResources
- func (*XtraDBClusterParams_ProxySQL) ProtoMessage()
- func (x *XtraDBClusterParams_ProxySQL) ProtoReflect() protoreflect.Message
- func (x *XtraDBClusterParams_ProxySQL) Reset()
- func (x *XtraDBClusterParams_ProxySQL) String() string
- func (this *XtraDBClusterParams_ProxySQL) Validate() error
- type XtraDBClusterServer
- type XtraDBClusterState
- func (XtraDBClusterState) Descriptor() protoreflect.EnumDescriptor
- func (x XtraDBClusterState) Enum() *XtraDBClusterState
- func (XtraDBClusterState) EnumDescriptor() ([]byte, []int)deprecated
- func (x XtraDBClusterState) Number() protoreflect.EnumNumber
- func (x XtraDBClusterState) String() string
- func (XtraDBClusterState) Type() protoreflect.EnumType
Constants ¶
This section is empty.
Variables ¶
var ( XtraDBClusterState_name = map[int32]string{ 0: "XTRA_DB_CLUSTER_STATE_INVALID", 1: "XTRA_DB_CLUSTER_STATE_CHANGING", 2: "XTRA_DB_CLUSTER_STATE_READY", 3: "XTRA_DB_CLUSTER_STATE_FAILED", 4: "XTRA_DB_CLUSTER_STATE_DELETING", } XtraDBClusterState_value = map[string]int32{ "XTRA_DB_CLUSTER_STATE_INVALID": 0, "XTRA_DB_CLUSTER_STATE_CHANGING": 1, "XTRA_DB_CLUSTER_STATE_READY": 2, "XTRA_DB_CLUSTER_STATE_FAILED": 3, "XTRA_DB_CLUSTER_STATE_DELETING": 4, } )
Enum value maps for XtraDBClusterState.
var ( XtraDBBackupState_name = map[int32]string{ 0: "XTRA_DB_BACKUP_STATE_INVALID", 1: "XTRA_DB_BACKUP_STATE_RUNNING", 2: "XTRA_DB_BACKUP_STATE_SUCCEEDED", 3: "XTRA_DB_BACKUP_STATE_FAILED", } XtraDBBackupState_value = map[string]int32{ "XTRA_DB_BACKUP_STATE_INVALID": 0, "XTRA_DB_BACKUP_STATE_RUNNING": 1, "XTRA_DB_BACKUP_STATE_SUCCEEDED": 2, "XTRA_DB_BACKUP_STATE_FAILED": 3, } )
Enum value maps for XtraDBBackupState.
var File_managementpb_dbaas_kubernetes_proto protoreflect.FileDescriptor
var File_managementpb_dbaas_xtradb_cluster_proto protoreflect.FileDescriptor
Functions ¶
func RegisterKubernetesHandler ¶
func RegisterKubernetesHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterKubernetesHandler registers the http handlers for service Kubernetes to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterKubernetesHandlerClient ¶
func RegisterKubernetesHandlerClient(ctx context.Context, mux *runtime.ServeMux, client KubernetesClient) error
RegisterKubernetesHandlerClient registers the http handlers for service Kubernetes to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "KubernetesClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "KubernetesClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "KubernetesClient" to call the correct interceptors.
func RegisterKubernetesHandlerFromEndpoint ¶
func RegisterKubernetesHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterKubernetesHandlerFromEndpoint is same as RegisterKubernetesHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterKubernetesHandlerServer ¶
func RegisterKubernetesHandlerServer(ctx context.Context, mux *runtime.ServeMux, server KubernetesServer) error
RegisterKubernetesHandlerServer registers the http handlers for service Kubernetes to "mux". UnaryRPC :call KubernetesServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterKubernetesHandlerFromEndpoint instead.
func RegisterKubernetesServer ¶
func RegisterKubernetesServer(s *grpc.Server, srv KubernetesServer)
func RegisterXtraDBClusterHandler ¶
func RegisterXtraDBClusterHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterXtraDBClusterHandler registers the http handlers for service XtraDBCluster to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterXtraDBClusterHandlerClient ¶
func RegisterXtraDBClusterHandlerClient(ctx context.Context, mux *runtime.ServeMux, client XtraDBClusterClient) error
RegisterXtraDBClusterHandlerClient registers the http handlers for service XtraDBCluster to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "XtraDBClusterClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "XtraDBClusterClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "XtraDBClusterClient" to call the correct interceptors.
func RegisterXtraDBClusterHandlerFromEndpoint ¶
func RegisterXtraDBClusterHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterXtraDBClusterHandlerFromEndpoint is same as RegisterXtraDBClusterHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterXtraDBClusterHandlerServer ¶
func RegisterXtraDBClusterHandlerServer(ctx context.Context, mux *runtime.ServeMux, server XtraDBClusterServer) error
RegisterXtraDBClusterHandlerServer registers the http handlers for service XtraDBCluster to "mux". UnaryRPC :call XtraDBClusterServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterXtraDBClusterHandlerFromEndpoint instead.
func RegisterXtraDBClusterServer ¶
func RegisterXtraDBClusterServer(s *grpc.Server, srv XtraDBClusterServer)
Types ¶
type ComputeResources ¶
type ComputeResources struct { // CPUs in milliCPUs; 1000m = 1 vCPU. CpuM int32 `protobuf:"varint,1,opt,name=cpu_m,json=cpuM,proto3" json:"cpu_m,omitempty"` // Memory in bytes. MemoryBytes int64 `protobuf:"varint,2,opt,name=memory_bytes,json=memoryBytes,proto3" json:"memory_bytes,omitempty"` // contains filtered or unexported fields }
ComputeResources represents container computer resources requests or limits.
func (*ComputeResources) Descriptor
deprecated
func (*ComputeResources) Descriptor() ([]byte, []int)
Deprecated: Use ComputeResources.ProtoReflect.Descriptor instead.
func (*ComputeResources) GetCpuM ¶
func (x *ComputeResources) GetCpuM() int32
func (*ComputeResources) GetMemoryBytes ¶
func (x *ComputeResources) GetMemoryBytes() int64
func (*ComputeResources) ProtoMessage ¶
func (*ComputeResources) ProtoMessage()
func (*ComputeResources) ProtoReflect ¶
func (x *ComputeResources) ProtoReflect() protoreflect.Message
func (*ComputeResources) Reset ¶
func (x *ComputeResources) Reset()
func (*ComputeResources) String ¶
func (x *ComputeResources) String() string
func (*ComputeResources) Validate ¶
func (this *ComputeResources) Validate() error
type CreateXtraDBClusterRequest ¶
type CreateXtraDBClusterRequest struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // XtraDB cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Cluster parameters. Params *XtraDBClusterParams `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*CreateXtraDBClusterRequest) Descriptor
deprecated
func (*CreateXtraDBClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateXtraDBClusterRequest.ProtoReflect.Descriptor instead.
func (*CreateXtraDBClusterRequest) GetKubernetesClusterName ¶
func (x *CreateXtraDBClusterRequest) GetKubernetesClusterName() string
func (*CreateXtraDBClusterRequest) GetName ¶
func (x *CreateXtraDBClusterRequest) GetName() string
func (*CreateXtraDBClusterRequest) GetParams ¶
func (x *CreateXtraDBClusterRequest) GetParams() *XtraDBClusterParams
func (*CreateXtraDBClusterRequest) ProtoMessage ¶
func (*CreateXtraDBClusterRequest) ProtoMessage()
func (*CreateXtraDBClusterRequest) ProtoReflect ¶
func (x *CreateXtraDBClusterRequest) ProtoReflect() protoreflect.Message
func (*CreateXtraDBClusterRequest) Reset ¶
func (x *CreateXtraDBClusterRequest) Reset()
func (*CreateXtraDBClusterRequest) String ¶
func (x *CreateXtraDBClusterRequest) String() string
func (*CreateXtraDBClusterRequest) Validate ¶
func (this *CreateXtraDBClusterRequest) Validate() error
type CreateXtraDBClusterResponse ¶
type CreateXtraDBClusterResponse struct {
// contains filtered or unexported fields
}
func (*CreateXtraDBClusterResponse) Descriptor
deprecated
func (*CreateXtraDBClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateXtraDBClusterResponse.ProtoReflect.Descriptor instead.
func (*CreateXtraDBClusterResponse) ProtoMessage ¶
func (*CreateXtraDBClusterResponse) ProtoMessage()
func (*CreateXtraDBClusterResponse) ProtoReflect ¶
func (x *CreateXtraDBClusterResponse) ProtoReflect() protoreflect.Message
func (*CreateXtraDBClusterResponse) Reset ¶
func (x *CreateXtraDBClusterResponse) Reset()
func (*CreateXtraDBClusterResponse) String ¶
func (x *CreateXtraDBClusterResponse) String() string
func (*CreateXtraDBClusterResponse) Validate ¶
func (this *CreateXtraDBClusterResponse) Validate() error
type DeleteXtraDBClusterRequest ¶
type DeleteXtraDBClusterRequest struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // XtraDB cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeleteXtraDBClusterRequest) Descriptor
deprecated
func (*DeleteXtraDBClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteXtraDBClusterRequest.ProtoReflect.Descriptor instead.
func (*DeleteXtraDBClusterRequest) GetKubernetesClusterName ¶
func (x *DeleteXtraDBClusterRequest) GetKubernetesClusterName() string
func (*DeleteXtraDBClusterRequest) GetName ¶
func (x *DeleteXtraDBClusterRequest) GetName() string
func (*DeleteXtraDBClusterRequest) ProtoMessage ¶
func (*DeleteXtraDBClusterRequest) ProtoMessage()
func (*DeleteXtraDBClusterRequest) ProtoReflect ¶
func (x *DeleteXtraDBClusterRequest) ProtoReflect() protoreflect.Message
func (*DeleteXtraDBClusterRequest) Reset ¶
func (x *DeleteXtraDBClusterRequest) Reset()
func (*DeleteXtraDBClusterRequest) String ¶
func (x *DeleteXtraDBClusterRequest) String() string
func (*DeleteXtraDBClusterRequest) Validate ¶
func (this *DeleteXtraDBClusterRequest) Validate() error
type DeleteXtraDBClusterResponse ¶
type DeleteXtraDBClusterResponse struct {
// contains filtered or unexported fields
}
func (*DeleteXtraDBClusterResponse) Descriptor
deprecated
func (*DeleteXtraDBClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteXtraDBClusterResponse.ProtoReflect.Descriptor instead.
func (*DeleteXtraDBClusterResponse) ProtoMessage ¶
func (*DeleteXtraDBClusterResponse) ProtoMessage()
func (*DeleteXtraDBClusterResponse) ProtoReflect ¶
func (x *DeleteXtraDBClusterResponse) ProtoReflect() protoreflect.Message
func (*DeleteXtraDBClusterResponse) Reset ¶
func (x *DeleteXtraDBClusterResponse) Reset()
func (*DeleteXtraDBClusterResponse) String ¶
func (x *DeleteXtraDBClusterResponse) String() string
func (*DeleteXtraDBClusterResponse) Validate ¶
func (this *DeleteXtraDBClusterResponse) Validate() error
type KubeAuth ¶
type KubeAuth struct { // Kubeconfig file content. Kubeconfig string `protobuf:"bytes,1,opt,name=kubeconfig,proto3" json:"kubeconfig,omitempty"` // contains filtered or unexported fields }
KubeAuth represents Kubernetes / kubectl authentication and authorization information.
func (*KubeAuth) Descriptor
deprecated
func (*KubeAuth) GetKubeconfig ¶
func (*KubeAuth) ProtoMessage ¶
func (*KubeAuth) ProtoMessage()
func (*KubeAuth) ProtoReflect ¶
func (x *KubeAuth) ProtoReflect() protoreflect.Message
type KubernetesClient ¶
type KubernetesClient interface { // ListKubernetesClusters returns a list of all registered Kubernetes clusters. ListKubernetesClusters(ctx context.Context, in *ListKubernetesClustersRequest, opts ...grpc.CallOption) (*ListKubernetesClustersResponse, error) // RegisterKubernetesCluster registers an existing Kubernetes cluster in PMM. RegisterKubernetesCluster(ctx context.Context, in *RegisterKubernetesClusterRequest, opts ...grpc.CallOption) (*RegisterKubernetesClusterResponse, error) // UnregisterKubernetesCluster removes a registered Kubernetes cluster from PMM. UnregisterKubernetesCluster(ctx context.Context, in *UnregisterKubernetesClusterRequest, opts ...grpc.CallOption) (*UnregisterKubernetesClusterResponse, error) }
KubernetesClient is the client API for Kubernetes service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewKubernetesClient ¶
func NewKubernetesClient(cc grpc.ClientConnInterface) KubernetesClient
type KubernetesServer ¶
type KubernetesServer interface { // ListKubernetesClusters returns a list of all registered Kubernetes clusters. ListKubernetesClusters(context.Context, *ListKubernetesClustersRequest) (*ListKubernetesClustersResponse, error) // RegisterKubernetesCluster registers an existing Kubernetes cluster in PMM. RegisterKubernetesCluster(context.Context, *RegisterKubernetesClusterRequest) (*RegisterKubernetesClusterResponse, error) // UnregisterKubernetesCluster removes a registered Kubernetes cluster from PMM. UnregisterKubernetesCluster(context.Context, *UnregisterKubernetesClusterRequest) (*UnregisterKubernetesClusterResponse, error) }
KubernetesServer is the server API for Kubernetes service.
type ListKubernetesClustersRequest ¶
type ListKubernetesClustersRequest struct {
// contains filtered or unexported fields
}
func (*ListKubernetesClustersRequest) Descriptor
deprecated
func (*ListKubernetesClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListKubernetesClustersRequest.ProtoReflect.Descriptor instead.
func (*ListKubernetesClustersRequest) ProtoMessage ¶
func (*ListKubernetesClustersRequest) ProtoMessage()
func (*ListKubernetesClustersRequest) ProtoReflect ¶
func (x *ListKubernetesClustersRequest) ProtoReflect() protoreflect.Message
func (*ListKubernetesClustersRequest) Reset ¶
func (x *ListKubernetesClustersRequest) Reset()
func (*ListKubernetesClustersRequest) String ¶
func (x *ListKubernetesClustersRequest) String() string
func (*ListKubernetesClustersRequest) Validate ¶
func (this *ListKubernetesClustersRequest) Validate() error
type ListKubernetesClustersResponse ¶
type ListKubernetesClustersResponse struct { // Kubernetes clusters. KubernetesClusters []*ListKubernetesClustersResponse_Cluster `protobuf:"bytes,1,rep,name=kubernetes_clusters,json=kubernetesClusters,proto3" json:"kubernetes_clusters,omitempty"` // contains filtered or unexported fields }
func (*ListKubernetesClustersResponse) Descriptor
deprecated
func (*ListKubernetesClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListKubernetesClustersResponse.ProtoReflect.Descriptor instead.
func (*ListKubernetesClustersResponse) GetKubernetesClusters ¶
func (x *ListKubernetesClustersResponse) GetKubernetesClusters() []*ListKubernetesClustersResponse_Cluster
func (*ListKubernetesClustersResponse) ProtoMessage ¶
func (*ListKubernetesClustersResponse) ProtoMessage()
func (*ListKubernetesClustersResponse) ProtoReflect ¶
func (x *ListKubernetesClustersResponse) ProtoReflect() protoreflect.Message
func (*ListKubernetesClustersResponse) Reset ¶
func (x *ListKubernetesClustersResponse) Reset()
func (*ListKubernetesClustersResponse) String ¶
func (x *ListKubernetesClustersResponse) String() string
func (*ListKubernetesClustersResponse) Validate ¶
func (this *ListKubernetesClustersResponse) Validate() error
type ListKubernetesClustersResponse_Cluster ¶
type ListKubernetesClustersResponse_Cluster struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
Cluster contains public info about kubernetes cluster.
func (*ListKubernetesClustersResponse_Cluster) Descriptor
deprecated
func (*ListKubernetesClustersResponse_Cluster) Descriptor() ([]byte, []int)
Deprecated: Use ListKubernetesClustersResponse_Cluster.ProtoReflect.Descriptor instead.
func (*ListKubernetesClustersResponse_Cluster) GetKubernetesClusterName ¶
func (x *ListKubernetesClustersResponse_Cluster) GetKubernetesClusterName() string
func (*ListKubernetesClustersResponse_Cluster) ProtoMessage ¶
func (*ListKubernetesClustersResponse_Cluster) ProtoMessage()
func (*ListKubernetesClustersResponse_Cluster) ProtoReflect ¶
func (x *ListKubernetesClustersResponse_Cluster) ProtoReflect() protoreflect.Message
func (*ListKubernetesClustersResponse_Cluster) Reset ¶
func (x *ListKubernetesClustersResponse_Cluster) Reset()
func (*ListKubernetesClustersResponse_Cluster) String ¶
func (x *ListKubernetesClustersResponse_Cluster) String() string
func (*ListKubernetesClustersResponse_Cluster) Validate ¶
func (this *ListKubernetesClustersResponse_Cluster) Validate() error
type ListXtraDBClustersRequest ¶
type ListXtraDBClustersRequest struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListXtraDBClustersRequest) Descriptor
deprecated
func (*ListXtraDBClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListXtraDBClustersRequest.ProtoReflect.Descriptor instead.
func (*ListXtraDBClustersRequest) GetKubernetesClusterName ¶
func (x *ListXtraDBClustersRequest) GetKubernetesClusterName() string
func (*ListXtraDBClustersRequest) ProtoMessage ¶
func (*ListXtraDBClustersRequest) ProtoMessage()
func (*ListXtraDBClustersRequest) ProtoReflect ¶
func (x *ListXtraDBClustersRequest) ProtoReflect() protoreflect.Message
func (*ListXtraDBClustersRequest) Reset ¶
func (x *ListXtraDBClustersRequest) Reset()
func (*ListXtraDBClustersRequest) String ¶
func (x *ListXtraDBClustersRequest) String() string
func (*ListXtraDBClustersRequest) Validate ¶
func (this *ListXtraDBClustersRequest) Validate() error
type ListXtraDBClustersResponse ¶
type ListXtraDBClustersResponse struct { // XtraDB clusters information. Clusters []*ListXtraDBClustersResponse_Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` // contains filtered or unexported fields }
func (*ListXtraDBClustersResponse) Descriptor
deprecated
func (*ListXtraDBClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListXtraDBClustersResponse.ProtoReflect.Descriptor instead.
func (*ListXtraDBClustersResponse) GetClusters ¶
func (x *ListXtraDBClustersResponse) GetClusters() []*ListXtraDBClustersResponse_Cluster
func (*ListXtraDBClustersResponse) ProtoMessage ¶
func (*ListXtraDBClustersResponse) ProtoMessage()
func (*ListXtraDBClustersResponse) ProtoReflect ¶
func (x *ListXtraDBClustersResponse) ProtoReflect() protoreflect.Message
func (*ListXtraDBClustersResponse) Reset ¶
func (x *ListXtraDBClustersResponse) Reset()
func (*ListXtraDBClustersResponse) String ¶
func (x *ListXtraDBClustersResponse) String() string
func (*ListXtraDBClustersResponse) Validate ¶
func (this *ListXtraDBClustersResponse) Validate() error
type ListXtraDBClustersResponse_Cluster ¶
type ListXtraDBClustersResponse_Cluster struct { // Cluster name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cluster state. State XtraDBClusterState `protobuf:"varint,2,opt,name=state,proto3,enum=dbaas.v1beta1.XtraDBClusterState" json:"state,omitempty"` // Currently running operation, if any. Operation *RunningOperation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` // Cluster parameters. Params *XtraDBClusterParams `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
Cluster represents XtraDB cluster information.
func (*ListXtraDBClustersResponse_Cluster) Descriptor
deprecated
func (*ListXtraDBClustersResponse_Cluster) Descriptor() ([]byte, []int)
Deprecated: Use ListXtraDBClustersResponse_Cluster.ProtoReflect.Descriptor instead.
func (*ListXtraDBClustersResponse_Cluster) GetName ¶
func (x *ListXtraDBClustersResponse_Cluster) GetName() string
func (*ListXtraDBClustersResponse_Cluster) GetOperation ¶
func (x *ListXtraDBClustersResponse_Cluster) GetOperation() *RunningOperation
func (*ListXtraDBClustersResponse_Cluster) GetParams ¶
func (x *ListXtraDBClustersResponse_Cluster) GetParams() *XtraDBClusterParams
func (*ListXtraDBClustersResponse_Cluster) GetState ¶
func (x *ListXtraDBClustersResponse_Cluster) GetState() XtraDBClusterState
func (*ListXtraDBClustersResponse_Cluster) ProtoMessage ¶
func (*ListXtraDBClustersResponse_Cluster) ProtoMessage()
func (*ListXtraDBClustersResponse_Cluster) ProtoReflect ¶
func (x *ListXtraDBClustersResponse_Cluster) ProtoReflect() protoreflect.Message
func (*ListXtraDBClustersResponse_Cluster) Reset ¶
func (x *ListXtraDBClustersResponse_Cluster) Reset()
func (*ListXtraDBClustersResponse_Cluster) String ¶
func (x *ListXtraDBClustersResponse_Cluster) String() string
func (*ListXtraDBClustersResponse_Cluster) Validate ¶
func (this *ListXtraDBClustersResponse_Cluster) Validate() error
type RegisterKubernetesClusterRequest ¶
type RegisterKubernetesClusterRequest struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // Kubernetes auth. KubeAuth *KubeAuth `protobuf:"bytes,2,opt,name=kube_auth,json=kubeAuth,proto3" json:"kube_auth,omitempty"` // contains filtered or unexported fields }
func (*RegisterKubernetesClusterRequest) Descriptor
deprecated
func (*RegisterKubernetesClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RegisterKubernetesClusterRequest.ProtoReflect.Descriptor instead.
func (*RegisterKubernetesClusterRequest) GetKubeAuth ¶
func (x *RegisterKubernetesClusterRequest) GetKubeAuth() *KubeAuth
func (*RegisterKubernetesClusterRequest) GetKubernetesClusterName ¶
func (x *RegisterKubernetesClusterRequest) GetKubernetesClusterName() string
func (*RegisterKubernetesClusterRequest) ProtoMessage ¶
func (*RegisterKubernetesClusterRequest) ProtoMessage()
func (*RegisterKubernetesClusterRequest) ProtoReflect ¶
func (x *RegisterKubernetesClusterRequest) ProtoReflect() protoreflect.Message
func (*RegisterKubernetesClusterRequest) Reset ¶
func (x *RegisterKubernetesClusterRequest) Reset()
func (*RegisterKubernetesClusterRequest) String ¶
func (x *RegisterKubernetesClusterRequest) String() string
func (*RegisterKubernetesClusterRequest) Validate ¶
func (this *RegisterKubernetesClusterRequest) Validate() error
type RegisterKubernetesClusterResponse ¶
type RegisterKubernetesClusterResponse struct {
// contains filtered or unexported fields
}
func (*RegisterKubernetesClusterResponse) Descriptor
deprecated
func (*RegisterKubernetesClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RegisterKubernetesClusterResponse.ProtoReflect.Descriptor instead.
func (*RegisterKubernetesClusterResponse) ProtoMessage ¶
func (*RegisterKubernetesClusterResponse) ProtoMessage()
func (*RegisterKubernetesClusterResponse) ProtoReflect ¶
func (x *RegisterKubernetesClusterResponse) ProtoReflect() protoreflect.Message
func (*RegisterKubernetesClusterResponse) Reset ¶
func (x *RegisterKubernetesClusterResponse) Reset()
func (*RegisterKubernetesClusterResponse) String ¶
func (x *RegisterKubernetesClusterResponse) String() string
func (*RegisterKubernetesClusterResponse) Validate ¶
func (this *RegisterKubernetesClusterResponse) Validate() error
type RunningOperation ¶
type RunningOperation struct { // Progress from 0.0 to 1.0; can decrease compared to the previous value. Progress float32 `protobuf:"fixed32,1,opt,name=progress,proto3" json:"progress,omitempty"` // Text describing the current operation progress step. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
RunningOperation respresents a long-running operation.
func (*RunningOperation) Descriptor
deprecated
func (*RunningOperation) Descriptor() ([]byte, []int)
Deprecated: Use RunningOperation.ProtoReflect.Descriptor instead.
func (*RunningOperation) GetMessage ¶
func (x *RunningOperation) GetMessage() string
func (*RunningOperation) GetProgress ¶
func (x *RunningOperation) GetProgress() float32
func (*RunningOperation) ProtoMessage ¶
func (*RunningOperation) ProtoMessage()
func (*RunningOperation) ProtoReflect ¶
func (x *RunningOperation) ProtoReflect() protoreflect.Message
func (*RunningOperation) Reset ¶
func (x *RunningOperation) Reset()
func (*RunningOperation) String ¶
func (x *RunningOperation) String() string
func (*RunningOperation) Validate ¶
func (this *RunningOperation) Validate() error
type UnimplementedKubernetesServer ¶
type UnimplementedKubernetesServer struct { }
UnimplementedKubernetesServer can be embedded to have forward compatible implementations.
func (*UnimplementedKubernetesServer) ListKubernetesClusters ¶
func (*UnimplementedKubernetesServer) ListKubernetesClusters(context.Context, *ListKubernetesClustersRequest) (*ListKubernetesClustersResponse, error)
func (*UnimplementedKubernetesServer) RegisterKubernetesCluster ¶
func (*UnimplementedKubernetesServer) RegisterKubernetesCluster(context.Context, *RegisterKubernetesClusterRequest) (*RegisterKubernetesClusterResponse, error)
func (*UnimplementedKubernetesServer) UnregisterKubernetesCluster ¶
func (*UnimplementedKubernetesServer) UnregisterKubernetesCluster(context.Context, *UnregisterKubernetesClusterRequest) (*UnregisterKubernetesClusterResponse, error)
type UnimplementedXtraDBClusterServer ¶
type UnimplementedXtraDBClusterServer struct { }
UnimplementedXtraDBClusterServer can be embedded to have forward compatible implementations.
func (*UnimplementedXtraDBClusterServer) CreateXtraDBCluster ¶
func (*UnimplementedXtraDBClusterServer) CreateXtraDBCluster(context.Context, *CreateXtraDBClusterRequest) (*CreateXtraDBClusterResponse, error)
func (*UnimplementedXtraDBClusterServer) DeleteXtraDBCluster ¶
func (*UnimplementedXtraDBClusterServer) DeleteXtraDBCluster(context.Context, *DeleteXtraDBClusterRequest) (*DeleteXtraDBClusterResponse, error)
func (*UnimplementedXtraDBClusterServer) ListXtraDBClusters ¶
func (*UnimplementedXtraDBClusterServer) ListXtraDBClusters(context.Context, *ListXtraDBClustersRequest) (*ListXtraDBClustersResponse, error)
func (*UnimplementedXtraDBClusterServer) UpdateXtraDBCluster ¶
func (*UnimplementedXtraDBClusterServer) UpdateXtraDBCluster(context.Context, *UpdateXtraDBClusterRequest) (*UpdateXtraDBClusterResponse, error)
type UnregisterKubernetesClusterRequest ¶
type UnregisterKubernetesClusterRequest struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UnregisterKubernetesClusterRequest) Descriptor
deprecated
func (*UnregisterKubernetesClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnregisterKubernetesClusterRequest.ProtoReflect.Descriptor instead.
func (*UnregisterKubernetesClusterRequest) GetKubernetesClusterName ¶
func (x *UnregisterKubernetesClusterRequest) GetKubernetesClusterName() string
func (*UnregisterKubernetesClusterRequest) ProtoMessage ¶
func (*UnregisterKubernetesClusterRequest) ProtoMessage()
func (*UnregisterKubernetesClusterRequest) ProtoReflect ¶
func (x *UnregisterKubernetesClusterRequest) ProtoReflect() protoreflect.Message
func (*UnregisterKubernetesClusterRequest) Reset ¶
func (x *UnregisterKubernetesClusterRequest) Reset()
func (*UnregisterKubernetesClusterRequest) String ¶
func (x *UnregisterKubernetesClusterRequest) String() string
func (*UnregisterKubernetesClusterRequest) Validate ¶
func (this *UnregisterKubernetesClusterRequest) Validate() error
type UnregisterKubernetesClusterResponse ¶
type UnregisterKubernetesClusterResponse struct {
// contains filtered or unexported fields
}
func (*UnregisterKubernetesClusterResponse) Descriptor
deprecated
func (*UnregisterKubernetesClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnregisterKubernetesClusterResponse.ProtoReflect.Descriptor instead.
func (*UnregisterKubernetesClusterResponse) ProtoMessage ¶
func (*UnregisterKubernetesClusterResponse) ProtoMessage()
func (*UnregisterKubernetesClusterResponse) ProtoReflect ¶
func (x *UnregisterKubernetesClusterResponse) ProtoReflect() protoreflect.Message
func (*UnregisterKubernetesClusterResponse) Reset ¶
func (x *UnregisterKubernetesClusterResponse) Reset()
func (*UnregisterKubernetesClusterResponse) String ¶
func (x *UnregisterKubernetesClusterResponse) String() string
func (*UnregisterKubernetesClusterResponse) Validate ¶
func (this *UnregisterKubernetesClusterResponse) Validate() error
type UpdateXtraDBClusterRequest ¶
type UpdateXtraDBClusterRequest struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // XtraDB cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Cluster parameters. Params *XtraDBClusterParams `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*UpdateXtraDBClusterRequest) Descriptor
deprecated
func (*UpdateXtraDBClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateXtraDBClusterRequest.ProtoReflect.Descriptor instead.
func (*UpdateXtraDBClusterRequest) GetKubernetesClusterName ¶
func (x *UpdateXtraDBClusterRequest) GetKubernetesClusterName() string
func (*UpdateXtraDBClusterRequest) GetName ¶
func (x *UpdateXtraDBClusterRequest) GetName() string
func (*UpdateXtraDBClusterRequest) GetParams ¶
func (x *UpdateXtraDBClusterRequest) GetParams() *XtraDBClusterParams
func (*UpdateXtraDBClusterRequest) ProtoMessage ¶
func (*UpdateXtraDBClusterRequest) ProtoMessage()
func (*UpdateXtraDBClusterRequest) ProtoReflect ¶
func (x *UpdateXtraDBClusterRequest) ProtoReflect() protoreflect.Message
func (*UpdateXtraDBClusterRequest) Reset ¶
func (x *UpdateXtraDBClusterRequest) Reset()
func (*UpdateXtraDBClusterRequest) String ¶
func (x *UpdateXtraDBClusterRequest) String() string
func (*UpdateXtraDBClusterRequest) Validate ¶
func (this *UpdateXtraDBClusterRequest) Validate() error
type UpdateXtraDBClusterResponse ¶
type UpdateXtraDBClusterResponse struct {
// contains filtered or unexported fields
}
func (*UpdateXtraDBClusterResponse) Descriptor
deprecated
func (*UpdateXtraDBClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateXtraDBClusterResponse.ProtoReflect.Descriptor instead.
func (*UpdateXtraDBClusterResponse) ProtoMessage ¶
func (*UpdateXtraDBClusterResponse) ProtoMessage()
func (*UpdateXtraDBClusterResponse) ProtoReflect ¶
func (x *UpdateXtraDBClusterResponse) ProtoReflect() protoreflect.Message
func (*UpdateXtraDBClusterResponse) Reset ¶
func (x *UpdateXtraDBClusterResponse) Reset()
func (*UpdateXtraDBClusterResponse) String ¶
func (x *UpdateXtraDBClusterResponse) String() string
func (*UpdateXtraDBClusterResponse) Validate ¶
func (this *UpdateXtraDBClusterResponse) Validate() error
type XtraDBBackupState ¶
type XtraDBBackupState int32
XtraDBBackupState represents XtraDB backup CR state.
const ( // XTRA_DB_BACKUP_STATE_INVALID represents unknown state. XtraDBBackupState_XTRA_DB_BACKUP_STATE_INVALID XtraDBBackupState = 0 // XTRA_DB_BACKUP_STATE_RUNNING represents running backup (Starting, Running). XtraDBBackupState_XTRA_DB_BACKUP_STATE_RUNNING XtraDBBackupState = 1 // XTRA_DB_BACKUP_STATE_SUCCEEDED represents succeeded backup (Succeeded). XtraDBBackupState_XTRA_DB_BACKUP_STATE_SUCCEEDED XtraDBBackupState = 2 // XTRA_DB_BACKUP_STATE_FAILED represents failed backup (Failed). XtraDBBackupState_XTRA_DB_BACKUP_STATE_FAILED XtraDBBackupState = 3 )
func (XtraDBBackupState) Descriptor ¶
func (XtraDBBackupState) Descriptor() protoreflect.EnumDescriptor
func (XtraDBBackupState) Enum ¶
func (x XtraDBBackupState) Enum() *XtraDBBackupState
func (XtraDBBackupState) EnumDescriptor
deprecated
func (XtraDBBackupState) EnumDescriptor() ([]byte, []int)
Deprecated: Use XtraDBBackupState.Descriptor instead.
func (XtraDBBackupState) Number ¶
func (x XtraDBBackupState) Number() protoreflect.EnumNumber
func (XtraDBBackupState) String ¶
func (x XtraDBBackupState) String() string
func (XtraDBBackupState) Type ¶
func (XtraDBBackupState) Type() protoreflect.EnumType
type XtraDBClusterClient ¶
type XtraDBClusterClient interface { // ListXtraDBClusters returns a list of XtraDB clusters. ListXtraDBClusters(ctx context.Context, in *ListXtraDBClustersRequest, opts ...grpc.CallOption) (*ListXtraDBClustersResponse, error) // CreateXtraDBCluster creates a new XtraDB cluster. CreateXtraDBCluster(ctx context.Context, in *CreateXtraDBClusterRequest, opts ...grpc.CallOption) (*CreateXtraDBClusterResponse, error) // UpdateXtraDBCluster updates existing XtraDB cluster. UpdateXtraDBCluster(ctx context.Context, in *UpdateXtraDBClusterRequest, opts ...grpc.CallOption) (*UpdateXtraDBClusterResponse, error) // DeleteXtraDBCluster deletes XtraDB cluster. DeleteXtraDBCluster(ctx context.Context, in *DeleteXtraDBClusterRequest, opts ...grpc.CallOption) (*DeleteXtraDBClusterResponse, error) }
XtraDBClusterClient is the client API for XtraDBCluster service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewXtraDBClusterClient ¶
func NewXtraDBClusterClient(cc grpc.ClientConnInterface) XtraDBClusterClient
type XtraDBClusterParams ¶
type XtraDBClusterParams struct { // Cluster size. ClusterSize int32 `protobuf:"varint,1,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` // PXC container parameters. Pxc *XtraDBClusterParams_PXC `protobuf:"bytes,2,opt,name=pxc,proto3" json:"pxc,omitempty"` // ProxySQL container parameters. Proxysql *XtraDBClusterParams_ProxySQL `protobuf:"bytes,3,opt,name=proxysql,proto3" json:"proxysql,omitempty"` // contains filtered or unexported fields }
XtraDBClusterParams represents XtraDB cluster parameters that can be updated.
func (*XtraDBClusterParams) Descriptor
deprecated
func (*XtraDBClusterParams) Descriptor() ([]byte, []int)
Deprecated: Use XtraDBClusterParams.ProtoReflect.Descriptor instead.
func (*XtraDBClusterParams) GetClusterSize ¶
func (x *XtraDBClusterParams) GetClusterSize() int32
func (*XtraDBClusterParams) GetProxysql ¶
func (x *XtraDBClusterParams) GetProxysql() *XtraDBClusterParams_ProxySQL
func (*XtraDBClusterParams) GetPxc ¶
func (x *XtraDBClusterParams) GetPxc() *XtraDBClusterParams_PXC
func (*XtraDBClusterParams) ProtoMessage ¶
func (*XtraDBClusterParams) ProtoMessage()
func (*XtraDBClusterParams) ProtoReflect ¶
func (x *XtraDBClusterParams) ProtoReflect() protoreflect.Message
func (*XtraDBClusterParams) Reset ¶
func (x *XtraDBClusterParams) Reset()
func (*XtraDBClusterParams) String ¶
func (x *XtraDBClusterParams) String() string
func (*XtraDBClusterParams) Validate ¶
func (this *XtraDBClusterParams) Validate() error
type XtraDBClusterParams_PXC ¶
type XtraDBClusterParams_PXC struct { // Requested compute resources. ComputeResources *ComputeResources `protobuf:"bytes,1,opt,name=compute_resources,json=computeResources,proto3" json:"compute_resources,omitempty"` // contains filtered or unexported fields }
PXC container parameters.
func (*XtraDBClusterParams_PXC) Descriptor
deprecated
func (*XtraDBClusterParams_PXC) Descriptor() ([]byte, []int)
Deprecated: Use XtraDBClusterParams_PXC.ProtoReflect.Descriptor instead.
func (*XtraDBClusterParams_PXC) GetComputeResources ¶
func (x *XtraDBClusterParams_PXC) GetComputeResources() *ComputeResources
func (*XtraDBClusterParams_PXC) ProtoMessage ¶
func (*XtraDBClusterParams_PXC) ProtoMessage()
func (*XtraDBClusterParams_PXC) ProtoReflect ¶
func (x *XtraDBClusterParams_PXC) ProtoReflect() protoreflect.Message
func (*XtraDBClusterParams_PXC) Reset ¶
func (x *XtraDBClusterParams_PXC) Reset()
func (*XtraDBClusterParams_PXC) String ¶
func (x *XtraDBClusterParams_PXC) String() string
func (*XtraDBClusterParams_PXC) Validate ¶
func (this *XtraDBClusterParams_PXC) Validate() error
type XtraDBClusterParams_ProxySQL ¶
type XtraDBClusterParams_ProxySQL struct { // Requested compute resources. ComputeResources *ComputeResources `protobuf:"bytes,1,opt,name=compute_resources,json=computeResources,proto3" json:"compute_resources,omitempty"` // contains filtered or unexported fields }
ProxySQL container parameters.
func (*XtraDBClusterParams_ProxySQL) Descriptor
deprecated
func (*XtraDBClusterParams_ProxySQL) Descriptor() ([]byte, []int)
Deprecated: Use XtraDBClusterParams_ProxySQL.ProtoReflect.Descriptor instead.
func (*XtraDBClusterParams_ProxySQL) GetComputeResources ¶
func (x *XtraDBClusterParams_ProxySQL) GetComputeResources() *ComputeResources
func (*XtraDBClusterParams_ProxySQL) ProtoMessage ¶
func (*XtraDBClusterParams_ProxySQL) ProtoMessage()
func (*XtraDBClusterParams_ProxySQL) ProtoReflect ¶
func (x *XtraDBClusterParams_ProxySQL) ProtoReflect() protoreflect.Message
func (*XtraDBClusterParams_ProxySQL) Reset ¶
func (x *XtraDBClusterParams_ProxySQL) Reset()
func (*XtraDBClusterParams_ProxySQL) String ¶
func (x *XtraDBClusterParams_ProxySQL) String() string
func (*XtraDBClusterParams_ProxySQL) Validate ¶
func (this *XtraDBClusterParams_ProxySQL) Validate() error
type XtraDBClusterServer ¶
type XtraDBClusterServer interface { // ListXtraDBClusters returns a list of XtraDB clusters. ListXtraDBClusters(context.Context, *ListXtraDBClustersRequest) (*ListXtraDBClustersResponse, error) // CreateXtraDBCluster creates a new XtraDB cluster. CreateXtraDBCluster(context.Context, *CreateXtraDBClusterRequest) (*CreateXtraDBClusterResponse, error) // UpdateXtraDBCluster updates existing XtraDB cluster. UpdateXtraDBCluster(context.Context, *UpdateXtraDBClusterRequest) (*UpdateXtraDBClusterResponse, error) // DeleteXtraDBCluster deletes XtraDB cluster. DeleteXtraDBCluster(context.Context, *DeleteXtraDBClusterRequest) (*DeleteXtraDBClusterResponse, error) }
XtraDBClusterServer is the server API for XtraDBCluster service.
type XtraDBClusterState ¶
type XtraDBClusterState int32
XtraDBClusterState represents XtraDB cluster CR state.
const ( // XTRA_DB_CLUSTER_STATE_INVALID represents unknown state. XtraDBClusterState_XTRA_DB_CLUSTER_STATE_INVALID XtraDBClusterState = 0 // XTRA_DB_CLUSTER_STATE_CHANGING represents a cluster being changed (initializing). XtraDBClusterState_XTRA_DB_CLUSTER_STATE_CHANGING XtraDBClusterState = 1 // XTRA_DB_CLUSTER_STATE_READY represents a cluster without pending changes (ready). XtraDBClusterState_XTRA_DB_CLUSTER_STATE_READY XtraDBClusterState = 2 // XTRA_DB_CLUSTER_STATE_FAILED represents a failed cluster (error). XtraDBClusterState_XTRA_DB_CLUSTER_STATE_FAILED XtraDBClusterState = 3 // XTRA_DB_CLUSTER_STATE_DELETING represents a cluster being deleting. XtraDBClusterState_XTRA_DB_CLUSTER_STATE_DELETING XtraDBClusterState = 4 )
func (XtraDBClusterState) Descriptor ¶
func (XtraDBClusterState) Descriptor() protoreflect.EnumDescriptor
func (XtraDBClusterState) Enum ¶
func (x XtraDBClusterState) Enum() *XtraDBClusterState
func (XtraDBClusterState) EnumDescriptor
deprecated
func (XtraDBClusterState) EnumDescriptor() ([]byte, []int)
Deprecated: Use XtraDBClusterState.Descriptor instead.
func (XtraDBClusterState) Number ¶
func (x XtraDBClusterState) Number() protoreflect.EnumNumber
func (XtraDBClusterState) String ¶
func (x XtraDBClusterState) String() string
func (XtraDBClusterState) Type ¶
func (XtraDBClusterState) Type() protoreflect.EnumType