Documentation ¶
Index ¶
- type MockS3ControlClient
- func (m *MockS3ControlClient) CreateAccessPointWithContext(aws.Context, *s3control.CreateAccessPointInput, ...request.Option) (*s3control.CreateAccessPointOutput, error)
- func (m *MockS3ControlClient) DeleteAccessPointPolicyWithContext(_ aws.Context, _ *s3control.DeleteAccessPointPolicyInput, _ ...request.Option) (*s3control.DeleteAccessPointPolicyOutput, error)
- func (m *MockS3ControlClient) DeleteAccessPointWithContext(aws.Context, *s3control.DeleteAccessPointInput, ...request.Option) (*s3control.DeleteAccessPointOutput, error)
- func (m *MockS3ControlClient) GetAccessPointPolicy(_ *s3control.GetAccessPointPolicyInput) (*s3control.GetAccessPointPolicyOutput, error)
- func (m *MockS3ControlClient) GetAccessPointWithContext(aws.Context, *s3control.GetAccessPointInput, ...request.Option) (*s3control.GetAccessPointOutput, error)
- func (m *MockS3ControlClient) PutAccessPointPolicyWithContext(_ aws.Context, _ *s3control.PutAccessPointPolicyInput, _ ...request.Option) (*s3control.PutAccessPointPolicyOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockS3ControlClient ¶
type MockS3ControlClient struct { s3controliface.S3ControlAPI GetAccessPointWithContextOutput s3control.GetAccessPointOutput GetAccessPointWithContextErr error CreateAccessPointWithContextOutput s3control.CreateAccessPointOutput CreateAccessPointWithContextErr error DeleteAccessPointWithContextOutput s3control.DeleteAccessPointOutput DeleteAccessPointWithContextErr error GetAccessPointPolicyOutput s3control.GetAccessPointPolicyOutput GetAccessPointPolicyErr error PutAccessPointPolicyWithContextOutput s3control.PutAccessPointPolicyOutput PutAccessPointPolicyWithContextErr error DeleteAccessPointPolicyWithContextOutput s3control.DeleteAccessPointPolicyOutput DeleteAccessPointPolicyWithContextErr error }
MockS3ControlClient is a mock implementation of the S3ControlAPI interface for testing purposes. It allows simulating the behavior of the S3 Control API methods and tracking the number of calls made to each method.
func (*MockS3ControlClient) CreateAccessPointWithContext ¶
func (m *MockS3ControlClient) CreateAccessPointWithContext(aws.Context, *s3control.CreateAccessPointInput, ...request.Option) (*s3control.CreateAccessPointOutput, error)
CreateAccessPointWithContext is the fake method call to invoke the internal mock method
func (*MockS3ControlClient) DeleteAccessPointPolicyWithContext ¶
func (m *MockS3ControlClient) DeleteAccessPointPolicyWithContext(_ aws.Context, _ *s3control.DeleteAccessPointPolicyInput, _ ...request.Option) (*s3control.DeleteAccessPointPolicyOutput, error)
DeleteAccessPointPolicyWithContext is the fake method call to invoke the internal mock method
func (*MockS3ControlClient) DeleteAccessPointWithContext ¶
func (m *MockS3ControlClient) DeleteAccessPointWithContext(aws.Context, *s3control.DeleteAccessPointInput, ...request.Option) (*s3control.DeleteAccessPointOutput, error)
DeleteAccessPointWithContext is the fake method call to invoke the internal mock method
func (*MockS3ControlClient) GetAccessPointPolicy ¶
func (m *MockS3ControlClient) GetAccessPointPolicy(_ *s3control.GetAccessPointPolicyInput) (*s3control.GetAccessPointPolicyOutput, error)
GetAccessPointPolicy is the fake method call to invoke the internal mock method
func (*MockS3ControlClient) GetAccessPointWithContext ¶
func (m *MockS3ControlClient) GetAccessPointWithContext(aws.Context, *s3control.GetAccessPointInput, ...request.Option) (*s3control.GetAccessPointOutput, error)
GetAccessPointWithContext is the fake method call to invoke the internal mock method
func (*MockS3ControlClient) PutAccessPointPolicyWithContext ¶
func (m *MockS3ControlClient) PutAccessPointPolicyWithContext(_ aws.Context, _ *s3control.PutAccessPointPolicyInput, _ ...request.Option) (*s3control.PutAccessPointPolicyOutput, error)
PutAccessPointPolicyWithContext is the fake method call to invoke the internal mock method