helper

package
v2.12.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsResourcesGenerator

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

func NewAwsResourcesGenerator

func NewAwsResourcesGenerator(ctx context.Context, t ginkgo.GinkgoTInterface, region *string) *AwsResourcesGenerator

func (*AwsResourcesGenerator) AttachRolePolicy

func (g *AwsResourcesGenerator) AttachRolePolicy(ctx context.Context, roleName, policyArn string) error

func (*AwsResourcesGenerator) CreateBucket

func (g *AwsResourcesGenerator) CreateBucket(ctx context.Context, name string) error

func (*AwsResourcesGenerator) CreateIAMRole

func (g *AwsResourcesGenerator) CreateIAMRole(ctx context.Context, name string, policy func() IAMPolicy) (string, error)

func (*AwsResourcesGenerator) CreatePolicy

func (g *AwsResourcesGenerator) CreatePolicy(ctx context.Context, name string, policy func() IAMPolicy) (string, error)

func (*AwsResourcesGenerator) DeleteBucket

func (g *AwsResourcesGenerator) DeleteBucket(ctx context.Context, name string) error

func (*AwsResourcesGenerator) DeleteIAMRole

func (g *AwsResourcesGenerator) DeleteIAMRole(ctx context.Context, name string) error

func (*AwsResourcesGenerator) DeleteObject

func (g *AwsResourcesGenerator) DeleteObject(ctx context.Context, bucketName, objectKey string) error

func (*AwsResourcesGenerator) DeletePolicy

func (g *AwsResourcesGenerator) DeletePolicy(ctx context.Context, arn string) error

func (*AwsResourcesGenerator) DetachRolePolicy

func (g *AwsResourcesGenerator) DetachRolePolicy(ctx context.Context, roleName, policyArn string) error

func (*AwsResourcesGenerator) EmptyBucket

func (g *AwsResourcesGenerator) EmptyBucket(ctx context.Context, name string) error

func (*AwsResourcesGenerator) GetIAMRole

func (g *AwsResourcesGenerator) GetIAMRole(ctx context.Context, name string) (string, error)

func (*AwsResourcesGenerator) ListAttachedRolePolicy

func (g *AwsResourcesGenerator) ListAttachedRolePolicy(ctx context.Context, roleName string) (string, error)

func (*AwsResourcesGenerator) ListObjects

func (g *AwsResourcesGenerator) ListObjects(ctx context.Context, name string) ([]s3types.Object, error)

type IAMPolicy

type IAMPolicy *string

func BucketExportPolicy

func BucketExportPolicy(bucketName string) IAMPolicy

func CloudProviderAccessPolicy

func CloudProviderAccessPolicy(atlasAWSAccountArn, atlasAssumedRoleExternalID string) IAMPolicy

Jump to

Keyboard shortcuts

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