Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SanitizeArgs ¶
SanitizeArgs takes a slice, redacts all occurrences of a given string and returns a single string concatenated with spaces
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config holds the MySQL credentials required to authenticate with the MySQL database being backed-up or restored.
type Executor ¶
type Executor struct {
// contains filtered or unexported fields
}
Executor creates backups using mysqldump.
func NewExecutor ¶
func NewExecutor(executor *v1alpha1.MySQLDumpBackupExecutor, creds map[string]string) (*Executor, error)
NewExecutor creates a provider capable of creating and restoring backups with the mysqldump tool.
Click to show internal directories.
Click to hide internal directories.