Documentation ¶
Overview ¶
Package dbaas contains all APIs related to DBaaS.
Package dbaas contains all logic related to dbaas services.
Index ¶
- func NewKubernetesServer(db *reform.DB, dbaasClient dbaasClient) dbaasv1beta1.KubernetesServer
- func NewXtraDBClusterService(db *reform.DB, client dbaasClient) dbaasv1beta1.XtraDBClusterServer
- type XtraDBClusterService
- func (s XtraDBClusterService) CreateXtraDBCluster(ctx context.Context, req *dbaasv1beta1.CreateXtraDBClusterRequest) (*dbaasv1beta1.CreateXtraDBClusterResponse, error)
- func (s XtraDBClusterService) DeleteXtraDBCluster(ctx context.Context, req *dbaasv1beta1.DeleteXtraDBClusterRequest) (*dbaasv1beta1.DeleteXtraDBClusterResponse, error)
- func (s XtraDBClusterService) ListXtraDBClusters(ctx context.Context, req *dbaasv1beta1.ListXtraDBClustersRequest) (*dbaasv1beta1.ListXtraDBClustersResponse, error)
- func (s XtraDBClusterService) UpdateXtraDBCluster(ctx context.Context, req *dbaasv1beta1.UpdateXtraDBClusterRequest) (*dbaasv1beta1.UpdateXtraDBClusterResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewKubernetesServer ¶
func NewKubernetesServer(db *reform.DB, dbaasClient dbaasClient) dbaasv1beta1.KubernetesServer
NewKubernetesServer creates Kubernetes Server.
func NewXtraDBClusterService ¶
func NewXtraDBClusterService(db *reform.DB, client dbaasClient) dbaasv1beta1.XtraDBClusterServer
NewXtraDBClusterService creates XtraDB Service.
Types ¶
type XtraDBClusterService ¶
type XtraDBClusterService struct {
// contains filtered or unexported fields
}
XtraDBClusterService implements XtraDBClusterServer methods.
func (XtraDBClusterService) CreateXtraDBCluster ¶
func (s XtraDBClusterService) CreateXtraDBCluster(ctx context.Context, req *dbaasv1beta1.CreateXtraDBClusterRequest) (*dbaasv1beta1.CreateXtraDBClusterResponse, error)
CreateXtraDBCluster creates XtraDB cluster with given parameters.
func (XtraDBClusterService) DeleteXtraDBCluster ¶
func (s XtraDBClusterService) DeleteXtraDBCluster(ctx context.Context, req *dbaasv1beta1.DeleteXtraDBClusterRequest) (*dbaasv1beta1.DeleteXtraDBClusterResponse, error)
DeleteXtraDBCluster deletes XtraDB cluster by given name.
func (XtraDBClusterService) ListXtraDBClusters ¶
func (s XtraDBClusterService) ListXtraDBClusters(ctx context.Context, req *dbaasv1beta1.ListXtraDBClustersRequest) (*dbaasv1beta1.ListXtraDBClustersResponse, error)
ListXtraDBClusters returns a list of all XtraDB clusters.
func (XtraDBClusterService) UpdateXtraDBCluster ¶
func (s XtraDBClusterService) UpdateXtraDBCluster(ctx context.Context, req *dbaasv1beta1.UpdateXtraDBClusterRequest) (*dbaasv1beta1.UpdateXtraDBClusterResponse, error)
UpdateXtraDBCluster updates XtraDB cluster.
Click to show internal directories.
Click to hide internal directories.