Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAlreadyExistsError ¶
IsAlreadyExistsError checks if an error indicates an already existing bucket.
func IsNotFoundError ¶
IsNotFoundError checks if an error indicates a missing bucket.
Types ¶
type BlobStoragePropsForAzure ¶
type BlobStoragePropsForAzure struct { ResourceGroup string `json:"resourceGroup" binding:"required"` StorageAccount string `json:"storageAccount" binding:"required"` }
BlobStoragePropsForAzure describes the Azure specific properties
type BucketInfo ¶
type BucketInfo struct { Name string `json:"name" binding:"required"` Managed bool `json:"managed" binding:"required"` Location string `json:"location,omitempty"` SecretRef string `json:"secretId,omitempty"` Cloud string `json:"cloud,omitempty"` Azure *BlobStoragePropsForAzure `json:"aks,omitempty"` Status string `json:"status,omitempty"` StatusMsg string `json:"statusMsg,omitempty"` AccessSecretRef string `json:"accessSecretId,omitempty"` }
BucketInfo describes a storage bucket
type ObjectStoreService ¶
type ObjectStoreService interface { CreateBucket(string) error ListBuckets() ([]*BucketInfo, error) ListManagedBuckets() ([]*BucketInfo, error) DeleteBucket(string) error CheckBucket(string) error }
ObjectStoreService is the interface that cloud specific object store implementation must implement
Click to show internal directories.
Click to hide internal directories.