Documentation ¶
Index ¶
- func NewStorageClient(buckets []*MockBucket, storage *map[string]map[string][]byte) s3iface.S3API
- type MockBucket
- type MockS3Client
- func (s *MockS3Client) DeleteObject(in *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)
- func (s *MockS3Client) GetBucketTagging(in *s3.GetBucketTaggingInput) (*s3.GetBucketTaggingOutput, error)
- func (s *MockS3Client) GetObject(in *s3.GetObjectInput) (*s3.GetObjectOutput, error)
- func (s *MockS3Client) ListBuckets(*s3.ListBucketsInput) (*s3.ListBucketsOutput, error)
- func (s *MockS3Client) PutObject(in *s3.PutObjectInput) (*s3.PutObjectOutput, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStorageClient ¶
Types ¶
type MockBucket ¶
type MockS3Client ¶
MockS3Client - Provides and S3API complient mock interface
func (*MockS3Client) DeleteObject ¶
func (s *MockS3Client) DeleteObject(in *s3.DeleteObjectInput) (*s3.DeleteObjectOutput, error)
func (*MockS3Client) GetBucketTagging ¶
func (s *MockS3Client) GetBucketTagging(in *s3.GetBucketTaggingInput) (*s3.GetBucketTaggingOutput, error)
func (*MockS3Client) GetObject ¶
func (s *MockS3Client) GetObject(in *s3.GetObjectInput) (*s3.GetObjectOutput, error)
func (*MockS3Client) ListBuckets ¶
func (s *MockS3Client) ListBuckets(*s3.ListBucketsInput) (*s3.ListBucketsOutput, error)
func (*MockS3Client) PutObject ¶
func (s *MockS3Client) PutObject(in *s3.PutObjectInput) (*s3.PutObjectOutput, error)
Click to show internal directories.
Click to hide internal directories.