Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConfig ¶
type AppConfig struct { LogLevel string `json:"log_level"` JSONLog bool `json:"json_log"` Host string `json:"host"` Port int `json:"port"` ConfigPath string `json:"config_path"` StoragePath string `json:"storage_path"` TmpPath string `json:"tmp_path"` DataPath string `json:"data_path"` Version string `json:"version"` UseAwsCli bool `json:"use_aws_cli"` HasGpg bool `json:"has_gpg"` }
type Encryption ¶
type Encryption struct {
Gpg *Gpg `yaml:"gpg"`
}
type ModuleConfig ¶
type ModuleConfig struct { AWSClient bool `envconfig:"en_aws_cli" default:"false"` AzureClient bool `envconfig:"en_azure" default:"false"` GCloudClient bool `envconfig:"en_gcloud" default:"false"` GnuPG bool `envconfig:"en_gpg" default:"true"` MinioClient bool `envconfig:"en_minio" default:"false"` RCloneClient bool `envconfig:"en_rclone" default:"false"` }
type Plan ¶
type Plan struct { Name string `yaml:"name"` Target Target `yaml:"target"` Scheduler Scheduler `yaml:"scheduler"` Encryption *Encryption `yaml:"encryption"` S3 *S3 `yaml:"s3"` GCloud *GCloud `yaml:"gcloud"` Rclone *Rclone `yaml:"rclone"` Azure *Azure `yaml:"azure"` SFTP *SFTP `yaml:"sftp"` SMTP *SMTP `yaml:"smtp"` Slack *Slack `yaml:"slack"` }
type Target ¶
type Target struct { Database string `yaml:"database"` Host string `yaml:"host"` Uri string `yaml:"uri"` Password string `yaml:"password"` Port int `yaml:"port"` Username string `yaml:"username"` Params string `yaml:"params"` CertFile string `yaml:"certFile"` KeyFile string `yaml:"keyFile"` KeyFilePass string `yaml:"keyFilePass"` }
Click to show internal directories.
Click to hide internal directories.