dbaas

package
v2.13.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2020 License: AGPL-3.0 Imports: 11 Imported by: 1

Documentation

Overview

Package dbaas contains all APIs related to DBaaS.

Package dbaas contains all logic related to dbaas services.

Index

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 NewPSMDBClusterService

func NewPSMDBClusterService(db *reform.DB, client dbaasClient) dbaasv1beta1.PSMDBClusterServer

NewPSMDBClusterService creates PSMDB Service.

func NewXtraDBClusterService

func NewXtraDBClusterService(db *reform.DB, client dbaasClient) dbaasv1beta1.XtraDBClusterServer

NewXtraDBClusterService creates XtraDB Service.

Types

type PSMDBClusterService

type PSMDBClusterService struct {
	// contains filtered or unexported fields
}

PSMDBClusterService implements PSMDBClusterServer methods.

func (PSMDBClusterService) CreatePSMDBCluster

CreatePSMDBCluster creates PSMDB cluster with given parameters.

func (PSMDBClusterService) DeletePSMDBCluster

DeletePSMDBCluster deletes PSMDB cluster by given name.

func (PSMDBClusterService) GetPSMDBCluster

GetPSMDBCluster returns a PSMDB cluster by name.

func (PSMDBClusterService) ListPSMDBClusters

ListPSMDBClusters returns a list of all PSMDB clusters.

func (PSMDBClusterService) RestartPSMDBCluster

RestartPSMDBCluster restarts PSMDB cluster by given name.

func (PSMDBClusterService) UpdatePSMDBCluster

UpdatePSMDBCluster updates PSMDB cluster.

type XtraDBClusterService

type XtraDBClusterService struct {
	// contains filtered or unexported fields
}

XtraDBClusterService implements XtraDBClusterServer methods.

func (XtraDBClusterService) CreateXtraDBCluster

CreateXtraDBCluster creates XtraDB cluster with given parameters.

func (XtraDBClusterService) DeleteXtraDBCluster

DeleteXtraDBCluster deletes XtraDB cluster by given name.

func (XtraDBClusterService) GetXtraDBCluster

GetXtraDBCluster returns a XtraDB cluster.

func (XtraDBClusterService) ListXtraDBClusters

ListXtraDBClusters returns a list of all XtraDB clusters.

func (XtraDBClusterService) RestartXtraDBCluster

RestartXtraDBCluster restarts XtraDB cluster by given name.

func (XtraDBClusterService) UpdateXtraDBCluster

UpdateXtraDBCluster updates XtraDB cluster.

Jump to

Keyboard shortcuts

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