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.
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 RegisterPSMDBClusterHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterPSMDBClusterHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PSMDBClusterClient) error
- func RegisterPSMDBClusterHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterPSMDBClusterHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PSMDBClusterServer) error
- func RegisterPSMDBClusterServer(s *grpc.Server, srv PSMDBClusterServer)
- 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 CreatePSMDBClusterRequest
- func (*CreatePSMDBClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreatePSMDBClusterRequest) GetKubernetesClusterName() string
- func (x *CreatePSMDBClusterRequest) GetName() string
- func (x *CreatePSMDBClusterRequest) GetParams() *PSMDBClusterParams
- func (*CreatePSMDBClusterRequest) ProtoMessage()
- func (x *CreatePSMDBClusterRequest) ProtoReflect() protoreflect.Message
- func (x *CreatePSMDBClusterRequest) Reset()
- func (x *CreatePSMDBClusterRequest) String() string
- func (this *CreatePSMDBClusterRequest) Validate() error
- type CreatePSMDBClusterResponse
- func (*CreatePSMDBClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*CreatePSMDBClusterResponse) ProtoMessage()
- func (x *CreatePSMDBClusterResponse) ProtoReflect() protoreflect.Message
- func (x *CreatePSMDBClusterResponse) Reset()
- func (x *CreatePSMDBClusterResponse) String() string
- func (this *CreatePSMDBClusterResponse) 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 DeletePSMDBClusterRequest
- func (*DeletePSMDBClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeletePSMDBClusterRequest) GetKubernetesClusterName() string
- func (x *DeletePSMDBClusterRequest) GetName() string
- func (*DeletePSMDBClusterRequest) ProtoMessage()
- func (x *DeletePSMDBClusterRequest) ProtoReflect() protoreflect.Message
- func (x *DeletePSMDBClusterRequest) Reset()
- func (x *DeletePSMDBClusterRequest) String() string
- func (this *DeletePSMDBClusterRequest) Validate() error
- type DeletePSMDBClusterResponse
- func (*DeletePSMDBClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeletePSMDBClusterResponse) ProtoMessage()
- func (x *DeletePSMDBClusterResponse) ProtoReflect() protoreflect.Message
- func (x *DeletePSMDBClusterResponse) Reset()
- func (x *DeletePSMDBClusterResponse) String() string
- func (this *DeletePSMDBClusterResponse) 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 GetPSMDBClusterRequest
- func (*GetPSMDBClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetPSMDBClusterRequest) GetKubernetesClusterName() string
- func (x *GetPSMDBClusterRequest) GetName() string
- func (*GetPSMDBClusterRequest) ProtoMessage()
- func (x *GetPSMDBClusterRequest) ProtoReflect() protoreflect.Message
- func (x *GetPSMDBClusterRequest) Reset()
- func (x *GetPSMDBClusterRequest) String() string
- func (this *GetPSMDBClusterRequest) Validate() error
- type GetPSMDBClusterResponse
- func (*GetPSMDBClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetPSMDBClusterResponse) GetConnectionCredentials() *GetPSMDBClusterResponse_PSMDBCredentials
- func (x *GetPSMDBClusterResponse) GetOperation() *RunningOperation
- func (x *GetPSMDBClusterResponse) GetParams() *PSMDBClusterParams
- func (x *GetPSMDBClusterResponse) GetState() PSMDBClusterState
- func (*GetPSMDBClusterResponse) ProtoMessage()
- func (x *GetPSMDBClusterResponse) ProtoReflect() protoreflect.Message
- func (x *GetPSMDBClusterResponse) Reset()
- func (x *GetPSMDBClusterResponse) String() string
- func (this *GetPSMDBClusterResponse) Validate() error
- type GetPSMDBClusterResponse_PSMDBCredentials
- func (*GetPSMDBClusterResponse_PSMDBCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *GetPSMDBClusterResponse_PSMDBCredentials) GetHost() string
- func (x *GetPSMDBClusterResponse_PSMDBCredentials) GetPassword() string
- func (x *GetPSMDBClusterResponse_PSMDBCredentials) GetPort() int32
- func (x *GetPSMDBClusterResponse_PSMDBCredentials) GetReplicaset() string
- func (x *GetPSMDBClusterResponse_PSMDBCredentials) GetUsername() string
- func (*GetPSMDBClusterResponse_PSMDBCredentials) ProtoMessage()
- func (x *GetPSMDBClusterResponse_PSMDBCredentials) ProtoReflect() protoreflect.Message
- func (x *GetPSMDBClusterResponse_PSMDBCredentials) Reset()
- func (x *GetPSMDBClusterResponse_PSMDBCredentials) String() string
- func (this *GetPSMDBClusterResponse_PSMDBCredentials) Validate() error
- type GetXtraDBClusterRequest
- func (*GetXtraDBClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetXtraDBClusterRequest) GetKubernetesClusterName() string
- func (x *GetXtraDBClusterRequest) GetName() string
- func (*GetXtraDBClusterRequest) ProtoMessage()
- func (x *GetXtraDBClusterRequest) ProtoReflect() protoreflect.Message
- func (x *GetXtraDBClusterRequest) Reset()
- func (x *GetXtraDBClusterRequest) String() string
- func (this *GetXtraDBClusterRequest) Validate() error
- type GetXtraDBClusterResponse
- func (*GetXtraDBClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetXtraDBClusterResponse) GetConnectionCredentials() *XtraDBClusterConnectionCredentials
- func (x *GetXtraDBClusterResponse) GetOperation() *RunningOperation
- func (x *GetXtraDBClusterResponse) GetParams() *XtraDBClusterParams
- func (x *GetXtraDBClusterResponse) GetState() XtraDBClusterState
- func (*GetXtraDBClusterResponse) ProtoMessage()
- func (x *GetXtraDBClusterResponse) ProtoReflect() protoreflect.Message
- func (x *GetXtraDBClusterResponse) Reset()
- func (x *GetXtraDBClusterResponse) String() string
- func (this *GetXtraDBClusterResponse) 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 ListPSMDBClustersRequest
- func (*ListPSMDBClustersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ListPSMDBClustersRequest) GetKubernetesClusterName() string
- func (*ListPSMDBClustersRequest) ProtoMessage()
- func (x *ListPSMDBClustersRequest) ProtoReflect() protoreflect.Message
- func (x *ListPSMDBClustersRequest) Reset()
- func (x *ListPSMDBClustersRequest) String() string
- func (this *ListPSMDBClustersRequest) Validate() error
- type ListPSMDBClustersResponse
- func (*ListPSMDBClustersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPSMDBClustersResponse) GetClusters() []*ListPSMDBClustersResponse_Cluster
- func (*ListPSMDBClustersResponse) ProtoMessage()
- func (x *ListPSMDBClustersResponse) ProtoReflect() protoreflect.Message
- func (x *ListPSMDBClustersResponse) Reset()
- func (x *ListPSMDBClustersResponse) String() string
- func (this *ListPSMDBClustersResponse) Validate() error
- type ListPSMDBClustersResponse_Cluster
- func (*ListPSMDBClustersResponse_Cluster) Descriptor() ([]byte, []int)deprecated
- func (x *ListPSMDBClustersResponse_Cluster) GetName() string
- func (x *ListPSMDBClustersResponse_Cluster) GetOperation() *RunningOperation
- func (x *ListPSMDBClustersResponse_Cluster) GetParams() *PSMDBClusterParams
- func (x *ListPSMDBClustersResponse_Cluster) GetState() PSMDBClusterState
- func (*ListPSMDBClustersResponse_Cluster) ProtoMessage()
- func (x *ListPSMDBClustersResponse_Cluster) ProtoReflect() protoreflect.Message
- func (x *ListPSMDBClustersResponse_Cluster) Reset()
- func (x *ListPSMDBClustersResponse_Cluster) String() string
- func (this *ListPSMDBClustersResponse_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 PSMDBClusterClient
- type PSMDBClusterParams
- func (*PSMDBClusterParams) Descriptor() ([]byte, []int)deprecated
- func (x *PSMDBClusterParams) GetClusterSize() int32
- func (x *PSMDBClusterParams) GetReplicaset() *PSMDBClusterParams_ReplicaSet
- func (*PSMDBClusterParams) ProtoMessage()
- func (x *PSMDBClusterParams) ProtoReflect() protoreflect.Message
- func (x *PSMDBClusterParams) Reset()
- func (x *PSMDBClusterParams) String() string
- func (this *PSMDBClusterParams) Validate() error
- type PSMDBClusterParams_ReplicaSet
- func (*PSMDBClusterParams_ReplicaSet) Descriptor() ([]byte, []int)deprecated
- func (x *PSMDBClusterParams_ReplicaSet) GetComputeResources() *ComputeResources
- func (x *PSMDBClusterParams_ReplicaSet) GetDiskSize() int64
- func (*PSMDBClusterParams_ReplicaSet) ProtoMessage()
- func (x *PSMDBClusterParams_ReplicaSet) ProtoReflect() protoreflect.Message
- func (x *PSMDBClusterParams_ReplicaSet) Reset()
- func (x *PSMDBClusterParams_ReplicaSet) String() string
- func (this *PSMDBClusterParams_ReplicaSet) Validate() error
- type PSMDBClusterServer
- type PSMDBClusterState
- func (PSMDBClusterState) Descriptor() protoreflect.EnumDescriptor
- func (x PSMDBClusterState) Enum() *PSMDBClusterState
- func (PSMDBClusterState) EnumDescriptor() ([]byte, []int)deprecated
- func (x PSMDBClusterState) Number() protoreflect.EnumNumber
- func (x PSMDBClusterState) String() string
- func (PSMDBClusterState) Type() protoreflect.EnumType
- 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 RestartPSMDBClusterRequest
- func (*RestartPSMDBClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestartPSMDBClusterRequest) GetKubernetesClusterName() string
- func (x *RestartPSMDBClusterRequest) GetName() string
- func (*RestartPSMDBClusterRequest) ProtoMessage()
- func (x *RestartPSMDBClusterRequest) ProtoReflect() protoreflect.Message
- func (x *RestartPSMDBClusterRequest) Reset()
- func (x *RestartPSMDBClusterRequest) String() string
- func (this *RestartPSMDBClusterRequest) Validate() error
- type RestartPSMDBClusterResponse
- func (*RestartPSMDBClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*RestartPSMDBClusterResponse) ProtoMessage()
- func (x *RestartPSMDBClusterResponse) ProtoReflect() protoreflect.Message
- func (x *RestartPSMDBClusterResponse) Reset()
- func (x *RestartPSMDBClusterResponse) String() string
- func (this *RestartPSMDBClusterResponse) Validate() error
- type RestartXtraDBClusterRequest
- func (*RestartXtraDBClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *RestartXtraDBClusterRequest) GetKubernetesClusterName() string
- func (x *RestartXtraDBClusterRequest) GetName() string
- func (*RestartXtraDBClusterRequest) ProtoMessage()
- func (x *RestartXtraDBClusterRequest) ProtoReflect() protoreflect.Message
- func (x *RestartXtraDBClusterRequest) Reset()
- func (x *RestartXtraDBClusterRequest) String() string
- func (this *RestartXtraDBClusterRequest) Validate() error
- type RestartXtraDBClusterResponse
- func (*RestartXtraDBClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*RestartXtraDBClusterResponse) ProtoMessage()
- func (x *RestartXtraDBClusterResponse) ProtoReflect() protoreflect.Message
- func (x *RestartXtraDBClusterResponse) Reset()
- func (x *RestartXtraDBClusterResponse) String() string
- func (this *RestartXtraDBClusterResponse) 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 UnimplementedPSMDBClusterServer
- func (*UnimplementedPSMDBClusterServer) CreatePSMDBCluster(context.Context, *CreatePSMDBClusterRequest) (*CreatePSMDBClusterResponse, error)
- func (*UnimplementedPSMDBClusterServer) DeletePSMDBCluster(context.Context, *DeletePSMDBClusterRequest) (*DeletePSMDBClusterResponse, error)
- func (*UnimplementedPSMDBClusterServer) GetPSMDBCluster(context.Context, *GetPSMDBClusterRequest) (*GetPSMDBClusterResponse, error)
- func (*UnimplementedPSMDBClusterServer) ListPSMDBClusters(context.Context, *ListPSMDBClustersRequest) (*ListPSMDBClustersResponse, error)
- func (*UnimplementedPSMDBClusterServer) RestartPSMDBCluster(context.Context, *RestartPSMDBClusterRequest) (*RestartPSMDBClusterResponse, error)
- func (*UnimplementedPSMDBClusterServer) UpdatePSMDBCluster(context.Context, *UpdatePSMDBClusterRequest) (*UpdatePSMDBClusterResponse, error)
- type UnimplementedXtraDBClusterServer
- func (*UnimplementedXtraDBClusterServer) CreateXtraDBCluster(context.Context, *CreateXtraDBClusterRequest) (*CreateXtraDBClusterResponse, error)
- func (*UnimplementedXtraDBClusterServer) DeleteXtraDBCluster(context.Context, *DeleteXtraDBClusterRequest) (*DeleteXtraDBClusterResponse, error)
- func (*UnimplementedXtraDBClusterServer) GetXtraDBCluster(context.Context, *GetXtraDBClusterRequest) (*GetXtraDBClusterResponse, error)
- func (*UnimplementedXtraDBClusterServer) ListXtraDBClusters(context.Context, *ListXtraDBClustersRequest) (*ListXtraDBClustersResponse, error)
- func (*UnimplementedXtraDBClusterServer) RestartXtraDBCluster(context.Context, *RestartXtraDBClusterRequest) (*RestartXtraDBClusterResponse, 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 UpdatePSMDBClusterRequest
- func (*UpdatePSMDBClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePSMDBClusterRequest) GetKubernetesClusterName() string
- func (x *UpdatePSMDBClusterRequest) GetName() string
- func (x *UpdatePSMDBClusterRequest) GetParams() *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams
- func (*UpdatePSMDBClusterRequest) ProtoMessage()
- func (x *UpdatePSMDBClusterRequest) ProtoReflect() protoreflect.Message
- func (x *UpdatePSMDBClusterRequest) Reset()
- func (x *UpdatePSMDBClusterRequest) String() string
- func (this *UpdatePSMDBClusterRequest) Validate() error
- type UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams
- func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) GetClusterSize() int32
- func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) GetReplicaset() *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet
- func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) ProtoMessage()
- func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) ProtoReflect() protoreflect.Message
- func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) Reset()
- func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) String() string
- func (this *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) Validate() error
- type UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet
- func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) Descriptor() ([]byte, []int)deprecated
- func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) GetComputeResources() *ComputeResources
- func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) ProtoMessage()
- func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) ProtoReflect() protoreflect.Message
- func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) Reset()
- func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) String() string
- func (this *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) Validate() error
- type UpdatePSMDBClusterResponse
- func (*UpdatePSMDBClusterResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdatePSMDBClusterResponse) ProtoMessage()
- func (x *UpdatePSMDBClusterResponse) ProtoReflect() protoreflect.Message
- func (x *UpdatePSMDBClusterResponse) Reset()
- func (x *UpdatePSMDBClusterResponse) String() string
- func (this *UpdatePSMDBClusterResponse) Validate() error
- type UpdateXtraDBClusterRequest
- func (*UpdateXtraDBClusterRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateXtraDBClusterRequest) GetKubernetesClusterName() string
- func (x *UpdateXtraDBClusterRequest) GetName() string
- func (x *UpdateXtraDBClusterRequest) GetParams() *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams
- func (*UpdateXtraDBClusterRequest) ProtoMessage()
- func (x *UpdateXtraDBClusterRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateXtraDBClusterRequest) Reset()
- func (x *UpdateXtraDBClusterRequest) String() string
- func (this *UpdateXtraDBClusterRequest) Validate() error
- type UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams
- func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) GetClusterSize() int32
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) GetProxysql() *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) GetPxc() *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC
- func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) ProtoMessage()
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) ProtoReflect() protoreflect.Message
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) Reset()
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) String() string
- func (this *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) Validate() error
- type UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC
- func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) GetComputeResources() *ComputeResources
- func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) ProtoMessage()
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) ProtoReflect() protoreflect.Message
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) Reset()
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) String() string
- func (this *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) Validate() error
- type UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL
- func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) GetComputeResources() *ComputeResources
- func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) ProtoMessage()
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) ProtoReflect() protoreflect.Message
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) Reset()
- func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) String() string
- func (this *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) 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 XtraDBClusterConnectionCredentials
- func (*XtraDBClusterConnectionCredentials) Descriptor() ([]byte, []int)deprecated
- func (x *XtraDBClusterConnectionCredentials) GetHost() string
- func (x *XtraDBClusterConnectionCredentials) GetPassword() string
- func (x *XtraDBClusterConnectionCredentials) GetPort() int32
- func (x *XtraDBClusterConnectionCredentials) GetUsername() string
- func (*XtraDBClusterConnectionCredentials) ProtoMessage()
- func (x *XtraDBClusterConnectionCredentials) ProtoReflect() protoreflect.Message
- func (x *XtraDBClusterConnectionCredentials) Reset()
- func (x *XtraDBClusterConnectionCredentials) String() string
- func (this *XtraDBClusterConnectionCredentials) Validate() error
- 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 (x *XtraDBClusterParams_PXC) GetDiskSize() int64
- 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 (x *XtraDBClusterParams_ProxySQL) GetDiskSize() int64
- 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 ( PSMDBClusterState_name = map[int32]string{ 0: "PSMDB_CLUSTER_STATE_INVALID", 1: "PSMDB_CLUSTER_STATE_CHANGING", 2: "PSMDB_CLUSTER_STATE_READY", 3: "PSMDB_CLUSTER_STATE_FAILED", 4: "PSMDB_CLUSTER_STATE_DELETING", } PSMDBClusterState_value = map[string]int32{ "PSMDB_CLUSTER_STATE_INVALID": 0, "PSMDB_CLUSTER_STATE_CHANGING": 1, "PSMDB_CLUSTER_STATE_READY": 2, "PSMDB_CLUSTER_STATE_FAILED": 3, "PSMDB_CLUSTER_STATE_DELETING": 4, } )
Enum value maps for PSMDBClusterState.
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_dbaas_proto protoreflect.FileDescriptor
var File_managementpb_dbaas_kubernetes_proto protoreflect.FileDescriptor
var File_managementpb_dbaas_psmdb_cluster_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 RegisterPSMDBClusterHandler ¶
func RegisterPSMDBClusterHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
RegisterPSMDBClusterHandler registers the http handlers for service PSMDBCluster to "mux". The handlers forward requests to the grpc endpoint over "conn".
func RegisterPSMDBClusterHandlerClient ¶
func RegisterPSMDBClusterHandlerClient(ctx context.Context, mux *runtime.ServeMux, client PSMDBClusterClient) error
RegisterPSMDBClusterHandlerClient registers the http handlers for service PSMDBCluster to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "PSMDBClusterClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "PSMDBClusterClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "PSMDBClusterClient" to call the correct interceptors.
func RegisterPSMDBClusterHandlerFromEndpoint ¶
func RegisterPSMDBClusterHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)
RegisterPSMDBClusterHandlerFromEndpoint is same as RegisterPSMDBClusterHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.
func RegisterPSMDBClusterHandlerServer ¶
func RegisterPSMDBClusterHandlerServer(ctx context.Context, mux *runtime.ServeMux, server PSMDBClusterServer) error
RegisterPSMDBClusterHandlerServer registers the http handlers for service PSMDBCluster to "mux". UnaryRPC :call PSMDBClusterServer 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 RegisterPSMDBClusterHandlerFromEndpoint instead.
func RegisterPSMDBClusterServer ¶
func RegisterPSMDBClusterServer(s *grpc.Server, srv PSMDBClusterServer)
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 CreatePSMDBClusterRequest ¶
type CreatePSMDBClusterRequest struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // PSMDB cluster name. // a DNS-1035 label must consist of lower case alphanumeric characters or '-', // start with an alphabetic character, and end with an alphanumeric character // (e.g. 'my-name', or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?') Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Cluster parameters. Params *PSMDBClusterParams `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*CreatePSMDBClusterRequest) Descriptor
deprecated
func (*CreatePSMDBClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreatePSMDBClusterRequest.ProtoReflect.Descriptor instead.
func (*CreatePSMDBClusterRequest) GetKubernetesClusterName ¶
func (x *CreatePSMDBClusterRequest) GetKubernetesClusterName() string
func (*CreatePSMDBClusterRequest) GetName ¶
func (x *CreatePSMDBClusterRequest) GetName() string
func (*CreatePSMDBClusterRequest) GetParams ¶
func (x *CreatePSMDBClusterRequest) GetParams() *PSMDBClusterParams
func (*CreatePSMDBClusterRequest) ProtoMessage ¶
func (*CreatePSMDBClusterRequest) ProtoMessage()
func (*CreatePSMDBClusterRequest) ProtoReflect ¶
func (x *CreatePSMDBClusterRequest) ProtoReflect() protoreflect.Message
func (*CreatePSMDBClusterRequest) Reset ¶
func (x *CreatePSMDBClusterRequest) Reset()
func (*CreatePSMDBClusterRequest) String ¶
func (x *CreatePSMDBClusterRequest) String() string
func (*CreatePSMDBClusterRequest) Validate ¶
func (this *CreatePSMDBClusterRequest) Validate() error
type CreatePSMDBClusterResponse ¶
type CreatePSMDBClusterResponse struct {
// contains filtered or unexported fields
}
func (*CreatePSMDBClusterResponse) Descriptor
deprecated
func (*CreatePSMDBClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreatePSMDBClusterResponse.ProtoReflect.Descriptor instead.
func (*CreatePSMDBClusterResponse) ProtoMessage ¶
func (*CreatePSMDBClusterResponse) ProtoMessage()
func (*CreatePSMDBClusterResponse) ProtoReflect ¶
func (x *CreatePSMDBClusterResponse) ProtoReflect() protoreflect.Message
func (*CreatePSMDBClusterResponse) Reset ¶
func (x *CreatePSMDBClusterResponse) Reset()
func (*CreatePSMDBClusterResponse) String ¶
func (x *CreatePSMDBClusterResponse) String() string
func (*CreatePSMDBClusterResponse) Validate ¶
func (this *CreatePSMDBClusterResponse) Validate() error
type CreateXtraDBClusterRequest ¶
type CreateXtraDBClusterRequest struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // XtraDB cluster name. // a DNS-1035 label must consist of lower case alphanumeric characters or '-', // start with an alphabetic character, and end with an alphanumeric character // (e.g. 'my-name', or 'abc-123', regex used for validation is '[a-z]([-a-z0-9]*[a-z0-9])?') 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 DeletePSMDBClusterRequest ¶
type DeletePSMDBClusterRequest struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // PSMDB cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*DeletePSMDBClusterRequest) Descriptor
deprecated
func (*DeletePSMDBClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeletePSMDBClusterRequest.ProtoReflect.Descriptor instead.
func (*DeletePSMDBClusterRequest) GetKubernetesClusterName ¶
func (x *DeletePSMDBClusterRequest) GetKubernetesClusterName() string
func (*DeletePSMDBClusterRequest) GetName ¶
func (x *DeletePSMDBClusterRequest) GetName() string
func (*DeletePSMDBClusterRequest) ProtoMessage ¶
func (*DeletePSMDBClusterRequest) ProtoMessage()
func (*DeletePSMDBClusterRequest) ProtoReflect ¶
func (x *DeletePSMDBClusterRequest) ProtoReflect() protoreflect.Message
func (*DeletePSMDBClusterRequest) Reset ¶
func (x *DeletePSMDBClusterRequest) Reset()
func (*DeletePSMDBClusterRequest) String ¶
func (x *DeletePSMDBClusterRequest) String() string
func (*DeletePSMDBClusterRequest) Validate ¶
func (this *DeletePSMDBClusterRequest) Validate() error
type DeletePSMDBClusterResponse ¶
type DeletePSMDBClusterResponse struct {
// contains filtered or unexported fields
}
func (*DeletePSMDBClusterResponse) Descriptor
deprecated
func (*DeletePSMDBClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeletePSMDBClusterResponse.ProtoReflect.Descriptor instead.
func (*DeletePSMDBClusterResponse) ProtoMessage ¶
func (*DeletePSMDBClusterResponse) ProtoMessage()
func (*DeletePSMDBClusterResponse) ProtoReflect ¶
func (x *DeletePSMDBClusterResponse) ProtoReflect() protoreflect.Message
func (*DeletePSMDBClusterResponse) Reset ¶
func (x *DeletePSMDBClusterResponse) Reset()
func (*DeletePSMDBClusterResponse) String ¶
func (x *DeletePSMDBClusterResponse) String() string
func (*DeletePSMDBClusterResponse) Validate ¶
func (this *DeletePSMDBClusterResponse) 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 GetPSMDBClusterRequest ¶
type GetPSMDBClusterRequest struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // PSMDB cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*GetPSMDBClusterRequest) Descriptor
deprecated
func (*GetPSMDBClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetPSMDBClusterRequest.ProtoReflect.Descriptor instead.
func (*GetPSMDBClusterRequest) GetKubernetesClusterName ¶
func (x *GetPSMDBClusterRequest) GetKubernetesClusterName() string
func (*GetPSMDBClusterRequest) GetName ¶
func (x *GetPSMDBClusterRequest) GetName() string
func (*GetPSMDBClusterRequest) ProtoMessage ¶
func (*GetPSMDBClusterRequest) ProtoMessage()
func (*GetPSMDBClusterRequest) ProtoReflect ¶
func (x *GetPSMDBClusterRequest) ProtoReflect() protoreflect.Message
func (*GetPSMDBClusterRequest) Reset ¶
func (x *GetPSMDBClusterRequest) Reset()
func (*GetPSMDBClusterRequest) String ¶
func (x *GetPSMDBClusterRequest) String() string
func (*GetPSMDBClusterRequest) Validate ¶
func (this *GetPSMDBClusterRequest) Validate() error
type GetPSMDBClusterResponse ¶
type GetPSMDBClusterResponse struct { // Cluster state. State PSMDBClusterState `protobuf:"varint,1,opt,name=state,proto3,enum=dbaas.v1beta1.PSMDBClusterState" json:"state,omitempty"` // Currently running operation, if any. Operation *RunningOperation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` // Cluster parameters. Params *PSMDBClusterParams `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` // Connection credentials. ConnectionCredentials *GetPSMDBClusterResponse_PSMDBCredentials `protobuf:"bytes,4,opt,name=connection_credentials,json=connectionCredentials,proto3" json:"connection_credentials,omitempty"` // contains filtered or unexported fields }
func (*GetPSMDBClusterResponse) Descriptor
deprecated
func (*GetPSMDBClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetPSMDBClusterResponse.ProtoReflect.Descriptor instead.
func (*GetPSMDBClusterResponse) GetConnectionCredentials ¶
func (x *GetPSMDBClusterResponse) GetConnectionCredentials() *GetPSMDBClusterResponse_PSMDBCredentials
func (*GetPSMDBClusterResponse) GetOperation ¶
func (x *GetPSMDBClusterResponse) GetOperation() *RunningOperation
func (*GetPSMDBClusterResponse) GetParams ¶
func (x *GetPSMDBClusterResponse) GetParams() *PSMDBClusterParams
func (*GetPSMDBClusterResponse) GetState ¶
func (x *GetPSMDBClusterResponse) GetState() PSMDBClusterState
func (*GetPSMDBClusterResponse) ProtoMessage ¶
func (*GetPSMDBClusterResponse) ProtoMessage()
func (*GetPSMDBClusterResponse) ProtoReflect ¶
func (x *GetPSMDBClusterResponse) ProtoReflect() protoreflect.Message
func (*GetPSMDBClusterResponse) Reset ¶
func (x *GetPSMDBClusterResponse) Reset()
func (*GetPSMDBClusterResponse) String ¶
func (x *GetPSMDBClusterResponse) String() string
func (*GetPSMDBClusterResponse) Validate ¶
func (this *GetPSMDBClusterResponse) Validate() error
type GetPSMDBClusterResponse_PSMDBCredentials ¶
type GetPSMDBClusterResponse_PSMDBCredentials struct { // MongoDB username. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // MongoDB password. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // MongoDB host. Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // MongoDB port. Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` // Replicaset name. Replicaset string `protobuf:"bytes,5,opt,name=replicaset,proto3" json:"replicaset,omitempty"` // contains filtered or unexported fields }
PSMDBCredentials is a credentials to connect to PSMDB. TODO Do not use inner messages in all public APIs (for consistency).
func (*GetPSMDBClusterResponse_PSMDBCredentials) Descriptor
deprecated
func (*GetPSMDBClusterResponse_PSMDBCredentials) Descriptor() ([]byte, []int)
Deprecated: Use GetPSMDBClusterResponse_PSMDBCredentials.ProtoReflect.Descriptor instead.
func (*GetPSMDBClusterResponse_PSMDBCredentials) GetHost ¶
func (x *GetPSMDBClusterResponse_PSMDBCredentials) GetHost() string
func (*GetPSMDBClusterResponse_PSMDBCredentials) GetPassword ¶
func (x *GetPSMDBClusterResponse_PSMDBCredentials) GetPassword() string
func (*GetPSMDBClusterResponse_PSMDBCredentials) GetPort ¶
func (x *GetPSMDBClusterResponse_PSMDBCredentials) GetPort() int32
func (*GetPSMDBClusterResponse_PSMDBCredentials) GetReplicaset ¶
func (x *GetPSMDBClusterResponse_PSMDBCredentials) GetReplicaset() string
func (*GetPSMDBClusterResponse_PSMDBCredentials) GetUsername ¶
func (x *GetPSMDBClusterResponse_PSMDBCredentials) GetUsername() string
func (*GetPSMDBClusterResponse_PSMDBCredentials) ProtoMessage ¶
func (*GetPSMDBClusterResponse_PSMDBCredentials) ProtoMessage()
func (*GetPSMDBClusterResponse_PSMDBCredentials) ProtoReflect ¶
func (x *GetPSMDBClusterResponse_PSMDBCredentials) ProtoReflect() protoreflect.Message
func (*GetPSMDBClusterResponse_PSMDBCredentials) Reset ¶
func (x *GetPSMDBClusterResponse_PSMDBCredentials) Reset()
func (*GetPSMDBClusterResponse_PSMDBCredentials) String ¶
func (x *GetPSMDBClusterResponse_PSMDBCredentials) String() string
func (*GetPSMDBClusterResponse_PSMDBCredentials) Validate ¶
func (this *GetPSMDBClusterResponse_PSMDBCredentials) Validate() error
type GetXtraDBClusterRequest ¶
type GetXtraDBClusterRequest 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 (*GetXtraDBClusterRequest) Descriptor
deprecated
func (*GetXtraDBClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetXtraDBClusterRequest.ProtoReflect.Descriptor instead.
func (*GetXtraDBClusterRequest) GetKubernetesClusterName ¶
func (x *GetXtraDBClusterRequest) GetKubernetesClusterName() string
func (*GetXtraDBClusterRequest) GetName ¶
func (x *GetXtraDBClusterRequest) GetName() string
func (*GetXtraDBClusterRequest) ProtoMessage ¶
func (*GetXtraDBClusterRequest) ProtoMessage()
func (*GetXtraDBClusterRequest) ProtoReflect ¶
func (x *GetXtraDBClusterRequest) ProtoReflect() protoreflect.Message
func (*GetXtraDBClusterRequest) Reset ¶
func (x *GetXtraDBClusterRequest) Reset()
func (*GetXtraDBClusterRequest) String ¶
func (x *GetXtraDBClusterRequest) String() string
func (*GetXtraDBClusterRequest) Validate ¶
func (this *GetXtraDBClusterRequest) Validate() error
type GetXtraDBClusterResponse ¶
type GetXtraDBClusterResponse struct { // Cluster state. State XtraDBClusterState `protobuf:"varint,1,opt,name=state,proto3,enum=dbaas.v1beta1.XtraDBClusterState" json:"state,omitempty"` // Currently running operation, if any. Operation *RunningOperation `protobuf:"bytes,2,opt,name=operation,proto3" json:"operation,omitempty"` // Cluster parameters. Params *XtraDBClusterParams `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` // Cluster connection credentials. ConnectionCredentials *XtraDBClusterConnectionCredentials `protobuf:"bytes,4,opt,name=connection_credentials,json=connectionCredentials,proto3" json:"connection_credentials,omitempty"` // contains filtered or unexported fields }
func (*GetXtraDBClusterResponse) Descriptor
deprecated
func (*GetXtraDBClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetXtraDBClusterResponse.ProtoReflect.Descriptor instead.
func (*GetXtraDBClusterResponse) GetConnectionCredentials ¶
func (x *GetXtraDBClusterResponse) GetConnectionCredentials() *XtraDBClusterConnectionCredentials
func (*GetXtraDBClusterResponse) GetOperation ¶
func (x *GetXtraDBClusterResponse) GetOperation() *RunningOperation
func (*GetXtraDBClusterResponse) GetParams ¶
func (x *GetXtraDBClusterResponse) GetParams() *XtraDBClusterParams
func (*GetXtraDBClusterResponse) GetState ¶
func (x *GetXtraDBClusterResponse) GetState() XtraDBClusterState
func (*GetXtraDBClusterResponse) ProtoMessage ¶
func (*GetXtraDBClusterResponse) ProtoMessage()
func (*GetXtraDBClusterResponse) ProtoReflect ¶
func (x *GetXtraDBClusterResponse) ProtoReflect() protoreflect.Message
func (*GetXtraDBClusterResponse) Reset ¶
func (x *GetXtraDBClusterResponse) Reset()
func (*GetXtraDBClusterResponse) String ¶
func (x *GetXtraDBClusterResponse) String() string
func (*GetXtraDBClusterResponse) Validate ¶
func (this *GetXtraDBClusterResponse) 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. TODO Do not use inner messages in all public APIs (for consistency).
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 ListPSMDBClustersRequest ¶
type ListPSMDBClustersRequest struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // contains filtered or unexported fields }
func (*ListPSMDBClustersRequest) Descriptor
deprecated
func (*ListPSMDBClustersRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPSMDBClustersRequest.ProtoReflect.Descriptor instead.
func (*ListPSMDBClustersRequest) GetKubernetesClusterName ¶
func (x *ListPSMDBClustersRequest) GetKubernetesClusterName() string
func (*ListPSMDBClustersRequest) ProtoMessage ¶
func (*ListPSMDBClustersRequest) ProtoMessage()
func (*ListPSMDBClustersRequest) ProtoReflect ¶
func (x *ListPSMDBClustersRequest) ProtoReflect() protoreflect.Message
func (*ListPSMDBClustersRequest) Reset ¶
func (x *ListPSMDBClustersRequest) Reset()
func (*ListPSMDBClustersRequest) String ¶
func (x *ListPSMDBClustersRequest) String() string
func (*ListPSMDBClustersRequest) Validate ¶
func (this *ListPSMDBClustersRequest) Validate() error
type ListPSMDBClustersResponse ¶
type ListPSMDBClustersResponse struct { // PSMDB clusters information. Clusters []*ListPSMDBClustersResponse_Cluster `protobuf:"bytes,1,rep,name=clusters,proto3" json:"clusters,omitempty"` // contains filtered or unexported fields }
func (*ListPSMDBClustersResponse) Descriptor
deprecated
func (*ListPSMDBClustersResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPSMDBClustersResponse.ProtoReflect.Descriptor instead.
func (*ListPSMDBClustersResponse) GetClusters ¶
func (x *ListPSMDBClustersResponse) GetClusters() []*ListPSMDBClustersResponse_Cluster
func (*ListPSMDBClustersResponse) ProtoMessage ¶
func (*ListPSMDBClustersResponse) ProtoMessage()
func (*ListPSMDBClustersResponse) ProtoReflect ¶
func (x *ListPSMDBClustersResponse) ProtoReflect() protoreflect.Message
func (*ListPSMDBClustersResponse) Reset ¶
func (x *ListPSMDBClustersResponse) Reset()
func (*ListPSMDBClustersResponse) String ¶
func (x *ListPSMDBClustersResponse) String() string
func (*ListPSMDBClustersResponse) Validate ¶
func (this *ListPSMDBClustersResponse) Validate() error
type ListPSMDBClustersResponse_Cluster ¶
type ListPSMDBClustersResponse_Cluster struct { // Cluster name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Cluster state. State PSMDBClusterState `protobuf:"varint,2,opt,name=state,proto3,enum=dbaas.v1beta1.PSMDBClusterState" json:"state,omitempty"` // Currently running operation, if any. Operation *RunningOperation `protobuf:"bytes,3,opt,name=operation,proto3" json:"operation,omitempty"` // Cluster parameters. Params *PSMDBClusterParams `protobuf:"bytes,4,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
Cluster represents PSMDB cluster information. TODO Do not use inner messages in all public APIs (for consistency).
func (*ListPSMDBClustersResponse_Cluster) Descriptor
deprecated
func (*ListPSMDBClustersResponse_Cluster) Descriptor() ([]byte, []int)
Deprecated: Use ListPSMDBClustersResponse_Cluster.ProtoReflect.Descriptor instead.
func (*ListPSMDBClustersResponse_Cluster) GetName ¶
func (x *ListPSMDBClustersResponse_Cluster) GetName() string
func (*ListPSMDBClustersResponse_Cluster) GetOperation ¶
func (x *ListPSMDBClustersResponse_Cluster) GetOperation() *RunningOperation
func (*ListPSMDBClustersResponse_Cluster) GetParams ¶
func (x *ListPSMDBClustersResponse_Cluster) GetParams() *PSMDBClusterParams
func (*ListPSMDBClustersResponse_Cluster) GetState ¶
func (x *ListPSMDBClustersResponse_Cluster) GetState() PSMDBClusterState
func (*ListPSMDBClustersResponse_Cluster) ProtoMessage ¶
func (*ListPSMDBClustersResponse_Cluster) ProtoMessage()
func (*ListPSMDBClustersResponse_Cluster) ProtoReflect ¶
func (x *ListPSMDBClustersResponse_Cluster) ProtoReflect() protoreflect.Message
func (*ListPSMDBClustersResponse_Cluster) Reset ¶
func (x *ListPSMDBClustersResponse_Cluster) Reset()
func (*ListPSMDBClustersResponse_Cluster) String ¶
func (x *ListPSMDBClustersResponse_Cluster) String() string
func (*ListPSMDBClustersResponse_Cluster) Validate ¶
func (this *ListPSMDBClustersResponse_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. TODO Do not use inner messages in all public APIs (for consistency).
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 PSMDBClusterClient ¶
type PSMDBClusterClient interface { // ListPSMDBClusters returns a list of PSMDB clusters. ListPSMDBClusters(ctx context.Context, in *ListPSMDBClustersRequest, opts ...grpc.CallOption) (*ListPSMDBClustersResponse, error) // GetPSMDBCluster returns a PSMDB cluster by name. GetPSMDBCluster(ctx context.Context, in *GetPSMDBClusterRequest, opts ...grpc.CallOption) (*GetPSMDBClusterResponse, error) // CreatePSMDBCluster creates a new PSMDB cluster. CreatePSMDBCluster(ctx context.Context, in *CreatePSMDBClusterRequest, opts ...grpc.CallOption) (*CreatePSMDBClusterResponse, error) // UpdatePSMDBCluster updates existing PSMDB cluster. UpdatePSMDBCluster(ctx context.Context, in *UpdatePSMDBClusterRequest, opts ...grpc.CallOption) (*UpdatePSMDBClusterResponse, error) // DeletePSMDBCluster deletes PSMDB cluster. DeletePSMDBCluster(ctx context.Context, in *DeletePSMDBClusterRequest, opts ...grpc.CallOption) (*DeletePSMDBClusterResponse, error) // RestartPSMDBCluster restarts PSMDB cluster. RestartPSMDBCluster(ctx context.Context, in *RestartPSMDBClusterRequest, opts ...grpc.CallOption) (*RestartPSMDBClusterResponse, error) }
PSMDBClusterClient is the client API for PSMDBCluster service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPSMDBClusterClient ¶
func NewPSMDBClusterClient(cc grpc.ClientConnInterface) PSMDBClusterClient
type PSMDBClusterParams ¶
type PSMDBClusterParams struct { // Cluster size. ClusterSize int32 `protobuf:"varint,1,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` // ReplicaSet container parameters. Replicaset *PSMDBClusterParams_ReplicaSet `protobuf:"bytes,2,opt,name=replicaset,proto3" json:"replicaset,omitempty"` // contains filtered or unexported fields }
PSMDBClusterParams represents PSMDB cluster parameters that can be updated.
func (*PSMDBClusterParams) Descriptor
deprecated
func (*PSMDBClusterParams) Descriptor() ([]byte, []int)
Deprecated: Use PSMDBClusterParams.ProtoReflect.Descriptor instead.
func (*PSMDBClusterParams) GetClusterSize ¶
func (x *PSMDBClusterParams) GetClusterSize() int32
func (*PSMDBClusterParams) GetReplicaset ¶
func (x *PSMDBClusterParams) GetReplicaset() *PSMDBClusterParams_ReplicaSet
func (*PSMDBClusterParams) ProtoMessage ¶
func (*PSMDBClusterParams) ProtoMessage()
func (*PSMDBClusterParams) ProtoReflect ¶
func (x *PSMDBClusterParams) ProtoReflect() protoreflect.Message
func (*PSMDBClusterParams) Reset ¶
func (x *PSMDBClusterParams) Reset()
func (*PSMDBClusterParams) String ¶
func (x *PSMDBClusterParams) String() string
func (*PSMDBClusterParams) Validate ¶
func (this *PSMDBClusterParams) Validate() error
type PSMDBClusterParams_ReplicaSet ¶
type PSMDBClusterParams_ReplicaSet struct { // Requested compute resources. ComputeResources *ComputeResources `protobuf:"bytes,1,opt,name=compute_resources,json=computeResources,proto3" json:"compute_resources,omitempty"` // Disk size in bytes. DiskSize int64 `protobuf:"varint,2,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"` // contains filtered or unexported fields }
ReplicaSet container parameters. TODO Do not use inner messages in all public APIs (for consistency).
func (*PSMDBClusterParams_ReplicaSet) Descriptor
deprecated
func (*PSMDBClusterParams_ReplicaSet) Descriptor() ([]byte, []int)
Deprecated: Use PSMDBClusterParams_ReplicaSet.ProtoReflect.Descriptor instead.
func (*PSMDBClusterParams_ReplicaSet) GetComputeResources ¶
func (x *PSMDBClusterParams_ReplicaSet) GetComputeResources() *ComputeResources
func (*PSMDBClusterParams_ReplicaSet) GetDiskSize ¶
func (x *PSMDBClusterParams_ReplicaSet) GetDiskSize() int64
func (*PSMDBClusterParams_ReplicaSet) ProtoMessage ¶
func (*PSMDBClusterParams_ReplicaSet) ProtoMessage()
func (*PSMDBClusterParams_ReplicaSet) ProtoReflect ¶
func (x *PSMDBClusterParams_ReplicaSet) ProtoReflect() protoreflect.Message
func (*PSMDBClusterParams_ReplicaSet) Reset ¶
func (x *PSMDBClusterParams_ReplicaSet) Reset()
func (*PSMDBClusterParams_ReplicaSet) String ¶
func (x *PSMDBClusterParams_ReplicaSet) String() string
func (*PSMDBClusterParams_ReplicaSet) Validate ¶
func (this *PSMDBClusterParams_ReplicaSet) Validate() error
type PSMDBClusterServer ¶
type PSMDBClusterServer interface { // ListPSMDBClusters returns a list of PSMDB clusters. ListPSMDBClusters(context.Context, *ListPSMDBClustersRequest) (*ListPSMDBClustersResponse, error) // GetPSMDBCluster returns a PSMDB cluster by name. GetPSMDBCluster(context.Context, *GetPSMDBClusterRequest) (*GetPSMDBClusterResponse, error) // CreatePSMDBCluster creates a new PSMDB cluster. CreatePSMDBCluster(context.Context, *CreatePSMDBClusterRequest) (*CreatePSMDBClusterResponse, error) // UpdatePSMDBCluster updates existing PSMDB cluster. UpdatePSMDBCluster(context.Context, *UpdatePSMDBClusterRequest) (*UpdatePSMDBClusterResponse, error) // DeletePSMDBCluster deletes PSMDB cluster. DeletePSMDBCluster(context.Context, *DeletePSMDBClusterRequest) (*DeletePSMDBClusterResponse, error) // RestartPSMDBCluster restarts PSMDB cluster. RestartPSMDBCluster(context.Context, *RestartPSMDBClusterRequest) (*RestartPSMDBClusterResponse, error) }
PSMDBClusterServer is the server API for PSMDBCluster service.
type PSMDBClusterState ¶
type PSMDBClusterState int32
PSMDBClusterState represents PSMDB cluster CR state.
const ( // PSMDB_CLUSTER_STATE_INVALID represents unknown state. PSMDBClusterState_PSMDB_CLUSTER_STATE_INVALID PSMDBClusterState = 0 // PSMDB_CLUSTER_STATE_CHANGING represents a cluster being changed. PSMDBClusterState_PSMDB_CLUSTER_STATE_CHANGING PSMDBClusterState = 1 // PSMDB_CLUSTER_STATE_READY represents a cluster without pending changes. PSMDBClusterState_PSMDB_CLUSTER_STATE_READY PSMDBClusterState = 2 // PSMDB_CLUSTER_STATE_FAILED represents a failed cluster. PSMDBClusterState_PSMDB_CLUSTER_STATE_FAILED PSMDBClusterState = 3 // PSMDB_CLUSTER_STATE_DELETING represents a cluster being deleting. PSMDBClusterState_PSMDB_CLUSTER_STATE_DELETING PSMDBClusterState = 4 )
func (PSMDBClusterState) Descriptor ¶
func (PSMDBClusterState) Descriptor() protoreflect.EnumDescriptor
func (PSMDBClusterState) Enum ¶
func (x PSMDBClusterState) Enum() *PSMDBClusterState
func (PSMDBClusterState) EnumDescriptor
deprecated
func (PSMDBClusterState) EnumDescriptor() ([]byte, []int)
Deprecated: Use PSMDBClusterState.Descriptor instead.
func (PSMDBClusterState) Number ¶
func (x PSMDBClusterState) Number() protoreflect.EnumNumber
func (PSMDBClusterState) String ¶
func (x PSMDBClusterState) String() string
func (PSMDBClusterState) Type ¶
func (PSMDBClusterState) Type() protoreflect.EnumType
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 RestartPSMDBClusterRequest ¶
type RestartPSMDBClusterRequest struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // PSMDB cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*RestartPSMDBClusterRequest) Descriptor
deprecated
func (*RestartPSMDBClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestartPSMDBClusterRequest.ProtoReflect.Descriptor instead.
func (*RestartPSMDBClusterRequest) GetKubernetesClusterName ¶
func (x *RestartPSMDBClusterRequest) GetKubernetesClusterName() string
func (*RestartPSMDBClusterRequest) GetName ¶
func (x *RestartPSMDBClusterRequest) GetName() string
func (*RestartPSMDBClusterRequest) ProtoMessage ¶
func (*RestartPSMDBClusterRequest) ProtoMessage()
func (*RestartPSMDBClusterRequest) ProtoReflect ¶
func (x *RestartPSMDBClusterRequest) ProtoReflect() protoreflect.Message
func (*RestartPSMDBClusterRequest) Reset ¶
func (x *RestartPSMDBClusterRequest) Reset()
func (*RestartPSMDBClusterRequest) String ¶
func (x *RestartPSMDBClusterRequest) String() string
func (*RestartPSMDBClusterRequest) Validate ¶
func (this *RestartPSMDBClusterRequest) Validate() error
type RestartPSMDBClusterResponse ¶
type RestartPSMDBClusterResponse struct {
// contains filtered or unexported fields
}
func (*RestartPSMDBClusterResponse) Descriptor
deprecated
func (*RestartPSMDBClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestartPSMDBClusterResponse.ProtoReflect.Descriptor instead.
func (*RestartPSMDBClusterResponse) ProtoMessage ¶
func (*RestartPSMDBClusterResponse) ProtoMessage()
func (*RestartPSMDBClusterResponse) ProtoReflect ¶
func (x *RestartPSMDBClusterResponse) ProtoReflect() protoreflect.Message
func (*RestartPSMDBClusterResponse) Reset ¶
func (x *RestartPSMDBClusterResponse) Reset()
func (*RestartPSMDBClusterResponse) String ¶
func (x *RestartPSMDBClusterResponse) String() string
func (*RestartPSMDBClusterResponse) Validate ¶
func (this *RestartPSMDBClusterResponse) Validate() error
type RestartXtraDBClusterRequest ¶
type RestartXtraDBClusterRequest 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 (*RestartXtraDBClusterRequest) Descriptor
deprecated
func (*RestartXtraDBClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use RestartXtraDBClusterRequest.ProtoReflect.Descriptor instead.
func (*RestartXtraDBClusterRequest) GetKubernetesClusterName ¶
func (x *RestartXtraDBClusterRequest) GetKubernetesClusterName() string
func (*RestartXtraDBClusterRequest) GetName ¶
func (x *RestartXtraDBClusterRequest) GetName() string
func (*RestartXtraDBClusterRequest) ProtoMessage ¶
func (*RestartXtraDBClusterRequest) ProtoMessage()
func (*RestartXtraDBClusterRequest) ProtoReflect ¶
func (x *RestartXtraDBClusterRequest) ProtoReflect() protoreflect.Message
func (*RestartXtraDBClusterRequest) Reset ¶
func (x *RestartXtraDBClusterRequest) Reset()
func (*RestartXtraDBClusterRequest) String ¶
func (x *RestartXtraDBClusterRequest) String() string
func (*RestartXtraDBClusterRequest) Validate ¶
func (this *RestartXtraDBClusterRequest) Validate() error
type RestartXtraDBClusterResponse ¶
type RestartXtraDBClusterResponse struct {
// contains filtered or unexported fields
}
func (*RestartXtraDBClusterResponse) Descriptor
deprecated
func (*RestartXtraDBClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use RestartXtraDBClusterResponse.ProtoReflect.Descriptor instead.
func (*RestartXtraDBClusterResponse) ProtoMessage ¶
func (*RestartXtraDBClusterResponse) ProtoMessage()
func (*RestartXtraDBClusterResponse) ProtoReflect ¶
func (x *RestartXtraDBClusterResponse) ProtoReflect() protoreflect.Message
func (*RestartXtraDBClusterResponse) Reset ¶
func (x *RestartXtraDBClusterResponse) Reset()
func (*RestartXtraDBClusterResponse) String ¶
func (x *RestartXtraDBClusterResponse) String() string
func (*RestartXtraDBClusterResponse) Validate ¶
func (this *RestartXtraDBClusterResponse) 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 UnimplementedPSMDBClusterServer ¶
type UnimplementedPSMDBClusterServer struct { }
UnimplementedPSMDBClusterServer can be embedded to have forward compatible implementations.
func (*UnimplementedPSMDBClusterServer) CreatePSMDBCluster ¶
func (*UnimplementedPSMDBClusterServer) CreatePSMDBCluster(context.Context, *CreatePSMDBClusterRequest) (*CreatePSMDBClusterResponse, error)
func (*UnimplementedPSMDBClusterServer) DeletePSMDBCluster ¶
func (*UnimplementedPSMDBClusterServer) DeletePSMDBCluster(context.Context, *DeletePSMDBClusterRequest) (*DeletePSMDBClusterResponse, error)
func (*UnimplementedPSMDBClusterServer) GetPSMDBCluster ¶
func (*UnimplementedPSMDBClusterServer) GetPSMDBCluster(context.Context, *GetPSMDBClusterRequest) (*GetPSMDBClusterResponse, error)
func (*UnimplementedPSMDBClusterServer) ListPSMDBClusters ¶
func (*UnimplementedPSMDBClusterServer) ListPSMDBClusters(context.Context, *ListPSMDBClustersRequest) (*ListPSMDBClustersResponse, error)
func (*UnimplementedPSMDBClusterServer) RestartPSMDBCluster ¶
func (*UnimplementedPSMDBClusterServer) RestartPSMDBCluster(context.Context, *RestartPSMDBClusterRequest) (*RestartPSMDBClusterResponse, error)
func (*UnimplementedPSMDBClusterServer) UpdatePSMDBCluster ¶
func (*UnimplementedPSMDBClusterServer) UpdatePSMDBCluster(context.Context, *UpdatePSMDBClusterRequest) (*UpdatePSMDBClusterResponse, 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) GetXtraDBCluster ¶
func (*UnimplementedXtraDBClusterServer) GetXtraDBCluster(context.Context, *GetXtraDBClusterRequest) (*GetXtraDBClusterResponse, error)
func (*UnimplementedXtraDBClusterServer) ListXtraDBClusters ¶
func (*UnimplementedXtraDBClusterServer) ListXtraDBClusters(context.Context, *ListXtraDBClustersRequest) (*ListXtraDBClustersResponse, error)
func (*UnimplementedXtraDBClusterServer) RestartXtraDBCluster ¶
func (*UnimplementedXtraDBClusterServer) RestartXtraDBCluster(context.Context, *RestartXtraDBClusterRequest) (*RestartXtraDBClusterResponse, 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 UpdatePSMDBClusterRequest ¶
type UpdatePSMDBClusterRequest struct { // Kubernetes cluster name. KubernetesClusterName string `` /* 126-byte string literal not displayed */ // PSMDB cluster name. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Cluster parameters. Params *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams `protobuf:"bytes,3,opt,name=params,proto3" json:"params,omitempty"` // contains filtered or unexported fields }
func (*UpdatePSMDBClusterRequest) Descriptor
deprecated
func (*UpdatePSMDBClusterRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePSMDBClusterRequest.ProtoReflect.Descriptor instead.
func (*UpdatePSMDBClusterRequest) GetKubernetesClusterName ¶
func (x *UpdatePSMDBClusterRequest) GetKubernetesClusterName() string
func (*UpdatePSMDBClusterRequest) GetName ¶
func (x *UpdatePSMDBClusterRequest) GetName() string
func (*UpdatePSMDBClusterRequest) GetParams ¶
func (x *UpdatePSMDBClusterRequest) GetParams() *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams
func (*UpdatePSMDBClusterRequest) ProtoMessage ¶
func (*UpdatePSMDBClusterRequest) ProtoMessage()
func (*UpdatePSMDBClusterRequest) ProtoReflect ¶
func (x *UpdatePSMDBClusterRequest) ProtoReflect() protoreflect.Message
func (*UpdatePSMDBClusterRequest) Reset ¶
func (x *UpdatePSMDBClusterRequest) Reset()
func (*UpdatePSMDBClusterRequest) String ¶
func (x *UpdatePSMDBClusterRequest) String() string
func (*UpdatePSMDBClusterRequest) Validate ¶
func (this *UpdatePSMDBClusterRequest) Validate() error
type UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams ¶
type UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams struct { // Cluster size. ClusterSize int32 `protobuf:"varint,1,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` // ReplicaSet container parameters. Replicaset *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet `protobuf:"bytes,2,opt,name=replicaset,proto3" json:"replicaset,omitempty"` // contains filtered or unexported fields }
UpdatePSMDBClusterParams represents PSMDB cluster parameters that can be updated.
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) Descriptor
deprecated
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams.ProtoReflect.Descriptor instead.
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) GetClusterSize ¶
func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) GetClusterSize() int32
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) GetReplicaset ¶
func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) GetReplicaset() *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) ProtoMessage ¶
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) ProtoMessage()
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) ProtoReflect ¶
func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) ProtoReflect() protoreflect.Message
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) Reset ¶
func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) Reset()
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) String ¶
func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) String() string
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) Validate ¶
func (this *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams) Validate() error
type UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet ¶
type UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet 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 }
ReplicaSet container parameters.
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) Descriptor
deprecated
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet.ProtoReflect.Descriptor instead.
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) GetComputeResources ¶
func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) GetComputeResources() *ComputeResources
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) ProtoMessage ¶
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) ProtoMessage()
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) ProtoReflect ¶
func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) ProtoReflect() protoreflect.Message
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) Reset ¶
func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) Reset()
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) String ¶
func (x *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) String() string
func (*UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) Validate ¶
func (this *UpdatePSMDBClusterRequest_UpdatePSMDBClusterParams_ReplicaSet) Validate() error
type UpdatePSMDBClusterResponse ¶
type UpdatePSMDBClusterResponse struct {
// contains filtered or unexported fields
}
func (*UpdatePSMDBClusterResponse) Descriptor
deprecated
func (*UpdatePSMDBClusterResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdatePSMDBClusterResponse.ProtoReflect.Descriptor instead.
func (*UpdatePSMDBClusterResponse) ProtoMessage ¶
func (*UpdatePSMDBClusterResponse) ProtoMessage()
func (*UpdatePSMDBClusterResponse) ProtoReflect ¶
func (x *UpdatePSMDBClusterResponse) ProtoReflect() protoreflect.Message
func (*UpdatePSMDBClusterResponse) Reset ¶
func (x *UpdatePSMDBClusterResponse) Reset()
func (*UpdatePSMDBClusterResponse) String ¶
func (x *UpdatePSMDBClusterResponse) String() string
func (*UpdatePSMDBClusterResponse) Validate ¶
func (this *UpdatePSMDBClusterResponse) 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 *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams `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() *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams
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 UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams ¶
type UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams struct { // Cluster size. ClusterSize int32 `protobuf:"varint,1,opt,name=cluster_size,json=clusterSize,proto3" json:"cluster_size,omitempty"` // PXC container parameters. Pxc *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC `protobuf:"bytes,2,opt,name=pxc,proto3" json:"pxc,omitempty"` // ProxySQL container parameters. Proxysql *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL `protobuf:"bytes,3,opt,name=proxysql,proto3" json:"proxysql,omitempty"` // contains filtered or unexported fields }
UpdateXtraDBClusterParams represents XtraDB cluster parameters that can be updated.
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) Descriptor
deprecated
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) Descriptor() ([]byte, []int)
Deprecated: Use UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams.ProtoReflect.Descriptor instead.
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) GetClusterSize ¶
func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) GetClusterSize() int32
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) GetProxysql ¶
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) ProtoMessage ¶
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) ProtoMessage()
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) ProtoReflect ¶
func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) ProtoReflect() protoreflect.Message
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) Reset ¶
func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) Reset()
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) String ¶
func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) String() string
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) Validate ¶
func (this *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams) Validate() error
type UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC ¶
type UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_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 (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) Descriptor
deprecated
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) Descriptor() ([]byte, []int)
Deprecated: Use UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC.ProtoReflect.Descriptor instead.
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) GetComputeResources ¶
func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) GetComputeResources() *ComputeResources
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) ProtoMessage ¶
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) ProtoMessage()
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) ProtoReflect ¶
func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) ProtoReflect() protoreflect.Message
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) Reset ¶
func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) Reset()
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) String ¶
func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) String() string
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) Validate ¶
func (this *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_PXC) Validate() error
type UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL ¶
type UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_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 (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) Descriptor
deprecated
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) Descriptor() ([]byte, []int)
Deprecated: Use UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL.ProtoReflect.Descriptor instead.
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) GetComputeResources ¶
func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) GetComputeResources() *ComputeResources
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) ProtoMessage ¶
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) ProtoMessage()
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) ProtoReflect ¶
func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) ProtoReflect() protoreflect.Message
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) Reset ¶
func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) Reset()
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) String ¶
func (x *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) String() string
func (*UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) Validate ¶
func (this *UpdateXtraDBClusterRequest_UpdateXtraDBClusterParams_ProxySQL) 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. XtraDBBackupState_XTRA_DB_BACKUP_STATE_RUNNING XtraDBBackupState = 1 // XTRA_DB_BACKUP_STATE_SUCCEEDED represents succeeded backup. XtraDBBackupState_XTRA_DB_BACKUP_STATE_SUCCEEDED XtraDBBackupState = 2 // XTRA_DB_BACKUP_STATE_FAILED represents failed backup. 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) // GetXtraDBCluster returns a XtraDB cluster by name. GetXtraDBCluster(ctx context.Context, in *GetXtraDBClusterRequest, opts ...grpc.CallOption) (*GetXtraDBClusterResponse, 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) // RestartXtraDBCluster restarts XtraDB cluster. RestartXtraDBCluster(ctx context.Context, in *RestartXtraDBClusterRequest, opts ...grpc.CallOption) (*RestartXtraDBClusterResponse, 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 XtraDBClusterConnectionCredentials ¶
type XtraDBClusterConnectionCredentials struct { // ProxySQL username. Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` // ProxySQL password. Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"` // ProxySQL host. Host string `protobuf:"bytes,3,opt,name=host,proto3" json:"host,omitempty"` // ProxySQL port. Port int32 `protobuf:"varint,4,opt,name=port,proto3" json:"port,omitempty"` // contains filtered or unexported fields }
XtraDBClusterConnectionCredentials is cluster connection credentials.
func (*XtraDBClusterConnectionCredentials) Descriptor
deprecated
func (*XtraDBClusterConnectionCredentials) Descriptor() ([]byte, []int)
Deprecated: Use XtraDBClusterConnectionCredentials.ProtoReflect.Descriptor instead.
func (*XtraDBClusterConnectionCredentials) GetHost ¶
func (x *XtraDBClusterConnectionCredentials) GetHost() string
func (*XtraDBClusterConnectionCredentials) GetPassword ¶
func (x *XtraDBClusterConnectionCredentials) GetPassword() string
func (*XtraDBClusterConnectionCredentials) GetPort ¶
func (x *XtraDBClusterConnectionCredentials) GetPort() int32
func (*XtraDBClusterConnectionCredentials) GetUsername ¶
func (x *XtraDBClusterConnectionCredentials) GetUsername() string
func (*XtraDBClusterConnectionCredentials) ProtoMessage ¶
func (*XtraDBClusterConnectionCredentials) ProtoMessage()
func (*XtraDBClusterConnectionCredentials) ProtoReflect ¶
func (x *XtraDBClusterConnectionCredentials) ProtoReflect() protoreflect.Message
func (*XtraDBClusterConnectionCredentials) Reset ¶
func (x *XtraDBClusterConnectionCredentials) Reset()
func (*XtraDBClusterConnectionCredentials) String ¶
func (x *XtraDBClusterConnectionCredentials) String() string
func (*XtraDBClusterConnectionCredentials) Validate ¶
func (this *XtraDBClusterConnectionCredentials) Validate() error
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"` // Disk size in bytes. DiskSize int64 `protobuf:"varint,2,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"` // contains filtered or unexported fields }
PXC container parameters. TODO Do not use inner messages in all public APIs (for consistency).
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) GetDiskSize ¶
func (x *XtraDBClusterParams_PXC) GetDiskSize() int64
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"` // Disk size in bytes. DiskSize int64 `protobuf:"varint,2,opt,name=disk_size,json=diskSize,proto3" json:"disk_size,omitempty"` // contains filtered or unexported fields }
ProxySQL container parameters. TODO Do not use inner messages in all public APIs (for consistency).
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) GetDiskSize ¶
func (x *XtraDBClusterParams_ProxySQL) GetDiskSize() int64
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) // GetXtraDBCluster returns a XtraDB cluster by name. GetXtraDBCluster(context.Context, *GetXtraDBClusterRequest) (*GetXtraDBClusterResponse, 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) // RestartXtraDBCluster restarts XtraDB cluster. RestartXtraDBCluster(context.Context, *RestartXtraDBClusterRequest) (*RestartXtraDBClusterResponse, 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. XtraDBClusterState_XTRA_DB_CLUSTER_STATE_CHANGING XtraDBClusterState = 1 // XTRA_DB_CLUSTER_STATE_READY represents a cluster without pending changes. XtraDBClusterState_XTRA_DB_CLUSTER_STATE_READY XtraDBClusterState = 2 // XTRA_DB_CLUSTER_STATE_FAILED represents a failed cluster. 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