Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ObjectStorageService ¶
type ObjectStorageService interface {
// Configure all bucket related configurations (Tags, ...)
ConfigureBucket(ctx context.Context, bucket *v1alpha1.Bucket) error
CreateBucket(ctx context.Context, bucket *v1alpha1.Bucket) error
DeleteBucket(ctx context.Context, bucket *v1alpha1.Bucket) error
// Exists checks whether a bucket exists in the current account.
ExistsBucket(ctx context.Context, bucket *v1alpha1.Bucket) (bool, error)
}
type ObjectStorageServiceFactory ¶
type ObjectStorageServiceFactory interface {
NewS3Service(ctx context.Context, region, arn string) (ObjectStorageService, error)
}
func New ¶
func New() ObjectStorageServiceFactory
Click to show internal directories.
Click to hide internal directories.