Documentation ¶
Index ¶
- type MockS3Client
- func (s *MockS3Client) DeleteObject(ctx context.Context, params *s3.DeleteObjectInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)
- func (s *MockS3Client) GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
- func (s *MockS3Client) HeadObject(ctx context.Context, params *s3.HeadObjectInput, optFns ...func(*s3.Options)) (*s3.HeadObjectOutput, error)
- func (s *MockS3Client) PutObject(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockS3Client ¶
type MockS3Client struct { S3uri *string // Output Data DeleteObjectOutput *s3.DeleteObjectOutput GetObjectOutput *s3.GetObjectOutput HeadObjectOutput *s3.HeadObjectOutput PutObjectInput *s3.PutObjectInput PutObjectOutput *s3.PutObjectOutput }
MockS3Client is a mock AWS S3 Client
func (*MockS3Client) DeleteObject ¶
func (s *MockS3Client) DeleteObject(ctx context.Context, params *s3.DeleteObjectInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)
func (*MockS3Client) GetObject ¶
func (s *MockS3Client) GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
func (*MockS3Client) HeadObject ¶
func (s *MockS3Client) HeadObject(ctx context.Context, params *s3.HeadObjectInput, optFns ...func(*s3.Options)) (*s3.HeadObjectOutput, error)
func (*MockS3Client) PutObject ¶
func (s *MockS3Client) PutObject(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error)
Click to show internal directories.
Click to hide internal directories.