aws

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IAMAccessRoleServiceAdapter

type IAMAccessRoleServiceAdapter struct {
	// contains filtered or unexported fields
}

func NewIamService

func NewIamService(iamClient *iam.Client, logger logr.Logger, accountId string, managementCluster managementcluster.ManagementCluster) IAMAccessRoleServiceAdapter

func (IAMAccessRoleServiceAdapter) ConfigureRole

func (s IAMAccessRoleServiceAdapter) ConfigureRole(ctx context.Context, bucket *v1alpha1.Bucket) error

func (IAMAccessRoleServiceAdapter) DeleteRole

func (s IAMAccessRoleServiceAdapter) DeleteRole(ctx context.Context, bucket *v1alpha1.Bucket) error

type S3ObjectStorageAdapter

type S3ObjectStorageAdapter struct {
	// contains filtered or unexported fields
}

func NewS3Service

func NewS3Service(s3Client *s3.Client, logger logr.Logger, cloudRegion string) S3ObjectStorageAdapter

func (S3ObjectStorageAdapter) ConfigureBucket

func (s S3ObjectStorageAdapter) ConfigureBucket(ctx context.Context, bucket *v1alpha1.Bucket) error

func (S3ObjectStorageAdapter) CreateBucket

func (s S3ObjectStorageAdapter) CreateBucket(ctx context.Context, bucket *v1alpha1.Bucket) error

func (S3ObjectStorageAdapter) DeleteBucket

func (s S3ObjectStorageAdapter) DeleteBucket(ctx context.Context, bucket *v1alpha1.Bucket) error

func (S3ObjectStorageAdapter) ExistsBucket

func (s S3ObjectStorageAdapter) ExistsBucket(ctx context.Context, bucket *v1alpha1.Bucket) (bool, error)

Jump to

Keyboard shortcuts

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