Documentation ¶
Index ¶
Constants ¶
View Source
const ( AccountNamePrefix = "ba-" BucketInfoPrefix = "bc-" BABucketFinalizer = "cosi.objectstorage.k8s.io/bucketaccess-bucket-protection" BAFinalizer = "cosi.objectstorage.k8s.io/bucketaccess-protection" BCFinalizer = "cosi.objectstorage.k8s.io/bucketclaim-protection" BucketFinalizer = "cosi.objectstorage.k8s.io/bucket-protection" SecretFinalizer = "cosi.objectstorage.k8s.io/secret-protection" S3Key = "s3" AzureKey = "azure" S3SecretAccessKeyID = "accessKeyID" S3SecretAccessSecretKey = "accessSecretKey" S3Endpoint = "endpoint" S3Region = "region" AzureSecretAccessToken = "accessToken" AzureSecretExpiryTimeStamp = "expiryTs" DefaultTimeFormat = "2006-01-02 15:04:05.999999999 -0700 MST" )
Variables ¶
View Source
var ( ErrInternal = errors.New("driverCreateBucket returned a nil response") ErrBucketInfoConversionFailed = errors.New("error converting bucketInfo into Secret") ErrEmptyBucketID = errors.New("driverCreateBucket returned an empty bucketID") ErrUndefinedBucketClassName = errors.New("BucketClassName not defined") ErrUndefinedAccountID = errors.New("AccountId not defined in DriverGrantBucketAccess") ErrUndefinedSecretName = errors.New("CredentialsSecretName not defined in the BucketAccess") ErrInvalidBucketState = errors.New("BucketAccess can't be granted to Bucket not in Ready state") ErrInvalidCredentials = errors.New("Credentials returned in DriverGrantBucketAccessResponse should be of length 1") ErrUndefinedServiceAccountName = errors.New("ServiceAccountName required when AuthenticationType is IAM") )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.