Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessRoleService ¶ added in v0.2.0
type ObjectStorageService ¶
type ObjectStorageService interface {
// Configure all bucket related configurations (Tags, ...)
ConfigureBucket(ctx context.Context, bucket *v1alpha1.Bucket, additionalTags map[string]string) 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 {
NewIAMService(ctx context.Context, logger logr.Logger, arn string, managementCluster managementcluster.ManagementCluster) (AccessRoleService, error)
NewS3Service(ctx context.Context, logger logr.Logger, arn string, managementCluster managementcluster.ManagementCluster) (ObjectStorageService, error)
}
func New ¶
func New() ObjectStorageServiceFactory
Click to show internal directories.
Click to hide internal directories.