package
1.7.0-alpha.3
Repository: https://github.com/pingcap/tidb-operator.git
Documentation: pkg.go.dev
# Functions
BatchDeleteObjectsConcurrently delete objects by multiple goroutine concurrently.
BatchDeleteObjectsOfS3 delete objects by batch delete api.
No description provided by the author
CheckAllKeysExistInSecret check if all keys are included in the specific secret return the not-exist keys join by ",".
GenerateStorageCertEnv generate the env info in order to access backend backup storage.
GenerateTidbPasswordEnv generate the password EnvVar.
genStorageArgs returns the arg for --flag option and the remote/local path for br, default flag is storage.
GetBackupBucketName return the bucket name for remote storage.
GetBackupDataPath return the full path of backup data.
GetBackupPrefixName return the prefix for remote storage.
GetOptions gets the rclone options.
No description provided by the author
GetStorageRestorePath generate the path of a specific storage from Restore.
GetStorageType return the backup storage type according to the specified StorageProvider.
getVolSnapBackupMetaData get backup metadata from cloud storage.
No description provided by the author
No description provided by the author
NewStorageBackend creates new storage backend, now supports S3/GCS/Azblob/Local function called by both controller and backup/restore, since BR already has env config in BR pod, cred can be nil.
NewWorkerPool returns a WorkPool.
ParseImage returns the image name and the tag from the input image string.
No description provided by the author
ValidateBackup validates backup sepc.
ValidateRestore checks whether a restore spec is valid.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
ClusterInfo represents the tidb cluster level meta infos.
No description provided by the author
No description provided by the author
No description provided by the author
EBSVolume is passed by TiDB deployment tools: TiDB Operator and TiUP(in future) we should do snapshot inside BR, because we need some logic to determine the order of snapshot starts.
No description provided by the author
No description provided by the author
MockDriver implement driver.Bucket.
No description provided by the author
PageIterator iterates a page of objects via 'ListIterator'.
No description provided by the author
StorageBackend provide a generic storage backend.
No description provided by the author
No description provided by the author
No description provided by the author
Worker identified by ID.
WorkerPool contains a pool of workers.
# Type aliases
TODO: shall this structure be refactor or reserved for future use?.
No description provided by the author