Documentation ¶
Index ¶
Constants ¶
View Source
const ( MinioContainerName = "minio-developer-environment" MinioAccessKey = "minioaccess" MinioSecretKey = "miniosecret" MinioSnapshotBucketName = "velero" MinioDockerImage = "minio/minio:RELEASE.2021-06-07T21-40-51Z" )
Variables ¶
This section is empty.
Functions ¶
func CreateMinioClient ¶
func CreateMinioClient() (*minio.Client, error)
func Ensure ¶
func Ensure(ctx context.Context, d dockerclient.APIClient, log logrus.FieldLogger) error
Ensure creates a Minio container if it doesn't exist, ensures that it's running, and that it's connected to the kubernetes runtime network
func ListSnapshots ¶
func ListSnapshots(ctx context.Context) ([]*velerov1api.Backup, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.