Documentation
¶
Overview ¶
Package mock is responsible for providing mocks for specific services used in the api.
Package mock is responsible for providing mocks for specific services used in the api.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DynamodbClient ¶
type DynamodbClient struct {
dynamodbiface.DynamoDBAPI
}
DynamodbClient Defines a mock struct to use as dynamo client in unit tests.
func (*DynamodbClient) PutItem ¶
func (m *DynamodbClient) PutItem(input *dynamodb.PutItemInput) (*dynamodb.PutItemOutput, error)
PutItem is mock function used to unit tests.
func (*DynamodbClient) Scan ¶
func (m *DynamodbClient) Scan(input *dynamodb.ScanInput) (*dynamodb.ScanOutput, error)
Scan is mock function used to unit tests.
type S3Client ¶
S3Client Defines a mock struct to use as s3 client in unit tests.
func (*S3Client) GetObject ¶
func (m *S3Client) GetObject(input *s3.GetObjectInput) (*s3.GetObjectOutput, error)
GetObject is mock function used on unit tests.
Click to show internal directories.
Click to hide internal directories.