Documentation ¶
Overview ¶
Package delete ...
Package delete deletes database clusters.
Package delete ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Cluster ¶
type Cluster struct {
// contains filtered or unexported fields
}
Cluster implements logic for the cluster command.
func NewCluster ¶
func NewCluster(c ClusterConfig, everestClient everestClientConnector, l *zap.SugaredLogger) (*Cluster, error)
NewCluster returns a new Cluster struct.
type ClusterConfig ¶
type ClusterConfig struct { // Name is a name of the Kubernetes cluster in Everest Name string Everest struct { // Endpoint stores URL to Everest. Endpoint string } // KubeconfigPath is a path to a kubeconfig KubeconfigPath string `mapstructure:"kubeconfig"` // AssumeYes is true when all questions can be skipped. AssumeYes bool `mapstructure:"assume-yes"` // Force is true when we shall not prompt for removal. Force bool IgnoreK8sUnavailable bool `mapstructure:"ignore-kubernetes-unavailable"` }
ClusterConfig stores configuration for the Cluster command.
type MySQL ¶
type MySQL struct {
// contains filtered or unexported fields
}
MySQL implements logic for the MySQL command.
func NewMySQL ¶
func NewMySQL(c MySQLConfig, everestClient everestClientConnector, l *zap.SugaredLogger) *MySQL
NewMySQL returns a new MySQL struct.
type MySQLConfig ¶
type MySQLConfig struct { Name string KubernetesID string `mapstructure:"kubernetes-id"` Everest struct { // Endpoint stores URL to Everest. Endpoint string } // Force is true when we shall not prompt for removal. Force bool }
MySQLConfig stores configuration for the MySQL command.
Click to show internal directories.
Click to hide internal directories.