Documentation
¶
Index ¶
- Constants
- Variables
- type MockS3Client
- func (m *MockS3Client) DeleteObject(ctx context.Context, input *s3.DeleteObjectInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)
- func (m *MockS3Client) GetObject(ctx context.Context, input *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
- func (m *MockS3Client) ListObjects(ctx context.Context, input *s3.ListObjectsInput, optFns ...func(*s3.Options)) (*s3.ListObjectsOutput, error)
- func (m *MockS3Client) PutObject(ctx context.Context, input *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error)
Constants ¶
View Source
const ( Key1 = "test/webapp/cocpit_api_pass" Key2 = "test/webapp/user_api_pass" Key3 = "test/cockpit/user_api_pass" )
Variables ¶
Functions ¶
This section is empty.
Types ¶
type MockS3Client ¶
type MockS3Client struct {
}
MockS3Client fake S3API
func (*MockS3Client) DeleteObject ¶ added in v0.13.0
func (m *MockS3Client) DeleteObject(ctx context.Context, input *s3.DeleteObjectInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectOutput, error)
func (*MockS3Client) GetObject ¶
func (m *MockS3Client) GetObject(ctx context.Context, input *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error)
func (*MockS3Client) ListObjects ¶
func (m *MockS3Client) ListObjects(ctx context.Context, input *s3.ListObjectsInput, optFns ...func(*s3.Options)) (*s3.ListObjectsOutput, error)
func (*MockS3Client) PutObject ¶
func (m *MockS3Client) PutObject(ctx context.Context, input *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error)
Click to show internal directories.
Click to hide internal directories.