Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*SqlOpts)
func WithDatabase ¶
func WithPasswordEnv ¶
func WithSqlFile ¶
func WithUserEnv ¶
type SqlCommand ¶
type SqlCommand struct {
*SqlOpts
}
func New ¶
func New(userOpts ...Option) (*SqlCommand, error)
func (*SqlCommand) ExecCommand ¶
func (s *SqlCommand) ExecCommand(mariadb *mariadbv1alpha1.MariaDB) *command.Command
type SqlOpts ¶
type SqlOpts struct { command.CommandOpts SqlFile string }
Click to show internal directories.
Click to hide internal directories.