Documentation ¶
Index ¶
Constants ¶
View Source
const ( // TimeFormat is the time format for generate backup CR name TimeFormat = "2006-01-02t15-04-05" // DefaultServiceAccountName is the default name of the ServiceAccount to use to run backup and restore's job pod. DefaultServiceAccountName = "tidb-backup-manager" // BackupRootPath is the root path to backup data BackupRootPath = "/backup" // DefaultStorageSize is the default pvc request storage size for backup and restore DefaultStorageSize = "100Gi" // DefaultBackoffLimit specifies the number of retries before marking this job failed. DefaultBackoffLimit = 6 // TidbUserKey represents the user name key in tidb secret TidbUserKey = "user" // TidbPasswordKey represents the password key in tidb secret TidbPasswordKey = "password" // S3AccessKey represents the S3 compatible access key id in related secret S3AccessKey = "access_key" // S3SecretKey represents the S3 compatible secret access key in related secret S3SecretKey = "secret_key" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.