Documentation ¶
Index ¶
- Variables
- func CmdEnv() []string
- func CopyFiles(ctx context.Context, client *client.Client, override []string)
- func CreateCert()
- func DumpDB(ctx context.Context, client *client.Client, tables []string)
- func ExtractArchive(ctx context.Context, path string) error
- func FormatIgnoredPath() string
- func IsEnvExampleFileExists() bool
- func IsEnvFileExists() bool
- func LoadEnv()
- type CallMethod
- type DBSettings
- type SSHClient
Constants ¶
This section is empty.
Variables ¶
View Source
var Env *viper.Viper
Env Project variables
Functions ¶
func ExtractArchive ¶
ExtractArchive unzip the archive
func IsEnvExampleFileExists ¶
func IsEnvExampleFileExists() bool
IsEnvExampleFileExists checking for the existence of .env.example file
func IsEnvFileExists ¶
func IsEnvFileExists() bool
IsEnvFileExists checking for the existence of .env file
Types ¶
type CallMethod ¶
type CallMethod struct{}
CallMethod to dynamically determine the function name
func (*CallMethod) BitrixAccess ¶
func (a *CallMethod) BitrixAccess()
BitrixAccess Change bitrix database accesses
func (*CallMethod) WordpressAccess ¶
func (a *CallMethod) WordpressAccess()
WordpressAccess Change WordPress database accesses
type DBSettings ¶
DBSettings database settings
func (DBSettings) DumpDataParams ¶
func (d DBSettings) DumpDataParams() string
DumpDataParams options for data dump
func (DBSettings) DumpDataTablesParams ¶
func (d DBSettings) DumpDataTablesParams() string
DumpDataTablesParams options for only tables dump
func (DBSettings) DumpTablesParams ¶
func (d DBSettings) DumpTablesParams() string
DumpTablesParams table dump options
func (DBSettings) FormatIgnoredTables ¶
func (d DBSettings) FormatIgnoredTables() string
FormatIgnoredTables Exclude tables from dump
Click to show internal directories.
Click to hide internal directories.