Documentation ¶
Index ¶
- type AwsResourcesGenerator
- func (g *AwsResourcesGenerator) AttachRolePolicy(roleName, policyArn string) error
- func (g *AwsResourcesGenerator) Cleanup(task func())
- func (g *AwsResourcesGenerator) CreateBucket(name string) error
- func (g *AwsResourcesGenerator) CreateIAMRole(name string, policy func() IAMPolicy) (string, error)
- func (g *AwsResourcesGenerator) CreatePolicy(name string, policy func() IAMPolicy) (string, error)
- func (g *AwsResourcesGenerator) DeleteBucket(name string) error
- func (g *AwsResourcesGenerator) DeleteIAMRole(name string) error
- func (g *AwsResourcesGenerator) DeleteObject(bucketName, objectKey string) error
- func (g *AwsResourcesGenerator) DeletePolicy(arn string) error
- func (g *AwsResourcesGenerator) DetachRolePolicy(roleName, policyArn string) error
- func (g *AwsResourcesGenerator) EmptyBucket(name string) error
- func (g *AwsResourcesGenerator) GetIAMRole(name string) (string, error)
- func (g *AwsResourcesGenerator) ListAttachedRolePolicy(roleName string) (string, error)
- func (g *AwsResourcesGenerator) ListObjects(name string) ([]*s3.Object, error)
- type IAMPolicy
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(t ginkgo.GinkgoTInterface, region *string) *AwsResourcesGenerator
func (*AwsResourcesGenerator) AttachRolePolicy ¶
func (g *AwsResourcesGenerator) AttachRolePolicy(roleName, policyArn string) error
func (*AwsResourcesGenerator) Cleanup ¶
func (g *AwsResourcesGenerator) Cleanup(task func())
func (*AwsResourcesGenerator) CreateBucket ¶
func (g *AwsResourcesGenerator) CreateBucket(name string) error
func (*AwsResourcesGenerator) CreateIAMRole ¶
func (g *AwsResourcesGenerator) CreateIAMRole(name string, policy func() IAMPolicy) (string, error)
func (*AwsResourcesGenerator) CreatePolicy ¶
func (g *AwsResourcesGenerator) CreatePolicy(name string, policy func() IAMPolicy) (string, error)
func (*AwsResourcesGenerator) DeleteBucket ¶
func (g *AwsResourcesGenerator) DeleteBucket(name string) error
func (*AwsResourcesGenerator) DeleteIAMRole ¶
func (g *AwsResourcesGenerator) DeleteIAMRole(name string) error
func (*AwsResourcesGenerator) DeleteObject ¶
func (g *AwsResourcesGenerator) DeleteObject(bucketName, objectKey string) error
func (*AwsResourcesGenerator) DeletePolicy ¶
func (g *AwsResourcesGenerator) DeletePolicy(arn string) error
func (*AwsResourcesGenerator) DetachRolePolicy ¶
func (g *AwsResourcesGenerator) DetachRolePolicy(roleName, policyArn string) error
func (*AwsResourcesGenerator) EmptyBucket ¶
func (g *AwsResourcesGenerator) EmptyBucket(name string) error
func (*AwsResourcesGenerator) GetIAMRole ¶
func (g *AwsResourcesGenerator) GetIAMRole(name string) (string, error)
func (*AwsResourcesGenerator) ListAttachedRolePolicy ¶
func (g *AwsResourcesGenerator) ListAttachedRolePolicy(roleName string) (string, error)
func (*AwsResourcesGenerator) ListObjects ¶
func (g *AwsResourcesGenerator) ListObjects(name string) ([]*s3.Object, error)
Click to show internal directories.
Click to hide internal directories.