Documentation ¶
Index ¶
- type MockBucketClient
- func (m MockBucketClient) CreateBucket(ctx context.Context, input *s3.CreateBucketInput, opts ...func(*s3.Options)) (*s3.CreateBucketOutput, error)
- func (m MockBucketClient) DeleteBucket(ctx context.Context, input *s3.DeleteBucketInput, opts ...func(*s3.Options)) (*s3.DeleteBucketOutput, error)
- func (m MockBucketClient) DeleteBucketCors(ctx context.Context, input *s3.DeleteBucketCorsInput, ...) (*s3.DeleteBucketCorsOutput, error)
- func (m MockBucketClient) DeleteBucketEncryption(ctx context.Context, input *s3.DeleteBucketEncryptionInput, ...) (*s3.DeleteBucketEncryptionOutput, error)
- func (m MockBucketClient) DeleteBucketLifecycle(ctx context.Context, input *s3.DeleteBucketLifecycleInput, ...) (*s3.DeleteBucketLifecycleOutput, error)
- func (m MockBucketClient) DeleteBucketOwnershipControls(ctx context.Context, input *s3.DeleteBucketOwnershipControlsInput, ...) (*s3.DeleteBucketOwnershipControlsOutput, error)
- func (m MockBucketClient) DeleteBucketReplication(ctx context.Context, input *s3.DeleteBucketReplicationInput, ...) (*s3.DeleteBucketReplicationOutput, error)
- func (m MockBucketClient) DeleteBucketTagging(ctx context.Context, input *s3.DeleteBucketTaggingInput, ...) (*s3.DeleteBucketTaggingOutput, error)
- func (m MockBucketClient) DeleteBucketWebsite(ctx context.Context, input *s3.DeleteBucketWebsiteInput, ...) (*s3.DeleteBucketWebsiteOutput, error)
- func (m MockBucketClient) DeletePublicAccessBlock(ctx context.Context, input *s3.DeletePublicAccessBlockInput, ...) (*s3.DeletePublicAccessBlockOutput, error)
- func (m MockBucketClient) GetBucketAccelerateConfiguration(ctx context.Context, input *s3.GetBucketAccelerateConfigurationInput, ...) (*s3.GetBucketAccelerateConfigurationOutput, error)
- func (m MockBucketClient) GetBucketAcl(ctx context.Context, input *s3.GetBucketAclInput, opts ...func(*s3.Options)) (*s3.GetBucketAclOutput, error)
- func (m MockBucketClient) GetBucketAnalyticsConfiguration(ctx context.Context, input *s3.GetBucketAnalyticsConfigurationInput, ...) (*s3.GetBucketAnalyticsConfigurationOutput, error)
- func (m MockBucketClient) GetBucketCors(ctx context.Context, input *s3.GetBucketCorsInput, opts ...func(*s3.Options)) (*s3.GetBucketCorsOutput, error)
- func (m MockBucketClient) GetBucketEncryption(ctx context.Context, input *s3.GetBucketEncryptionInput, ...) (*s3.GetBucketEncryptionOutput, error)
- func (m MockBucketClient) GetBucketLifecycleConfiguration(ctx context.Context, input *s3.GetBucketLifecycleConfigurationInput, ...) (*s3.GetBucketLifecycleConfigurationOutput, error)
- func (m MockBucketClient) GetBucketLogging(ctx context.Context, input *s3.GetBucketLoggingInput, ...) (*s3.GetBucketLoggingOutput, error)
- func (m MockBucketClient) GetBucketNotificationConfiguration(ctx context.Context, input *s3.GetBucketNotificationConfigurationInput, ...) (*s3.GetBucketNotificationConfigurationOutput, error)
- func (m MockBucketClient) GetBucketOwnershipControls(ctx context.Context, input *s3.GetBucketOwnershipControlsInput, ...) (*s3.GetBucketOwnershipControlsOutput, error)
- func (m MockBucketClient) GetBucketReplication(ctx context.Context, input *s3.GetBucketReplicationInput, ...) (*s3.GetBucketReplicationOutput, error)
- func (m MockBucketClient) GetBucketRequestPayment(ctx context.Context, input *s3.GetBucketRequestPaymentInput, ...) (*s3.GetBucketRequestPaymentOutput, error)
- func (m MockBucketClient) GetBucketTagging(ctx context.Context, input *s3.GetBucketTaggingInput, ...) (*s3.GetBucketTaggingOutput, error)
- func (m MockBucketClient) GetBucketVersioning(ctx context.Context, input *s3.GetBucketVersioningInput, ...) (*s3.GetBucketVersioningOutput, error)
- func (m MockBucketClient) GetBucketWebsite(ctx context.Context, input *s3.GetBucketWebsiteInput, ...) (*s3.GetBucketWebsiteOutput, error)
- func (m MockBucketClient) GetPublicAccessBlock(ctx context.Context, input *s3.GetPublicAccessBlockInput, ...) (*s3.GetPublicAccessBlockOutput, error)
- func (m MockBucketClient) HeadBucket(ctx context.Context, input *s3.HeadBucketInput, opts ...func(*s3.Options)) (*s3.HeadBucketOutput, error)
- func (m MockBucketClient) PutBucketAccelerateConfiguration(ctx context.Context, input *s3.PutBucketAccelerateConfigurationInput, ...) (*s3.PutBucketAccelerateConfigurationOutput, error)
- func (m MockBucketClient) PutBucketAcl(ctx context.Context, input *s3.PutBucketAclInput, opts ...func(*s3.Options)) (*s3.PutBucketAclOutput, error)
- func (m MockBucketClient) PutBucketAnalyticsConfiguration(ctx context.Context, input *s3.PutBucketAnalyticsConfigurationInput, ...) (*s3.PutBucketAnalyticsConfigurationOutput, error)
- func (m MockBucketClient) PutBucketCors(ctx context.Context, input *s3.PutBucketCorsInput, opts ...func(*s3.Options)) (*s3.PutBucketCorsOutput, error)
- func (m MockBucketClient) PutBucketEncryption(ctx context.Context, input *s3.PutBucketEncryptionInput, ...) (*s3.PutBucketEncryptionOutput, error)
- func (m MockBucketClient) PutBucketLifecycleConfiguration(ctx context.Context, input *s3.PutBucketLifecycleConfigurationInput, ...) (*s3.PutBucketLifecycleConfigurationOutput, error)
- func (m MockBucketClient) PutBucketLogging(ctx context.Context, input *s3.PutBucketLoggingInput, ...) (*s3.PutBucketLoggingOutput, error)
- func (m MockBucketClient) PutBucketNotificationConfiguration(ctx context.Context, input *s3.PutBucketNotificationConfigurationInput, ...) (*s3.PutBucketNotificationConfigurationOutput, error)
- func (m MockBucketClient) PutBucketOwnershipControls(ctx context.Context, input *s3.PutBucketOwnershipControlsInput, ...) (*s3.PutBucketOwnershipControlsOutput, error)
- func (m MockBucketClient) PutBucketReplication(ctx context.Context, input *s3.PutBucketReplicationInput, ...) (*s3.PutBucketReplicationOutput, error)
- func (m MockBucketClient) PutBucketRequestPayment(ctx context.Context, input *s3.PutBucketRequestPaymentInput, ...) (*s3.PutBucketRequestPaymentOutput, error)
- func (m MockBucketClient) PutBucketTagging(ctx context.Context, input *s3.PutBucketTaggingInput, ...) (*s3.PutBucketTaggingOutput, error)
- func (m MockBucketClient) PutBucketVersioning(ctx context.Context, input *s3.PutBucketVersioningInput, ...) (*s3.PutBucketVersioningOutput, error)
- func (m MockBucketClient) PutBucketWebsite(ctx context.Context, input *s3.PutBucketWebsiteInput, ...) (*s3.PutBucketWebsiteOutput, error)
- func (m MockBucketClient) PutPublicAccessBlock(ctx context.Context, input *s3.PutPublicAccessBlockInput, ...) (*s3.PutPublicAccessBlockOutput, error)
- type MockBucketPolicyClient
- func (m *MockBucketPolicyClient) DeleteBucketPolicy(ctx context.Context, input *s3.DeleteBucketPolicyInput, ...) (*s3.DeleteBucketPolicyOutput, error)
- func (m *MockBucketPolicyClient) GetBucketPolicy(ctx context.Context, input *s3.GetBucketPolicyInput, opts ...func(*s3.Options)) (*s3.GetBucketPolicyOutput, error)
- func (m *MockBucketPolicyClient) PutBucketPolicy(ctx context.Context, input *s3.PutBucketPolicyInput, opts ...func(*s3.Options)) (*s3.PutBucketPolicyOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBucketClient ¶
type MockBucketClient struct { MockHeadBucket func(ctx context.Context, input *s3.HeadBucketInput, opts []func(*s3.Options)) (*s3.HeadBucketOutput, error) MockCreateBucket func(ctx context.Context, input *s3.CreateBucketInput, opts []func(*s3.Options)) (*s3.CreateBucketOutput, error) MockDeleteBucket func(ctx context.Context, input *s3.DeleteBucketInput, opts []func(*s3.Options)) (*s3.DeleteBucketOutput, error) MockPutBucketEncryption func(ctx context.Context, input *s3.PutBucketEncryptionInput, opts []func(*s3.Options)) (*s3.PutBucketEncryptionOutput, error) MockGetBucketEncryption func(ctx context.Context, input *s3.GetBucketEncryptionInput, opts []func(*s3.Options)) (*s3.GetBucketEncryptionOutput, error) MockDeleteBucketEncryption func(ctx context.Context, input *s3.DeleteBucketEncryptionInput, opts []func(*s3.Options)) (*s3.DeleteBucketEncryptionOutput, error) MockPutBucketVersioning func(ctx context.Context, input *s3.PutBucketVersioningInput, opts []func(*s3.Options)) (*s3.PutBucketVersioningOutput, error) MockGetBucketVersioning func(ctx context.Context, input *s3.GetBucketVersioningInput, opts []func(*s3.Options)) (*s3.GetBucketVersioningOutput, error) MockPutBucketAccelerateConfiguration func(ctx context.Context, input *s3.PutBucketAccelerateConfigurationInput, opts []func(*s3.Options)) (*s3.PutBucketAccelerateConfigurationOutput, error) MockGetBucketAccelerateConfiguration func(ctx context.Context, input *s3.GetBucketAccelerateConfigurationInput, opts []func(*s3.Options)) (*s3.GetBucketAccelerateConfigurationOutput, error) MockPutBucketCors func(ctx context.Context, input *s3.PutBucketCorsInput, opts []func(*s3.Options)) (*s3.PutBucketCorsOutput, error) MockGetBucketCors func(ctx context.Context, input *s3.GetBucketCorsInput, opts []func(*s3.Options)) (*s3.GetBucketCorsOutput, error) MockDeleteBucketCors func(ctx context.Context, input *s3.DeleteBucketCorsInput, opts []func(*s3.Options)) (*s3.DeleteBucketCorsOutput, error) MockPutBucketWebsite func(ctx context.Context, input *s3.PutBucketWebsiteInput, opts []func(*s3.Options)) (*s3.PutBucketWebsiteOutput, error) MockGetBucketWebsite func(ctx context.Context, input *s3.GetBucketWebsiteInput, opts []func(*s3.Options)) (*s3.GetBucketWebsiteOutput, error) MockDeleteBucketWebsite func(ctx context.Context, input *s3.DeleteBucketWebsiteInput, opts []func(*s3.Options)) (*s3.DeleteBucketWebsiteOutput, error) MockPutBucketLogging func(ctx context.Context, input *s3.PutBucketLoggingInput, opts []func(*s3.Options)) (*s3.PutBucketLoggingOutput, error) MockGetBucketLogging func(ctx context.Context, input *s3.GetBucketLoggingInput, opts []func(*s3.Options)) (*s3.GetBucketLoggingOutput, error) MockPutBucketReplication func(ctx context.Context, input *s3.PutBucketReplicationInput, opts []func(*s3.Options)) (*s3.PutBucketReplicationOutput, error) MockGetBucketReplication func(ctx context.Context, input *s3.GetBucketReplicationInput, opts []func(*s3.Options)) (*s3.GetBucketReplicationOutput, error) MockDeleteBucketReplication func(ctx context.Context, input *s3.DeleteBucketReplicationInput, opts []func(*s3.Options)) (*s3.DeleteBucketReplicationOutput, error) MockPutBucketRequestPayment func(ctx context.Context, input *s3.PutBucketRequestPaymentInput, opts []func(*s3.Options)) (*s3.PutBucketRequestPaymentOutput, error) MockGetBucketRequestPayment func(ctx context.Context, input *s3.GetBucketRequestPaymentInput, opts []func(*s3.Options)) (*s3.GetBucketRequestPaymentOutput, error) MockPutBucketTagging func(ctx context.Context, input *s3.PutBucketTaggingInput, opts []func(*s3.Options)) (*s3.PutBucketTaggingOutput, error) MockGetBucketTagging func(ctx context.Context, input *s3.GetBucketTaggingInput, opts []func(*s3.Options)) (*s3.GetBucketTaggingOutput, error) MockDeleteBucketTagging func(ctx context.Context, input *s3.DeleteBucketTaggingInput, opts []func(*s3.Options)) (*s3.DeleteBucketTaggingOutput, error) MockPutBucketAnalyticsConfiguration func(ctx context.Context, input *s3.PutBucketAnalyticsConfigurationInput, opts []func(*s3.Options)) (*s3.PutBucketAnalyticsConfigurationOutput, error) MockGetBucketAnalyticsConfiguration func(ctx context.Context, input *s3.GetBucketAnalyticsConfigurationInput, opts []func(*s3.Options)) (*s3.GetBucketAnalyticsConfigurationOutput, error) MockPutBucketLifecycleConfiguration func(ctx context.Context, input *s3.PutBucketLifecycleConfigurationInput, opts []func(*s3.Options)) (*s3.PutBucketLifecycleConfigurationOutput, error) MockGetBucketLifecycleConfiguration func(ctx context.Context, input *s3.GetBucketLifecycleConfigurationInput, opts []func(*s3.Options)) (*s3.GetBucketLifecycleConfigurationOutput, error) MockDeleteBucketLifecycle func(ctx context.Context, input *s3.DeleteBucketLifecycleInput, opts []func(*s3.Options)) (*s3.DeleteBucketLifecycleOutput, error) MockPutBucketNotificationConfiguration func(ctx context.Context, input *s3.PutBucketNotificationConfigurationInput, opts []func(*s3.Options)) (*s3.PutBucketNotificationConfigurationOutput, error) MockGetBucketNotificationConfiguration func(ctx context.Context, input *s3.GetBucketNotificationConfigurationInput, opts []func(*s3.Options)) (*s3.GetBucketNotificationConfigurationOutput, error) MockGetBucketAcl func(ctx context.Context, input *s3.GetBucketAclInput, opts []func(*s3.Options)) (*s3.GetBucketAclOutput, error) //nolint MockPutBucketAcl func(ctx context.Context, input *s3.PutBucketAclInput, opts []func(*s3.Options)) (*s3.PutBucketAclOutput, error) //nolint MockGetPublicAccessBlock func(ctx context.Context, input *s3.GetPublicAccessBlockInput, opts []func(*s3.Options)) (*s3.GetPublicAccessBlockOutput, error) MockPutPublicAccessBlock func(ctx context.Context, input *s3.PutPublicAccessBlockInput, opts []func(*s3.Options)) (*s3.PutPublicAccessBlockOutput, error) MockDeletePublicAccessBlock func(ctx context.Context, input *s3.DeletePublicAccessBlockInput, opts []func(*s3.Options)) (*s3.DeletePublicAccessBlockOutput, error) MockGetBucketOwnershipControls func(ctx context.Context, input *s3.GetBucketOwnershipControlsInput, opts []func(*s3.Options)) (*s3.GetBucketOwnershipControlsOutput, error) MockPutBucketOwnershipControls func(ctx context.Context, input *s3.PutBucketOwnershipControlsInput, opts []func(*s3.Options)) (*s3.PutBucketOwnershipControlsOutput, error) MockDeleteBucketOwnershipControls func(ctx context.Context, input *s3.DeleteBucketOwnershipControlsInput, opts []func(*s3.Options)) (*s3.DeleteBucketOwnershipControlsOutput, error) }
MockBucketClient is a type that implements all the methods for BucketClient interface
func (MockBucketClient) CreateBucket ¶
func (m MockBucketClient) CreateBucket(ctx context.Context, input *s3.CreateBucketInput, opts ...func(*s3.Options)) (*s3.CreateBucketOutput, error)
CreateBucket is the fake method call to invoke the internal mock method
func (MockBucketClient) DeleteBucket ¶
func (m MockBucketClient) DeleteBucket(ctx context.Context, input *s3.DeleteBucketInput, opts ...func(*s3.Options)) (*s3.DeleteBucketOutput, error)
DeleteBucket is the fake method call to invoke the internal mock method
func (MockBucketClient) DeleteBucketCors ¶
func (m MockBucketClient) DeleteBucketCors(ctx context.Context, input *s3.DeleteBucketCorsInput, opts ...func(*s3.Options)) (*s3.DeleteBucketCorsOutput, error)
DeleteBucketCors is the fake method call to invoke the internal mock method
func (MockBucketClient) DeleteBucketEncryption ¶
func (m MockBucketClient) DeleteBucketEncryption(ctx context.Context, input *s3.DeleteBucketEncryptionInput, opts ...func(*s3.Options)) (*s3.DeleteBucketEncryptionOutput, error)
DeleteBucketEncryption is the fake method call to invoke the internal mock method
func (MockBucketClient) DeleteBucketLifecycle ¶
func (m MockBucketClient) DeleteBucketLifecycle(ctx context.Context, input *s3.DeleteBucketLifecycleInput, opts ...func(*s3.Options)) (*s3.DeleteBucketLifecycleOutput, error)
DeleteBucketLifecycle is the fake method call to invoke the internal mock method
func (MockBucketClient) DeleteBucketOwnershipControls ¶ added in v0.29.0
func (m MockBucketClient) DeleteBucketOwnershipControls(ctx context.Context, input *s3.DeleteBucketOwnershipControlsInput, opts ...func(*s3.Options)) (*s3.DeleteBucketOwnershipControlsOutput, error)
DeleteBucketOwnershipControls is the fake method call to invoke the internal mock method
func (MockBucketClient) DeleteBucketReplication ¶
func (m MockBucketClient) DeleteBucketReplication(ctx context.Context, input *s3.DeleteBucketReplicationInput, opts ...func(*s3.Options)) (*s3.DeleteBucketReplicationOutput, error)
DeleteBucketReplication is the fake method call to invoke the internal mock method
func (MockBucketClient) DeleteBucketTagging ¶
func (m MockBucketClient) DeleteBucketTagging(ctx context.Context, input *s3.DeleteBucketTaggingInput, opts ...func(*s3.Options)) (*s3.DeleteBucketTaggingOutput, error)
DeleteBucketTagging is the fake method call to invoke the internal mock method
func (MockBucketClient) DeleteBucketWebsite ¶
func (m MockBucketClient) DeleteBucketWebsite(ctx context.Context, input *s3.DeleteBucketWebsiteInput, opts ...func(*s3.Options)) (*s3.DeleteBucketWebsiteOutput, error)
DeleteBucketWebsite is the fake method call to invoke the internal mock method
func (MockBucketClient) DeletePublicAccessBlock ¶
func (m MockBucketClient) DeletePublicAccessBlock(ctx context.Context, input *s3.DeletePublicAccessBlockInput, opts ...func(*s3.Options)) (*s3.DeletePublicAccessBlockOutput, error)
DeletePublicAccessBlock is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketAccelerateConfiguration ¶
func (m MockBucketClient) GetBucketAccelerateConfiguration(ctx context.Context, input *s3.GetBucketAccelerateConfigurationInput, opts ...func(*s3.Options)) (*s3.GetBucketAccelerateConfigurationOutput, error)
GetBucketAccelerateConfiguration is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketAcl ¶
func (m MockBucketClient) GetBucketAcl(ctx context.Context, input *s3.GetBucketAclInput, opts ...func(*s3.Options)) (*s3.GetBucketAclOutput, error)
GetBucketAcl is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketAnalyticsConfiguration ¶
func (m MockBucketClient) GetBucketAnalyticsConfiguration(ctx context.Context, input *s3.GetBucketAnalyticsConfigurationInput, opts ...func(*s3.Options)) (*s3.GetBucketAnalyticsConfigurationOutput, error)
GetBucketAnalyticsConfiguration is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketCors ¶
func (m MockBucketClient) GetBucketCors(ctx context.Context, input *s3.GetBucketCorsInput, opts ...func(*s3.Options)) (*s3.GetBucketCorsOutput, error)
GetBucketCors is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketEncryption ¶
func (m MockBucketClient) GetBucketEncryption(ctx context.Context, input *s3.GetBucketEncryptionInput, opts ...func(*s3.Options)) (*s3.GetBucketEncryptionOutput, error)
GetBucketEncryption is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketLifecycleConfiguration ¶
func (m MockBucketClient) GetBucketLifecycleConfiguration(ctx context.Context, input *s3.GetBucketLifecycleConfigurationInput, opts ...func(*s3.Options)) (*s3.GetBucketLifecycleConfigurationOutput, error)
GetBucketLifecycleConfiguration is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketLogging ¶
func (m MockBucketClient) GetBucketLogging(ctx context.Context, input *s3.GetBucketLoggingInput, opts ...func(*s3.Options)) (*s3.GetBucketLoggingOutput, error)
GetBucketLogging is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketNotificationConfiguration ¶
func (m MockBucketClient) GetBucketNotificationConfiguration(ctx context.Context, input *s3.GetBucketNotificationConfigurationInput, opts ...func(*s3.Options)) (*s3.GetBucketNotificationConfigurationOutput, error)
GetBucketNotificationConfiguration is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketOwnershipControls ¶ added in v0.29.0
func (m MockBucketClient) GetBucketOwnershipControls(ctx context.Context, input *s3.GetBucketOwnershipControlsInput, opts ...func(*s3.Options)) (*s3.GetBucketOwnershipControlsOutput, error)
GetBucketOwnershipControls is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketReplication ¶
func (m MockBucketClient) GetBucketReplication(ctx context.Context, input *s3.GetBucketReplicationInput, opts ...func(*s3.Options)) (*s3.GetBucketReplicationOutput, error)
GetBucketReplication is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketRequestPayment ¶
func (m MockBucketClient) GetBucketRequestPayment(ctx context.Context, input *s3.GetBucketRequestPaymentInput, opts ...func(*s3.Options)) (*s3.GetBucketRequestPaymentOutput, error)
GetBucketRequestPayment is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketTagging ¶
func (m MockBucketClient) GetBucketTagging(ctx context.Context, input *s3.GetBucketTaggingInput, opts ...func(*s3.Options)) (*s3.GetBucketTaggingOutput, error)
GetBucketTagging is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketVersioning ¶
func (m MockBucketClient) GetBucketVersioning(ctx context.Context, input *s3.GetBucketVersioningInput, opts ...func(*s3.Options)) (*s3.GetBucketVersioningOutput, error)
GetBucketVersioning is the fake method call to invoke the internal mock method
func (MockBucketClient) GetBucketWebsite ¶
func (m MockBucketClient) GetBucketWebsite(ctx context.Context, input *s3.GetBucketWebsiteInput, opts ...func(*s3.Options)) (*s3.GetBucketWebsiteOutput, error)
GetBucketWebsite is the fake method call to invoke the internal mock method
func (MockBucketClient) GetPublicAccessBlock ¶
func (m MockBucketClient) GetPublicAccessBlock(ctx context.Context, input *s3.GetPublicAccessBlockInput, opts ...func(*s3.Options)) (*s3.GetPublicAccessBlockOutput, error)
GetPublicAccessBlock is the fake method call to invoke the internal mock method
func (MockBucketClient) HeadBucket ¶
func (m MockBucketClient) HeadBucket(ctx context.Context, input *s3.HeadBucketInput, opts ...func(*s3.Options)) (*s3.HeadBucketOutput, error)
HeadBucket is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketAccelerateConfiguration ¶
func (m MockBucketClient) PutBucketAccelerateConfiguration(ctx context.Context, input *s3.PutBucketAccelerateConfigurationInput, opts ...func(*s3.Options)) (*s3.PutBucketAccelerateConfigurationOutput, error)
PutBucketAccelerateConfiguration is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketAcl ¶
func (m MockBucketClient) PutBucketAcl(ctx context.Context, input *s3.PutBucketAclInput, opts ...func(*s3.Options)) (*s3.PutBucketAclOutput, error)
PutBucketAcl is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketAnalyticsConfiguration ¶
func (m MockBucketClient) PutBucketAnalyticsConfiguration(ctx context.Context, input *s3.PutBucketAnalyticsConfigurationInput, opts ...func(*s3.Options)) (*s3.PutBucketAnalyticsConfigurationOutput, error)
PutBucketAnalyticsConfiguration is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketCors ¶
func (m MockBucketClient) PutBucketCors(ctx context.Context, input *s3.PutBucketCorsInput, opts ...func(*s3.Options)) (*s3.PutBucketCorsOutput, error)
PutBucketCors is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketEncryption ¶
func (m MockBucketClient) PutBucketEncryption(ctx context.Context, input *s3.PutBucketEncryptionInput, opts ...func(*s3.Options)) (*s3.PutBucketEncryptionOutput, error)
PutBucketEncryption is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketLifecycleConfiguration ¶
func (m MockBucketClient) PutBucketLifecycleConfiguration(ctx context.Context, input *s3.PutBucketLifecycleConfigurationInput, opts ...func(*s3.Options)) (*s3.PutBucketLifecycleConfigurationOutput, error)
PutBucketLifecycleConfiguration is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketLogging ¶
func (m MockBucketClient) PutBucketLogging(ctx context.Context, input *s3.PutBucketLoggingInput, opts ...func(*s3.Options)) (*s3.PutBucketLoggingOutput, error)
PutBucketLogging is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketNotificationConfiguration ¶
func (m MockBucketClient) PutBucketNotificationConfiguration(ctx context.Context, input *s3.PutBucketNotificationConfigurationInput, opts ...func(*s3.Options)) (*s3.PutBucketNotificationConfigurationOutput, error)
PutBucketNotificationConfiguration is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketOwnershipControls ¶ added in v0.29.0
func (m MockBucketClient) PutBucketOwnershipControls(ctx context.Context, input *s3.PutBucketOwnershipControlsInput, opts ...func(*s3.Options)) (*s3.PutBucketOwnershipControlsOutput, error)
PutBucketOwnershipControls is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketReplication ¶
func (m MockBucketClient) PutBucketReplication(ctx context.Context, input *s3.PutBucketReplicationInput, opts ...func(*s3.Options)) (*s3.PutBucketReplicationOutput, error)
PutBucketReplication is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketRequestPayment ¶
func (m MockBucketClient) PutBucketRequestPayment(ctx context.Context, input *s3.PutBucketRequestPaymentInput, opts ...func(*s3.Options)) (*s3.PutBucketRequestPaymentOutput, error)
PutBucketRequestPayment is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketTagging ¶
func (m MockBucketClient) PutBucketTagging(ctx context.Context, input *s3.PutBucketTaggingInput, opts ...func(*s3.Options)) (*s3.PutBucketTaggingOutput, error)
PutBucketTagging is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketVersioning ¶
func (m MockBucketClient) PutBucketVersioning(ctx context.Context, input *s3.PutBucketVersioningInput, opts ...func(*s3.Options)) (*s3.PutBucketVersioningOutput, error)
PutBucketVersioning is the fake method call to invoke the internal mock method
func (MockBucketClient) PutBucketWebsite ¶
func (m MockBucketClient) PutBucketWebsite(ctx context.Context, input *s3.PutBucketWebsiteInput, opts ...func(*s3.Options)) (*s3.PutBucketWebsiteOutput, error)
PutBucketWebsite is the fake method call to invoke the internal mock method
func (MockBucketClient) PutPublicAccessBlock ¶
func (m MockBucketClient) PutPublicAccessBlock(ctx context.Context, input *s3.PutPublicAccessBlockInput, opts ...func(*s3.Options)) (*s3.PutPublicAccessBlockOutput, error)
PutPublicAccessBlock is the fake method call to invoke the internal mock method
type MockBucketPolicyClient ¶
type MockBucketPolicyClient struct { MockGetBucketPolicy func(ctx context.Context, input *s3.GetBucketPolicyInput, opts []func(*s3.Options)) (*s3.GetBucketPolicyOutput, error) MockPutBucketPolicy func(ctx context.Context, input *s3.PutBucketPolicyInput, opts []func(*s3.Options)) (*s3.PutBucketPolicyOutput, error) MockDeleteBucketPolicy func(ctx context.Context, input *s3.DeleteBucketPolicyInput, opts []func(*s3.Options)) (*s3.DeleteBucketPolicyOutput, error) }
MockBucketPolicyClient is a type that implements all the methods for RolePolicyAttachmentClient interface
func (*MockBucketPolicyClient) DeleteBucketPolicy ¶
func (m *MockBucketPolicyClient) DeleteBucketPolicy(ctx context.Context, input *s3.DeleteBucketPolicyInput, opts ...func(*s3.Options)) (*s3.DeleteBucketPolicyOutput, error)
DeleteBucketPolicy mocks DeleteBucketPolicy method
func (*MockBucketPolicyClient) GetBucketPolicy ¶
func (m *MockBucketPolicyClient) GetBucketPolicy(ctx context.Context, input *s3.GetBucketPolicyInput, opts ...func(*s3.Options)) (*s3.GetBucketPolicyOutput, error)
GetBucketPolicy mocks GetBucketPolicy method
func (*MockBucketPolicyClient) PutBucketPolicy ¶
func (m *MockBucketPolicyClient) PutBucketPolicy(ctx context.Context, input *s3.PutBucketPolicyInput, opts ...func(*s3.Options)) (*s3.PutBucketPolicyOutput, error)
PutBucketPolicy mocks PutBucketPolicy method