Documentation ¶
Overview ¶
Package provision provisions database clusters.
Package provision ...
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 } DB struct { Version string } Nodes int CPU string Memory string Disk string ExternalAccess bool `mapstructure:"external-access"` }
MySQLConfig stores configuration for the MySQL command.
Click to show internal directories.
Click to hide internal directories.