Documentation
¶
Index ¶
- Constants
- Variables
- func LoadAWSConfig(ctx context.Context, region string, profile string) (aws.Config, error)
- func Retry[T, U, V any](in *RetryInput[T, U, V]) (*U, error)
- type AllErrorMockBackup
- func (m *AllErrorMockBackup) CheckBackupVaultExists(ctx context.Context, backupVaultName *string) (bool, error)
- func (m *AllErrorMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
- func (m *AllErrorMockBackup) DeleteRecoveryPoint(ctx context.Context, backupVaultName *string, recoveryPointArn *string) error
- func (m *AllErrorMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, ...) error
- func (m *AllErrorMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
- type AllErrorMockCloudFormation
- func (m *AllErrorMockCloudFormation) DeleteStack(ctx context.Context, stackName *string, retainResources []string) error
- func (m *AllErrorMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
- func (m *AllErrorMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
- func (m *AllErrorMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
- type AllErrorMockIam
- func (m *AllErrorMockIam) CheckRoleExists(ctx context.Context, repositoryName *string) (bool, error)
- func (m *AllErrorMockIam) DeleteRole(ctx context.Context, roleName *string) error
- func (m *AllErrorMockIam) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
- func (m *AllErrorMockIam) DetachRolePolicy(ctx context.Context, roleName *string, PolicyArn *string) error
- func (m *AllErrorMockIam) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
- type AllErrorMockS3
- func (m *AllErrorMockS3) CheckBucketExists(ctx context.Context, bucketName *string) (bool, error)
- func (m *AllErrorMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
- func (m *AllErrorMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
- func (m *AllErrorMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
- type Backup
- func (b *Backup) CheckBackupVaultExists(ctx context.Context, backupVaultName *string) (bool, error)
- func (b *Backup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
- func (b *Backup) DeleteRecoveryPoint(ctx context.Context, backupVaultName *string, recoveryPointArn *string) error
- func (b *Backup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, ...) error
- func (b *Backup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
- type CheckBackupVaultExistsErrorMockBackup
- func (m *CheckBackupVaultExistsErrorMockBackup) CheckBackupVaultExists(ctx context.Context, backupVaultName *string) (bool, error)
- func (m *CheckBackupVaultExistsErrorMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
- func (m *CheckBackupVaultExistsErrorMockBackup) DeleteRecoveryPoint(ctx context.Context, backupVaultName *string, recoveryPointArn *string) error
- func (m *CheckBackupVaultExistsErrorMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, ...) error
- func (m *CheckBackupVaultExistsErrorMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
- type CheckBackupVaultNotExistsMockBackup
- func (m *CheckBackupVaultNotExistsMockBackup) CheckBackupVaultExists(ctx context.Context, backupVaultName *string) (bool, error)
- func (m *CheckBackupVaultNotExistsMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
- func (m *CheckBackupVaultNotExistsMockBackup) DeleteRecoveryPoint(ctx context.Context, backupVaultName *string, recoveryPointArn *string) error
- func (m *CheckBackupVaultNotExistsMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, ...) error
- func (m *CheckBackupVaultNotExistsMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
- type CheckBucketExistsErrorMockS3
- func (m *CheckBucketExistsErrorMockS3) CheckBucketExists(ctx context.Context, bucketName *string) (bool, error)
- func (m *CheckBucketExistsErrorMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
- func (m *CheckBucketExistsErrorMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
- func (m *CheckBucketExistsErrorMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
- type CheckBucketNotExistsMockS3
- func (m *CheckBucketNotExistsMockS3) CheckBucketExists(ctx context.Context, bucketName *string) (bool, error)
- func (m *CheckBucketNotExistsMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
- func (m *CheckBucketNotExistsMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
- func (m *CheckBucketNotExistsMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
- type CheckEcrExistsErrorMockEcr
- type CheckEcrNotExistsMockEcr
- type CheckRoleExistsErrorMockRole
- func (m *CheckRoleExistsErrorMockRole) CheckRoleExists(ctx context.Context, repositoryName *string) (bool, error)
- func (m *CheckRoleExistsErrorMockRole) DeleteRole(ctx context.Context, roleName *string) error
- func (m *CheckRoleExistsErrorMockRole) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
- func (m *CheckRoleExistsErrorMockRole) DetachRolePolicy(ctx context.Context, roleName *string, PolicyArn *string) error
- func (m *CheckRoleExistsErrorMockRole) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
- type CheckRoleNotExistsMockRole
- func (m *CheckRoleNotExistsMockRole) CheckRoleExists(ctx context.Context, repositoryName *string) (bool, error)
- func (m *CheckRoleNotExistsMockRole) DeleteRole(ctx context.Context, roleName *string) error
- func (m *CheckRoleNotExistsMockRole) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
- func (m *CheckRoleNotExistsMockRole) DetachRolePolicy(ctx context.Context, roleName *string, PolicyArn *string) error
- func (m *CheckRoleNotExistsMockRole) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
- type CloudFormation
- func (c *CloudFormation) DeleteStack(ctx context.Context, stackName *string, retainResources []string) error
- func (c *CloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
- func (c *CloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
- func (c *CloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
- type DeleteBackupVaultErrorMockBackup
- func (m *DeleteBackupVaultErrorMockBackup) CheckBackupVaultExists(ctx context.Context, backupVaultName *string) (bool, error)
- func (m *DeleteBackupVaultErrorMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
- func (m *DeleteBackupVaultErrorMockBackup) DeleteRecoveryPoint(ctx context.Context, backupVaultName *string, recoveryPointArn *string) error
- func (m *DeleteBackupVaultErrorMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, ...) error
- func (m *DeleteBackupVaultErrorMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
- type DeleteBucketErrorMockS3
- func (m *DeleteBucketErrorMockS3) CheckBucketExists(ctx context.Context, bucketName *string) (bool, error)
- func (m *DeleteBucketErrorMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
- func (m *DeleteBucketErrorMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
- func (m *DeleteBucketErrorMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
- type DeleteObjectsErrorAfterZeroLengthMockS3
- func (m *DeleteObjectsErrorAfterZeroLengthMockS3) CheckBucketExists(ctx context.Context, bucketName *string) (bool, error)
- func (m *DeleteObjectsErrorAfterZeroLengthMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
- func (m *DeleteObjectsErrorAfterZeroLengthMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
- func (m *DeleteObjectsErrorAfterZeroLengthMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
- type DeleteObjectsErrorMockS3
- func (m *DeleteObjectsErrorMockS3) CheckBucketExists(ctx context.Context, bucketName *string) (bool, error)
- func (m *DeleteObjectsErrorMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
- func (m *DeleteObjectsErrorMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
- func (m *DeleteObjectsErrorMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
- type DeleteObjectsOutputErrorAfterZeroLengthMockS3
- func (m *DeleteObjectsOutputErrorAfterZeroLengthMockS3) CheckBucketExists(ctx context.Context, bucketName *string) (bool, error)
- func (m *DeleteObjectsOutputErrorAfterZeroLengthMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
- func (m *DeleteObjectsOutputErrorAfterZeroLengthMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
- func (m *DeleteObjectsOutputErrorAfterZeroLengthMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
- type DeleteObjectsOutputErrorMockS3
- func (m *DeleteObjectsOutputErrorMockS3) CheckBucketExists(ctx context.Context, bucketName *string) (bool, error)
- func (m *DeleteObjectsOutputErrorMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
- func (m *DeleteObjectsOutputErrorMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
- func (m *DeleteObjectsOutputErrorMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
- type DeleteRecoveryPointsErrorAfterZeroLengthMockBackup
- func (m *DeleteRecoveryPointsErrorAfterZeroLengthMockBackup) CheckBackupVaultExists(ctx context.Context, backupVaultName *string) (bool, error)
- func (m *DeleteRecoveryPointsErrorAfterZeroLengthMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
- func (m *DeleteRecoveryPointsErrorAfterZeroLengthMockBackup) DeleteRecoveryPoint(ctx context.Context, backupVaultName *string, recoveryPointArn *string) error
- func (m *DeleteRecoveryPointsErrorAfterZeroLengthMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, ...) error
- func (m *DeleteRecoveryPointsErrorAfterZeroLengthMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
- type DeleteRecoveryPointsErrorMockBackup
- func (m *DeleteRecoveryPointsErrorMockBackup) CheckBackupVaultExists(ctx context.Context, backupVaultName *string) (bool, error)
- func (m *DeleteRecoveryPointsErrorMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
- func (m *DeleteRecoveryPointsErrorMockBackup) DeleteRecoveryPoint(ctx context.Context, backupVaultName *string, recoveryPointArn *string) error
- func (m *DeleteRecoveryPointsErrorMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, ...) error
- func (m *DeleteRecoveryPointsErrorMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
- type DeleteRepositoryErrorMockEcr
- type DeleteRoleErrorMockIam
- func (m *DeleteRoleErrorMockIam) CheckRoleExists(ctx context.Context, repositoryName *string) (bool, error)
- func (m *DeleteRoleErrorMockIam) DeleteRole(ctx context.Context, roleName *string) error
- func (m *DeleteRoleErrorMockIam) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
- func (m *DeleteRoleErrorMockIam) DetachRolePolicy(ctx context.Context, roleName *string, PolicyArn *string) error
- func (m *DeleteRoleErrorMockIam) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
- type DeleteStackErrorMockCloudFormation
- func (m *DeleteStackErrorMockCloudFormation) DeleteStack(ctx context.Context, stackName *string, retainResources []string) error
- func (m *DeleteStackErrorMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
- func (m *DeleteStackErrorMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
- func (m *DeleteStackErrorMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
- type DescribeStacksErrorMockCloudFormation
- func (m *DescribeStacksErrorMockCloudFormation) DeleteStack(ctx context.Context, stackName *string, retainResources []string) error
- func (m *DescribeStacksErrorMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
- func (m *DescribeStacksErrorMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
- func (m *DescribeStacksErrorMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
- type DescribeStacksNotExistsErrorMockCloudFormation
- func (m *DescribeStacksNotExistsErrorMockCloudFormation) DeleteStack(ctx context.Context, stackName *string, retainResources []string) error
- func (m *DescribeStacksNotExistsErrorMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
- func (m *DescribeStacksNotExistsErrorMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
- func (m *DescribeStacksNotExistsErrorMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
- type DetachRolePoliciesErrorAfterZeroLengthMockIam
- func (m *DetachRolePoliciesErrorAfterZeroLengthMockIam) CheckRoleExists(ctx context.Context, repositoryName *string) (bool, error)
- func (m *DetachRolePoliciesErrorAfterZeroLengthMockIam) DeleteRole(ctx context.Context, roleName *string) error
- func (m *DetachRolePoliciesErrorAfterZeroLengthMockIam) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
- func (m *DetachRolePoliciesErrorAfterZeroLengthMockIam) DetachRolePolicy(ctx context.Context, roleName *string, PolicyArn *string) error
- func (m *DetachRolePoliciesErrorAfterZeroLengthMockIam) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
- type DetachRolePoliciesErrorMockIam
- func (m *DetachRolePoliciesErrorMockIam) CheckRoleExists(ctx context.Context, repositoryName *string) (bool, error)
- func (m *DetachRolePoliciesErrorMockIam) DeleteRole(ctx context.Context, roleName *string) error
- func (m *DetachRolePoliciesErrorMockIam) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
- func (m *DetachRolePoliciesErrorMockIam) DetachRolePolicy(ctx context.Context, roleName *string, PolicyArn *string) error
- func (m *DetachRolePoliciesErrorMockIam) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
- type Ecr
- type IBackup
- type ICloudFormation
- type IEcr
- type IIam
- type IS3
- type Iam
- func (i *Iam) CheckRoleExists(ctx context.Context, roleName *string) (bool, error)
- func (i *Iam) DeleteRole(ctx context.Context, roleName *string) error
- func (i *Iam) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
- func (i *Iam) DetachRolePolicy(ctx context.Context, roleName *string, PolicyArn *string) error
- func (i *Iam) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
- type ListAttachedRolePoliciesErrorMockIam
- func (m *ListAttachedRolePoliciesErrorMockIam) CheckRoleExists(ctx context.Context, repositoryName *string) (bool, error)
- func (m *ListAttachedRolePoliciesErrorMockIam) DeleteRole(ctx context.Context, roleName *string) error
- func (m *ListAttachedRolePoliciesErrorMockIam) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
- func (m *ListAttachedRolePoliciesErrorMockIam) DetachRolePolicy(ctx context.Context, roleName *string, PolicyArn *string) error
- func (m *ListAttachedRolePoliciesErrorMockIam) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
- type ListObjectVersionsErrorMockS3
- func (m *ListObjectVersionsErrorMockS3) CheckBucketExists(ctx context.Context, bucketName *string) (bool, error)
- func (m *ListObjectVersionsErrorMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
- func (m *ListObjectVersionsErrorMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
- func (m *ListObjectVersionsErrorMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
- type ListRecoveryPointsErrorMockBackup
- func (m *ListRecoveryPointsErrorMockBackup) CheckBackupVaultExists(ctx context.Context, backupVaultName *string) (bool, error)
- func (m *ListRecoveryPointsErrorMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
- func (m *ListRecoveryPointsErrorMockBackup) DeleteRecoveryPoint(ctx context.Context, backupVaultName *string, recoveryPointArn *string) error
- func (m *ListRecoveryPointsErrorMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, ...) error
- func (m *ListRecoveryPointsErrorMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
- type ListStackResourcesErrorMockCloudFormation
- func (m *ListStackResourcesErrorMockCloudFormation) DeleteStack(ctx context.Context, stackName *string, retainResources []string) error
- func (m *ListStackResourcesErrorMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
- func (m *ListStackResourcesErrorMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
- func (m *ListStackResourcesErrorMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
- type ListStacksEmptyMockCloudFormation
- func (m *ListStacksEmptyMockCloudFormation) DeleteStack(ctx context.Context, stackName *string, retainResources []string) error
- func (m *ListStacksEmptyMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
- func (m *ListStacksEmptyMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
- func (m *ListStacksEmptyMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
- type ListStacksErrorMockCloudFormation
- func (m *ListStacksErrorMockCloudFormation) DeleteStack(ctx context.Context, stackName *string, retainResources []string) error
- func (m *ListStacksErrorMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
- func (m *ListStacksErrorMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
- func (m *ListStacksErrorMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
- type MockBackup
- func (m *MockBackup) CheckBackupVaultExists(ctx context.Context, backupVaultName *string) (bool, error)
- func (m *MockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
- func (m *MockBackup) DeleteRecoveryPoint(ctx context.Context, backupVaultName *string, recoveryPointArn *string) error
- func (m *MockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, ...) error
- func (m *MockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
- type MockCloudFormation
- func (m *MockCloudFormation) DeleteStack(ctx context.Context, stackName *string, retainResources []string) error
- func (m *MockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
- func (m *MockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
- func (m *MockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
- type MockEcr
- type MockIam
- func (m *MockIam) CheckRoleExists(ctx context.Context, repositoryName *string) (bool, error)
- func (m *MockIam) DeleteRole(ctx context.Context, roleName *string) error
- func (m *MockIam) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
- func (m *MockIam) DetachRolePolicy(ctx context.Context, roleName *string, PolicyArn *string) error
- func (m *MockIam) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
- type MockS3
- func (m *MockS3) CheckBucketExists(ctx context.Context, bucketName *string) (bool, error)
- func (m *MockS3) DeleteBucket(ctx context.Context, bucketName *string) error
- func (m *MockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
- func (m *MockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
- type NotDeleteFailedMockCloudFormation
- func (m *NotDeleteFailedMockCloudFormation) DeleteStack(ctx context.Context, stackName *string, retainResources []string) error
- func (m *NotDeleteFailedMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
- func (m *NotDeleteFailedMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
- func (m *NotDeleteFailedMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
- type RetryInput
- type S3
- func (s *S3) CheckBucketExists(ctx context.Context, bucketName *string) (bool, error)
- func (s *S3) DeleteBucket(ctx context.Context, bucketName *string) error
- func (s *S3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
- func (s *S3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
- type TerminationProtectionIsEnabledMockCloudFormation
- func (m *TerminationProtectionIsEnabledMockCloudFormation) DeleteStack(ctx context.Context, stackName *string, retainResources []string) error
- func (m *TerminationProtectionIsEnabledMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
- func (m *TerminationProtectionIsEnabledMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
- func (m *TerminationProtectionIsEnabledMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
Constants ¶
View Source
const CloudFormationWaitNanoSecTime = time.Duration(4500000000000)
View Source
const DefaultAwsRegion = "us-east-1"
View Source
const MaxRetryCount = 10
View Source
const S3DeleteObjectsSizeLimit = 1000
Variables ¶
View Source
var SleepTimeSecForIam = 5
View Source
var SleepTimeSecForS3 = 10
Functions ¶
func LoadAWSConfig ¶ added in v0.7.0
func Retry ¶ added in v0.8.0
func Retry[T, U, V any]( in *RetryInput[T, U, V], ) (*U, error)
T: Input type for API Request. U: Output type for API Response. V: Option Functions type for API Request.
Types ¶
type AllErrorMockBackup ¶ added in v0.8.0
type AllErrorMockBackup struct{}
func NewAllErrorMockBackup ¶ added in v0.8.0
func NewAllErrorMockBackup() *AllErrorMockBackup
func (*AllErrorMockBackup) CheckBackupVaultExists ¶ added in v0.8.0
func (*AllErrorMockBackup) DeleteBackupVault ¶ added in v0.8.0
func (m *AllErrorMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
func (*AllErrorMockBackup) DeleteRecoveryPoint ¶ added in v0.8.0
func (*AllErrorMockBackup) DeleteRecoveryPoints ¶ added in v0.8.0
func (m *AllErrorMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, recoveryPoints []types.RecoveryPointByBackupVault) error
func (*AllErrorMockBackup) ListRecoveryPointsByBackupVault ¶ added in v0.8.0
func (m *AllErrorMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
type AllErrorMockCloudFormation ¶ added in v0.8.0
type AllErrorMockCloudFormation struct{}
func NewAllErrorMockCloudFormation ¶ added in v0.8.0
func NewAllErrorMockCloudFormation() *AllErrorMockCloudFormation
func (*AllErrorMockCloudFormation) DeleteStack ¶ added in v0.8.0
func (*AllErrorMockCloudFormation) DescribeStacks ¶ added in v0.8.0
func (m *AllErrorMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
func (*AllErrorMockCloudFormation) ListStackResources ¶ added in v0.8.0
func (m *AllErrorMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
func (*AllErrorMockCloudFormation) ListStacks ¶ added in v0.8.0
func (m *AllErrorMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
type AllErrorMockIam ¶ added in v0.8.0
type AllErrorMockIam struct{}
func NewAllErrorMockIam ¶ added in v0.8.0
func NewAllErrorMockIam() *AllErrorMockIam
func (*AllErrorMockIam) CheckRoleExists ¶ added in v0.8.0
func (*AllErrorMockIam) DeleteRole ¶ added in v0.8.0
func (m *AllErrorMockIam) DeleteRole(ctx context.Context, roleName *string) error
func (*AllErrorMockIam) DetachRolePolicies ¶ added in v0.8.0
func (m *AllErrorMockIam) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
func (*AllErrorMockIam) DetachRolePolicy ¶ added in v0.8.0
func (*AllErrorMockIam) ListAttachedRolePolicies ¶ added in v0.8.0
func (m *AllErrorMockIam) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
type AllErrorMockS3 ¶ added in v0.8.0
type AllErrorMockS3 struct{}
func NewAllErrorMockS3 ¶ added in v0.8.0
func NewAllErrorMockS3() *AllErrorMockS3
func (*AllErrorMockS3) CheckBucketExists ¶ added in v0.8.0
func (*AllErrorMockS3) DeleteBucket ¶ added in v0.8.0
func (m *AllErrorMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
func (*AllErrorMockS3) DeleteObjects ¶ added in v0.8.0
func (m *AllErrorMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
func (*AllErrorMockS3) ListObjectVersions ¶ added in v0.8.0
func (m *AllErrorMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
type Backup ¶
type Backup struct {
// contains filtered or unexported fields
}
func (*Backup) CheckBackupVaultExists ¶
func (*Backup) DeleteBackupVault ¶
func (*Backup) DeleteRecoveryPoint ¶
func (*Backup) DeleteRecoveryPoints ¶
func (*Backup) ListRecoveryPointsByBackupVault ¶
type CheckBackupVaultExistsErrorMockBackup ¶ added in v0.8.0
type CheckBackupVaultExistsErrorMockBackup struct{}
func NewCheckBackupVaultExistsErrorMockBackup ¶ added in v0.8.0
func NewCheckBackupVaultExistsErrorMockBackup() *CheckBackupVaultExistsErrorMockBackup
func (*CheckBackupVaultExistsErrorMockBackup) CheckBackupVaultExists ¶ added in v0.8.0
func (*CheckBackupVaultExistsErrorMockBackup) DeleteBackupVault ¶ added in v0.8.0
func (m *CheckBackupVaultExistsErrorMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
func (*CheckBackupVaultExistsErrorMockBackup) DeleteRecoveryPoint ¶ added in v0.8.0
func (*CheckBackupVaultExistsErrorMockBackup) DeleteRecoveryPoints ¶ added in v0.8.0
func (m *CheckBackupVaultExistsErrorMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, recoveryPoints []types.RecoveryPointByBackupVault) error
func (*CheckBackupVaultExistsErrorMockBackup) ListRecoveryPointsByBackupVault ¶ added in v0.8.0
func (m *CheckBackupVaultExistsErrorMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
type CheckBackupVaultNotExistsMockBackup ¶ added in v0.8.0
type CheckBackupVaultNotExistsMockBackup struct{}
func NewCheckBackupVaultNotExistsMockBackup ¶ added in v0.8.0
func NewCheckBackupVaultNotExistsMockBackup() *CheckBackupVaultNotExistsMockBackup
func (*CheckBackupVaultNotExistsMockBackup) CheckBackupVaultExists ¶ added in v0.8.0
func (*CheckBackupVaultNotExistsMockBackup) DeleteBackupVault ¶ added in v0.8.0
func (m *CheckBackupVaultNotExistsMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
func (*CheckBackupVaultNotExistsMockBackup) DeleteRecoveryPoint ¶ added in v0.8.0
func (*CheckBackupVaultNotExistsMockBackup) DeleteRecoveryPoints ¶ added in v0.8.0
func (m *CheckBackupVaultNotExistsMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, recoveryPoints []types.RecoveryPointByBackupVault) error
func (*CheckBackupVaultNotExistsMockBackup) ListRecoveryPointsByBackupVault ¶ added in v0.8.0
func (m *CheckBackupVaultNotExistsMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
type CheckBucketExistsErrorMockS3 ¶ added in v0.8.0
type CheckBucketExistsErrorMockS3 struct{}
func NewCheckBucketExistsErrorMockS3 ¶ added in v0.8.0
func NewCheckBucketExistsErrorMockS3() *CheckBucketExistsErrorMockS3
func (*CheckBucketExistsErrorMockS3) CheckBucketExists ¶ added in v0.8.0
func (*CheckBucketExistsErrorMockS3) DeleteBucket ¶ added in v0.8.0
func (m *CheckBucketExistsErrorMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
func (*CheckBucketExistsErrorMockS3) DeleteObjects ¶ added in v0.8.0
func (m *CheckBucketExistsErrorMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
func (*CheckBucketExistsErrorMockS3) ListObjectVersions ¶ added in v0.8.0
func (m *CheckBucketExistsErrorMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
type CheckBucketNotExistsMockS3 ¶ added in v0.8.0
type CheckBucketNotExistsMockS3 struct{}
func NewCheckBucketNotExistsMockS3 ¶ added in v0.8.0
func NewCheckBucketNotExistsMockS3() *CheckBucketNotExistsMockS3
func (*CheckBucketNotExistsMockS3) CheckBucketExists ¶ added in v0.8.0
func (*CheckBucketNotExistsMockS3) DeleteBucket ¶ added in v0.8.0
func (m *CheckBucketNotExistsMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
func (*CheckBucketNotExistsMockS3) DeleteObjects ¶ added in v0.8.0
func (m *CheckBucketNotExistsMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
func (*CheckBucketNotExistsMockS3) ListObjectVersions ¶ added in v0.8.0
func (m *CheckBucketNotExistsMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
type CheckEcrExistsErrorMockEcr ¶ added in v0.8.0
type CheckEcrExistsErrorMockEcr struct{}
func NewCheckEcrExistsErrorMockEcr ¶ added in v0.8.0
func NewCheckEcrExistsErrorMockEcr() *CheckEcrExistsErrorMockEcr
func (*CheckEcrExistsErrorMockEcr) CheckEcrExists ¶ added in v0.8.0
func (*CheckEcrExistsErrorMockEcr) DeleteRepository ¶ added in v0.8.0
func (m *CheckEcrExistsErrorMockEcr) DeleteRepository(ctx context.Context, repositoryName *string) error
type CheckEcrNotExistsMockEcr ¶ added in v0.8.0
type CheckEcrNotExistsMockEcr struct{}
func NewCheckEcrNotExistsMockEcr ¶ added in v0.8.0
func NewCheckEcrNotExistsMockEcr() *CheckEcrNotExistsMockEcr
func (*CheckEcrNotExistsMockEcr) CheckEcrExists ¶ added in v0.8.0
func (*CheckEcrNotExistsMockEcr) DeleteRepository ¶ added in v0.8.0
func (m *CheckEcrNotExistsMockEcr) DeleteRepository(ctx context.Context, repositoryName *string) error
type CheckRoleExistsErrorMockRole ¶ added in v0.8.0
type CheckRoleExistsErrorMockRole struct{}
func NewCheckRoleExistsErrorMockRole ¶ added in v0.8.0
func NewCheckRoleExistsErrorMockRole() *CheckRoleExistsErrorMockRole
func (*CheckRoleExistsErrorMockRole) CheckRoleExists ¶ added in v0.8.0
func (*CheckRoleExistsErrorMockRole) DeleteRole ¶ added in v0.8.0
func (m *CheckRoleExistsErrorMockRole) DeleteRole(ctx context.Context, roleName *string) error
func (*CheckRoleExistsErrorMockRole) DetachRolePolicies ¶ added in v0.8.0
func (m *CheckRoleExistsErrorMockRole) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
func (*CheckRoleExistsErrorMockRole) DetachRolePolicy ¶ added in v0.8.0
func (*CheckRoleExistsErrorMockRole) ListAttachedRolePolicies ¶ added in v0.8.0
func (m *CheckRoleExistsErrorMockRole) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
type CheckRoleNotExistsMockRole ¶ added in v0.8.0
type CheckRoleNotExistsMockRole struct{}
func NewCheckRoleNotExistsMockRole ¶ added in v0.8.0
func NewCheckRoleNotExistsMockRole() *CheckRoleNotExistsMockRole
func (*CheckRoleNotExistsMockRole) CheckRoleExists ¶ added in v0.8.0
func (*CheckRoleNotExistsMockRole) DeleteRole ¶ added in v0.8.0
func (m *CheckRoleNotExistsMockRole) DeleteRole(ctx context.Context, roleName *string) error
func (*CheckRoleNotExistsMockRole) DetachRolePolicies ¶ added in v0.8.0
func (m *CheckRoleNotExistsMockRole) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
func (*CheckRoleNotExistsMockRole) DetachRolePolicy ¶ added in v0.8.0
func (*CheckRoleNotExistsMockRole) ListAttachedRolePolicies ¶ added in v0.8.0
func (m *CheckRoleNotExistsMockRole) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
type CloudFormation ¶
type CloudFormation struct {
// contains filtered or unexported fields
}
func NewCloudFormation ¶
func NewCloudFormation(client *cloudformation.Client, waiter *cloudformation.StackDeleteCompleteWaiter) *CloudFormation
func (*CloudFormation) DeleteStack ¶
func (*CloudFormation) DescribeStacks ¶
func (c *CloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
func (*CloudFormation) ListStackResources ¶
func (c *CloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
func (*CloudFormation) ListStacks ¶ added in v0.7.0
func (c *CloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
type DeleteBackupVaultErrorMockBackup ¶ added in v0.8.0
type DeleteBackupVaultErrorMockBackup struct{}
func NewDeleteBackupVaultErrorMockBackup ¶ added in v0.8.0
func NewDeleteBackupVaultErrorMockBackup() *DeleteBackupVaultErrorMockBackup
func (*DeleteBackupVaultErrorMockBackup) CheckBackupVaultExists ¶ added in v0.8.0
func (*DeleteBackupVaultErrorMockBackup) DeleteBackupVault ¶ added in v0.8.0
func (m *DeleteBackupVaultErrorMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
func (*DeleteBackupVaultErrorMockBackup) DeleteRecoveryPoint ¶ added in v0.8.0
func (*DeleteBackupVaultErrorMockBackup) DeleteRecoveryPoints ¶ added in v0.8.0
func (m *DeleteBackupVaultErrorMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, recoveryPoints []types.RecoveryPointByBackupVault) error
func (*DeleteBackupVaultErrorMockBackup) ListRecoveryPointsByBackupVault ¶ added in v0.8.0
func (m *DeleteBackupVaultErrorMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
type DeleteBucketErrorMockS3 ¶ added in v0.8.0
type DeleteBucketErrorMockS3 struct{}
func NewDeleteBucketErrorMockS3 ¶ added in v0.8.0
func NewDeleteBucketErrorMockS3() *DeleteBucketErrorMockS3
func (*DeleteBucketErrorMockS3) CheckBucketExists ¶ added in v0.8.0
func (*DeleteBucketErrorMockS3) DeleteBucket ¶ added in v0.8.0
func (m *DeleteBucketErrorMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
func (*DeleteBucketErrorMockS3) DeleteObjects ¶ added in v0.8.0
func (m *DeleteBucketErrorMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
func (*DeleteBucketErrorMockS3) ListObjectVersions ¶ added in v0.8.0
func (m *DeleteBucketErrorMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
type DeleteObjectsErrorAfterZeroLengthMockS3 ¶ added in v0.8.0
type DeleteObjectsErrorAfterZeroLengthMockS3 struct{}
func NewDeleteObjectsErrorAfterZeroLengthMockS3 ¶ added in v0.8.0
func NewDeleteObjectsErrorAfterZeroLengthMockS3() *DeleteObjectsErrorAfterZeroLengthMockS3
func (*DeleteObjectsErrorAfterZeroLengthMockS3) CheckBucketExists ¶ added in v0.8.0
func (*DeleteObjectsErrorAfterZeroLengthMockS3) DeleteBucket ¶ added in v0.8.0
func (m *DeleteObjectsErrorAfterZeroLengthMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
func (*DeleteObjectsErrorAfterZeroLengthMockS3) DeleteObjects ¶ added in v0.8.0
func (m *DeleteObjectsErrorAfterZeroLengthMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
func (*DeleteObjectsErrorAfterZeroLengthMockS3) ListObjectVersions ¶ added in v0.8.0
func (m *DeleteObjectsErrorAfterZeroLengthMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
type DeleteObjectsErrorMockS3 ¶ added in v0.8.0
type DeleteObjectsErrorMockS3 struct{}
func NewDeleteObjectsErrorMockS3 ¶ added in v0.8.0
func NewDeleteObjectsErrorMockS3() *DeleteObjectsErrorMockS3
func (*DeleteObjectsErrorMockS3) CheckBucketExists ¶ added in v0.8.0
func (*DeleteObjectsErrorMockS3) DeleteBucket ¶ added in v0.8.0
func (m *DeleteObjectsErrorMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
func (*DeleteObjectsErrorMockS3) DeleteObjects ¶ added in v0.8.0
func (m *DeleteObjectsErrorMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
func (*DeleteObjectsErrorMockS3) ListObjectVersions ¶ added in v0.8.0
func (m *DeleteObjectsErrorMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
type DeleteObjectsOutputErrorAfterZeroLengthMockS3 ¶ added in v0.8.0
type DeleteObjectsOutputErrorAfterZeroLengthMockS3 struct{}
func NewDeleteObjectsOutputErrorAfterZeroLengthMockS3 ¶ added in v0.8.0
func NewDeleteObjectsOutputErrorAfterZeroLengthMockS3() *DeleteObjectsOutputErrorAfterZeroLengthMockS3
func (*DeleteObjectsOutputErrorAfterZeroLengthMockS3) CheckBucketExists ¶ added in v0.8.0
func (*DeleteObjectsOutputErrorAfterZeroLengthMockS3) DeleteBucket ¶ added in v0.8.0
func (m *DeleteObjectsOutputErrorAfterZeroLengthMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
func (*DeleteObjectsOutputErrorAfterZeroLengthMockS3) DeleteObjects ¶ added in v0.8.0
func (m *DeleteObjectsOutputErrorAfterZeroLengthMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
func (*DeleteObjectsOutputErrorAfterZeroLengthMockS3) ListObjectVersions ¶ added in v0.8.0
func (m *DeleteObjectsOutputErrorAfterZeroLengthMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
type DeleteObjectsOutputErrorMockS3 ¶ added in v0.8.0
type DeleteObjectsOutputErrorMockS3 struct{}
func NewDeleteObjectsOutputErrorMockS3 ¶ added in v0.8.0
func NewDeleteObjectsOutputErrorMockS3() *DeleteObjectsOutputErrorMockS3
func (*DeleteObjectsOutputErrorMockS3) CheckBucketExists ¶ added in v0.8.0
func (*DeleteObjectsOutputErrorMockS3) DeleteBucket ¶ added in v0.8.0
func (m *DeleteObjectsOutputErrorMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
func (*DeleteObjectsOutputErrorMockS3) DeleteObjects ¶ added in v0.8.0
func (m *DeleteObjectsOutputErrorMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
func (*DeleteObjectsOutputErrorMockS3) ListObjectVersions ¶ added in v0.8.0
func (m *DeleteObjectsOutputErrorMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
type DeleteRecoveryPointsErrorAfterZeroLengthMockBackup ¶ added in v0.8.0
type DeleteRecoveryPointsErrorAfterZeroLengthMockBackup struct{}
func NewDeleteRecoveryPointsErrorAfterZeroLengthMockBackup ¶ added in v0.8.0
func NewDeleteRecoveryPointsErrorAfterZeroLengthMockBackup() *DeleteRecoveryPointsErrorAfterZeroLengthMockBackup
func (*DeleteRecoveryPointsErrorAfterZeroLengthMockBackup) CheckBackupVaultExists ¶ added in v0.8.0
func (*DeleteRecoveryPointsErrorAfterZeroLengthMockBackup) DeleteBackupVault ¶ added in v0.8.0
func (m *DeleteRecoveryPointsErrorAfterZeroLengthMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
func (*DeleteRecoveryPointsErrorAfterZeroLengthMockBackup) DeleteRecoveryPoint ¶ added in v0.8.0
func (*DeleteRecoveryPointsErrorAfterZeroLengthMockBackup) DeleteRecoveryPoints ¶ added in v0.8.0
func (m *DeleteRecoveryPointsErrorAfterZeroLengthMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, recoveryPoints []types.RecoveryPointByBackupVault) error
func (*DeleteRecoveryPointsErrorAfterZeroLengthMockBackup) ListRecoveryPointsByBackupVault ¶ added in v0.8.0
func (m *DeleteRecoveryPointsErrorAfterZeroLengthMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
type DeleteRecoveryPointsErrorMockBackup ¶ added in v0.8.0
type DeleteRecoveryPointsErrorMockBackup struct{}
func NewDeleteRecoveryPointsErrorMockBackup ¶ added in v0.8.0
func NewDeleteRecoveryPointsErrorMockBackup() *DeleteRecoveryPointsErrorMockBackup
func (*DeleteRecoveryPointsErrorMockBackup) CheckBackupVaultExists ¶ added in v0.8.0
func (*DeleteRecoveryPointsErrorMockBackup) DeleteBackupVault ¶ added in v0.8.0
func (m *DeleteRecoveryPointsErrorMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
func (*DeleteRecoveryPointsErrorMockBackup) DeleteRecoveryPoint ¶ added in v0.8.0
func (*DeleteRecoveryPointsErrorMockBackup) DeleteRecoveryPoints ¶ added in v0.8.0
func (m *DeleteRecoveryPointsErrorMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, recoveryPoints []types.RecoveryPointByBackupVault) error
func (*DeleteRecoveryPointsErrorMockBackup) ListRecoveryPointsByBackupVault ¶ added in v0.8.0
func (m *DeleteRecoveryPointsErrorMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
type DeleteRepositoryErrorMockEcr ¶ added in v0.8.0
type DeleteRepositoryErrorMockEcr struct{}
func NewDeleteRepositoryErrorMockEcr ¶ added in v0.8.0
func NewDeleteRepositoryErrorMockEcr() *DeleteRepositoryErrorMockEcr
func (*DeleteRepositoryErrorMockEcr) CheckEcrExists ¶ added in v0.8.0
func (*DeleteRepositoryErrorMockEcr) DeleteRepository ¶ added in v0.8.0
func (m *DeleteRepositoryErrorMockEcr) DeleteRepository(ctx context.Context, repositoryName *string) error
type DeleteRoleErrorMockIam ¶ added in v0.8.0
type DeleteRoleErrorMockIam struct{}
func NewDeleteRoleErrorMockIam ¶ added in v0.8.0
func NewDeleteRoleErrorMockIam() *DeleteRoleErrorMockIam
func (*DeleteRoleErrorMockIam) CheckRoleExists ¶ added in v0.8.0
func (*DeleteRoleErrorMockIam) DeleteRole ¶ added in v0.8.0
func (m *DeleteRoleErrorMockIam) DeleteRole(ctx context.Context, roleName *string) error
func (*DeleteRoleErrorMockIam) DetachRolePolicies ¶ added in v0.8.0
func (m *DeleteRoleErrorMockIam) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
func (*DeleteRoleErrorMockIam) DetachRolePolicy ¶ added in v0.8.0
func (*DeleteRoleErrorMockIam) ListAttachedRolePolicies ¶ added in v0.8.0
func (m *DeleteRoleErrorMockIam) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
type DeleteStackErrorMockCloudFormation ¶ added in v0.8.0
type DeleteStackErrorMockCloudFormation struct{}
func NewDeleteStackErrorMockCloudFormation ¶ added in v0.8.0
func NewDeleteStackErrorMockCloudFormation() *DeleteStackErrorMockCloudFormation
func (*DeleteStackErrorMockCloudFormation) DeleteStack ¶ added in v0.8.0
func (*DeleteStackErrorMockCloudFormation) DescribeStacks ¶ added in v0.8.0
func (m *DeleteStackErrorMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
func (*DeleteStackErrorMockCloudFormation) ListStackResources ¶ added in v0.8.0
func (m *DeleteStackErrorMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
func (*DeleteStackErrorMockCloudFormation) ListStacks ¶ added in v0.8.0
func (m *DeleteStackErrorMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
type DescribeStacksErrorMockCloudFormation ¶ added in v0.8.0
type DescribeStacksErrorMockCloudFormation struct{}
func NewDescribeStacksErrorMockCloudFormation ¶ added in v0.8.0
func NewDescribeStacksErrorMockCloudFormation() *DescribeStacksErrorMockCloudFormation
func (*DescribeStacksErrorMockCloudFormation) DeleteStack ¶ added in v0.8.0
func (*DescribeStacksErrorMockCloudFormation) DescribeStacks ¶ added in v0.8.0
func (m *DescribeStacksErrorMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
func (*DescribeStacksErrorMockCloudFormation) ListStackResources ¶ added in v0.8.0
func (m *DescribeStacksErrorMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
func (*DescribeStacksErrorMockCloudFormation) ListStacks ¶ added in v0.8.0
func (m *DescribeStacksErrorMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
type DescribeStacksNotExistsErrorMockCloudFormation ¶ added in v0.8.0
type DescribeStacksNotExistsErrorMockCloudFormation struct{}
func NewDescribeStacksNotExistsErrorMockCloudFormation ¶ added in v0.8.0
func NewDescribeStacksNotExistsErrorMockCloudFormation() *DescribeStacksNotExistsErrorMockCloudFormation
func (*DescribeStacksNotExistsErrorMockCloudFormation) DeleteStack ¶ added in v0.8.0
func (*DescribeStacksNotExistsErrorMockCloudFormation) DescribeStacks ¶ added in v0.8.0
func (m *DescribeStacksNotExistsErrorMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
func (*DescribeStacksNotExistsErrorMockCloudFormation) ListStackResources ¶ added in v0.8.0
func (m *DescribeStacksNotExistsErrorMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
func (*DescribeStacksNotExistsErrorMockCloudFormation) ListStacks ¶ added in v0.8.0
func (m *DescribeStacksNotExistsErrorMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
type DetachRolePoliciesErrorAfterZeroLengthMockIam ¶ added in v0.8.0
type DetachRolePoliciesErrorAfterZeroLengthMockIam struct{}
func NewDetachRolePoliciesErrorAfterZeroLengthMockIam ¶ added in v0.8.0
func NewDetachRolePoliciesErrorAfterZeroLengthMockIam() *DetachRolePoliciesErrorAfterZeroLengthMockIam
func (*DetachRolePoliciesErrorAfterZeroLengthMockIam) CheckRoleExists ¶ added in v0.8.0
func (*DetachRolePoliciesErrorAfterZeroLengthMockIam) DeleteRole ¶ added in v0.8.0
func (m *DetachRolePoliciesErrorAfterZeroLengthMockIam) DeleteRole(ctx context.Context, roleName *string) error
func (*DetachRolePoliciesErrorAfterZeroLengthMockIam) DetachRolePolicies ¶ added in v0.8.0
func (m *DetachRolePoliciesErrorAfterZeroLengthMockIam) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
func (*DetachRolePoliciesErrorAfterZeroLengthMockIam) DetachRolePolicy ¶ added in v0.8.0
func (*DetachRolePoliciesErrorAfterZeroLengthMockIam) ListAttachedRolePolicies ¶ added in v0.8.0
func (m *DetachRolePoliciesErrorAfterZeroLengthMockIam) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
type DetachRolePoliciesErrorMockIam ¶ added in v0.8.0
type DetachRolePoliciesErrorMockIam struct{}
func NewDetachRolePoliciesErrorMockIam ¶ added in v0.8.0
func NewDetachRolePoliciesErrorMockIam() *DetachRolePoliciesErrorMockIam
func (*DetachRolePoliciesErrorMockIam) CheckRoleExists ¶ added in v0.8.0
func (*DetachRolePoliciesErrorMockIam) DeleteRole ¶ added in v0.8.0
func (m *DetachRolePoliciesErrorMockIam) DeleteRole(ctx context.Context, roleName *string) error
func (*DetachRolePoliciesErrorMockIam) DetachRolePolicies ¶ added in v0.8.0
func (m *DetachRolePoliciesErrorMockIam) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
func (*DetachRolePoliciesErrorMockIam) DetachRolePolicy ¶ added in v0.8.0
func (*DetachRolePoliciesErrorMockIam) ListAttachedRolePolicies ¶ added in v0.8.0
func (m *DetachRolePoliciesErrorMockIam) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
type Ecr ¶
type Ecr struct {
// contains filtered or unexported fields
}
func (*Ecr) CheckEcrExists ¶
type IBackup ¶
type IBackup interface {
ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, recoveryPoints []types.RecoveryPointByBackupVault) error
DeleteRecoveryPoint(ctx context.Context, backupVaultName *string, recoveryPointArn *string) error
DeleteBackupVault(ctx context.Context, backupVaultName *string) error
CheckBackupVaultExists(ctx context.Context, backupVaultName *string) (bool, error)
}
type ICloudFormation ¶
type ICloudFormation interface {
DeleteStack(ctx context.Context, stackName *string, retainResources []string) error
DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
ListStacks(ctx context.Context) ([]types.StackSummary, error)
}
type IIam ¶
type IIam interface {
DeleteRole(ctx context.Context, roleName *string) error
ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
DetachRolePolicy(ctx context.Context, roleName *string, PolicyArn *string) error
CheckRoleExists(ctx context.Context, roleName *string) (bool, error)
}
type IS3 ¶
type IS3 interface {
DeleteBucket(ctx context.Context, bucketName *string) error
DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
CheckBucketExists(ctx context.Context, bucketName *string) (bool, error)
}
type Iam ¶
type Iam struct {
// contains filtered or unexported fields
}
func (*Iam) CheckRoleExists ¶
func (*Iam) DetachRolePolicies ¶
func (*Iam) DetachRolePolicy ¶
func (*Iam) ListAttachedRolePolicies ¶
type ListAttachedRolePoliciesErrorMockIam ¶ added in v0.8.0
type ListAttachedRolePoliciesErrorMockIam struct{}
func NewListAttachedRolePoliciesErrorMockIam ¶ added in v0.8.0
func NewListAttachedRolePoliciesErrorMockIam() *ListAttachedRolePoliciesErrorMockIam
func (*ListAttachedRolePoliciesErrorMockIam) CheckRoleExists ¶ added in v0.8.0
func (*ListAttachedRolePoliciesErrorMockIam) DeleteRole ¶ added in v0.8.0
func (m *ListAttachedRolePoliciesErrorMockIam) DeleteRole(ctx context.Context, roleName *string) error
func (*ListAttachedRolePoliciesErrorMockIam) DetachRolePolicies ¶ added in v0.8.0
func (m *ListAttachedRolePoliciesErrorMockIam) DetachRolePolicies(ctx context.Context, roleName *string, policies []types.AttachedPolicy) error
func (*ListAttachedRolePoliciesErrorMockIam) DetachRolePolicy ¶ added in v0.8.0
func (*ListAttachedRolePoliciesErrorMockIam) ListAttachedRolePolicies ¶ added in v0.8.0
func (m *ListAttachedRolePoliciesErrorMockIam) ListAttachedRolePolicies(ctx context.Context, roleName *string) ([]types.AttachedPolicy, error)
type ListObjectVersionsErrorMockS3 ¶ added in v0.8.0
type ListObjectVersionsErrorMockS3 struct{}
func NewListObjectVersionsErrorMockS3 ¶ added in v0.8.0
func NewListObjectVersionsErrorMockS3() *ListObjectVersionsErrorMockS3
func (*ListObjectVersionsErrorMockS3) CheckBucketExists ¶ added in v0.8.0
func (*ListObjectVersionsErrorMockS3) DeleteBucket ¶ added in v0.8.0
func (m *ListObjectVersionsErrorMockS3) DeleteBucket(ctx context.Context, bucketName *string) error
func (*ListObjectVersionsErrorMockS3) DeleteObjects ¶ added in v0.8.0
func (m *ListObjectVersionsErrorMockS3) DeleteObjects(ctx context.Context, bucketName *string, objects []types.ObjectIdentifier) ([]types.Error, error)
func (*ListObjectVersionsErrorMockS3) ListObjectVersions ¶ added in v0.8.0
func (m *ListObjectVersionsErrorMockS3) ListObjectVersions(ctx context.Context, bucketName *string) ([]types.ObjectIdentifier, error)
type ListRecoveryPointsErrorMockBackup ¶ added in v0.8.0
type ListRecoveryPointsErrorMockBackup struct{}
func NewListRecoveryPointsErrorMockBackup ¶ added in v0.8.0
func NewListRecoveryPointsErrorMockBackup() *ListRecoveryPointsErrorMockBackup
func (*ListRecoveryPointsErrorMockBackup) CheckBackupVaultExists ¶ added in v0.8.0
func (*ListRecoveryPointsErrorMockBackup) DeleteBackupVault ¶ added in v0.8.0
func (m *ListRecoveryPointsErrorMockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
func (*ListRecoveryPointsErrorMockBackup) DeleteRecoveryPoint ¶ added in v0.8.0
func (*ListRecoveryPointsErrorMockBackup) DeleteRecoveryPoints ¶ added in v0.8.0
func (m *ListRecoveryPointsErrorMockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, recoveryPoints []types.RecoveryPointByBackupVault) error
func (*ListRecoveryPointsErrorMockBackup) ListRecoveryPointsByBackupVault ¶ added in v0.8.0
func (m *ListRecoveryPointsErrorMockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
type ListStackResourcesErrorMockCloudFormation ¶ added in v0.8.0
type ListStackResourcesErrorMockCloudFormation struct{}
func NewListStackResourcesErrorMockCloudFormation ¶ added in v0.8.0
func NewListStackResourcesErrorMockCloudFormation() *ListStackResourcesErrorMockCloudFormation
func (*ListStackResourcesErrorMockCloudFormation) DeleteStack ¶ added in v0.8.0
func (*ListStackResourcesErrorMockCloudFormation) DescribeStacks ¶ added in v0.8.0
func (m *ListStackResourcesErrorMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
func (*ListStackResourcesErrorMockCloudFormation) ListStackResources ¶ added in v0.8.0
func (m *ListStackResourcesErrorMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
func (*ListStackResourcesErrorMockCloudFormation) ListStacks ¶ added in v0.8.0
func (m *ListStackResourcesErrorMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
type ListStacksEmptyMockCloudFormation ¶ added in v0.8.0
type ListStacksEmptyMockCloudFormation struct{}
func NewListStacksEmptyMockCloudFormation ¶ added in v0.8.0
func NewListStacksEmptyMockCloudFormation() *ListStacksEmptyMockCloudFormation
func (*ListStacksEmptyMockCloudFormation) DeleteStack ¶ added in v0.8.0
func (*ListStacksEmptyMockCloudFormation) DescribeStacks ¶ added in v0.8.0
func (m *ListStacksEmptyMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
func (*ListStacksEmptyMockCloudFormation) ListStackResources ¶ added in v0.8.0
func (m *ListStacksEmptyMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
func (*ListStacksEmptyMockCloudFormation) ListStacks ¶ added in v0.8.0
func (m *ListStacksEmptyMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
type ListStacksErrorMockCloudFormation ¶ added in v0.8.0
type ListStacksErrorMockCloudFormation struct{}
func NewListStacksErrorMockCloudFormation ¶ added in v0.8.0
func NewListStacksErrorMockCloudFormation() *ListStacksErrorMockCloudFormation
func (*ListStacksErrorMockCloudFormation) DeleteStack ¶ added in v0.8.0
func (*ListStacksErrorMockCloudFormation) DescribeStacks ¶ added in v0.8.0
func (m *ListStacksErrorMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
func (*ListStacksErrorMockCloudFormation) ListStackResources ¶ added in v0.8.0
func (m *ListStacksErrorMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
func (*ListStacksErrorMockCloudFormation) ListStacks ¶ added in v0.8.0
func (m *ListStacksErrorMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
type MockBackup ¶ added in v0.8.0
type MockBackup struct{}
func NewMockBackup ¶ added in v0.8.0
func NewMockBackup() *MockBackup
func (*MockBackup) CheckBackupVaultExists ¶ added in v0.8.0
func (*MockBackup) DeleteBackupVault ¶ added in v0.8.0
func (m *MockBackup) DeleteBackupVault(ctx context.Context, backupVaultName *string) error
func (*MockBackup) DeleteRecoveryPoint ¶ added in v0.8.0
func (*MockBackup) DeleteRecoveryPoints ¶ added in v0.8.0
func (m *MockBackup) DeleteRecoveryPoints(ctx context.Context, backupVaultName *string, recoveryPoints []types.RecoveryPointByBackupVault) error
func (*MockBackup) ListRecoveryPointsByBackupVault ¶ added in v0.8.0
func (m *MockBackup) ListRecoveryPointsByBackupVault(ctx context.Context, backupVaultName *string) ([]types.RecoveryPointByBackupVault, error)
type MockCloudFormation ¶ added in v0.8.0
type MockCloudFormation struct{}
func NewMockCloudFormation ¶ added in v0.8.0
func NewMockCloudFormation() *MockCloudFormation
func (*MockCloudFormation) DeleteStack ¶ added in v0.8.0
func (*MockCloudFormation) DescribeStacks ¶ added in v0.8.0
func (m *MockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
func (*MockCloudFormation) ListStackResources ¶ added in v0.8.0
func (m *MockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
func (*MockCloudFormation) ListStacks ¶ added in v0.8.0
func (m *MockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
type MockEcr ¶ added in v0.8.0
type MockEcr struct{}
func NewMockEcr ¶ added in v0.8.0
func NewMockEcr() *MockEcr
func (*MockEcr) CheckEcrExists ¶ added in v0.8.0
type MockIam ¶ added in v0.8.0
type MockIam struct{}
func NewMockIam ¶ added in v0.8.0
func NewMockIam() *MockIam
func (*MockIam) CheckRoleExists ¶ added in v0.8.0
func (*MockIam) DeleteRole ¶ added in v0.8.0
func (*MockIam) DetachRolePolicies ¶ added in v0.8.0
func (*MockIam) DetachRolePolicy ¶ added in v0.8.0
func (*MockIam) ListAttachedRolePolicies ¶ added in v0.8.0
type MockS3 ¶ added in v0.8.0
type MockS3 struct{}
func (*MockS3) CheckBucketExists ¶ added in v0.8.0
func (*MockS3) DeleteBucket ¶ added in v0.8.0
func (*MockS3) DeleteObjects ¶ added in v0.8.0
func (*MockS3) ListObjectVersions ¶ added in v0.8.0
type NotDeleteFailedMockCloudFormation ¶ added in v0.8.0
type NotDeleteFailedMockCloudFormation struct{}
func NewNotDeleteFailedMockCloudFormation ¶ added in v0.8.0
func NewNotDeleteFailedMockCloudFormation() *NotDeleteFailedMockCloudFormation
func (*NotDeleteFailedMockCloudFormation) DeleteStack ¶ added in v0.8.0
func (*NotDeleteFailedMockCloudFormation) DescribeStacks ¶ added in v0.8.0
func (m *NotDeleteFailedMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
func (*NotDeleteFailedMockCloudFormation) ListStackResources ¶ added in v0.8.0
func (m *NotDeleteFailedMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
func (*NotDeleteFailedMockCloudFormation) ListStacks ¶ added in v0.8.0
func (m *NotDeleteFailedMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
type RetryInput ¶ added in v0.8.0
type RetryInput[T, U, V any] struct { Ctx context.Context SleepTimeSec int TargetResource *string Input *T ApiOptions []func(*V) ApiCaller func(ctx context.Context, input *T, optFns ...func(*V)) (*U, error) RetryableChecker func(error) bool }
T: Input type for API Request. U: Output type for API Response. V: Option Functions type for API Request.
type S3 ¶
type S3 struct {
// contains filtered or unexported fields
}
func (*S3) CheckBucketExists ¶
func (*S3) DeleteObjects ¶
func (*S3) ListObjectVersions ¶
type TerminationProtectionIsEnabledMockCloudFormation ¶ added in v0.8.0
type TerminationProtectionIsEnabledMockCloudFormation struct{}
func NewTerminationProtectionIsEnabledMockCloudFormation ¶ added in v0.8.0
func NewTerminationProtectionIsEnabledMockCloudFormation() *TerminationProtectionIsEnabledMockCloudFormation
func (*TerminationProtectionIsEnabledMockCloudFormation) DeleteStack ¶ added in v0.8.0
func (*TerminationProtectionIsEnabledMockCloudFormation) DescribeStacks ¶ added in v0.8.0
func (m *TerminationProtectionIsEnabledMockCloudFormation) DescribeStacks(ctx context.Context, stackName *string) (*cloudformation.DescribeStacksOutput, bool, error)
func (*TerminationProtectionIsEnabledMockCloudFormation) ListStackResources ¶ added in v0.8.0
func (m *TerminationProtectionIsEnabledMockCloudFormation) ListStackResources(ctx context.Context, stackName *string) ([]types.StackResourceSummary, error)
func (*TerminationProtectionIsEnabledMockCloudFormation) ListStacks ¶ added in v0.8.0
func (m *TerminationProtectionIsEnabledMockCloudFormation) ListStacks(ctx context.Context) ([]types.StackSummary, error)
Click to show internal directories.
Click to hide internal directories.