objectstorage

package
v0.5.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

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 AccessRoleService interface {
	// Configure the role to access the bucket
	ConfigureRole(ctx context.Context, bucket *v1alpha1.Bucket) error
	DeleteRole(ctx context.Context, bucket *v1alpha1.Bucket) error
}

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 {
	NewObjectStorageService(ctx context.Context, logger logr.Logger, cluster cluster.Cluster, client client.Client) (ObjectStorageService, error)
	NewAccessRoleService(ctx context.Context, logger logr.Logger, cluster cluster.Cluster) (AccessRoleService, error)
}

Directories

Path Synopsis
cloud
aws
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL