Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeLogger ¶
func MakeLogger(tb testing.TB) log.FieldLogger
MakeLogger creates a log.FieldLogger that routes to tb.Log.
func NewLoggerEntry ¶ added in v0.17.0
NewLoggerEntry returns a new logger entry instance.
Types ¶
type AWSMockedAPI ¶ added in v0.17.0
type AWSMockedAPI struct { ACM *mocks.MockACMAPI RDS *mocks.MockRDSAPI IAM *mocks.MockIAMAPI EC2 *mocks.MockEC2API KMS *mocks.MockKMSAPI S3 *mocks.MockS3API Route53 *mocks.MockRoute53API ResourceGroupsTagging *mocks.MockResourceGroupsTaggingAPIAPI SecretsManager *mocks.MockSecretsManagerAPI STS *mocks.MockSTSAPI DynamoDB *mocks.MockDynamoDBAPI }
AWSMockedAPI has all AWS mocked services. New services should be added here.
func NewAWSMockedAPI ¶ added in v0.17.0
func NewAWSMockedAPI(ctrl *gomock.Controller) *AWSMockedAPI
NewAWSMockedAPI returns an instance of AWSMockedAPI.
type MockedFieldLogger ¶ added in v0.17.0
type MockedFieldLogger struct {
Logger *mocks.MockFieldLogger
}
MockedFieldLogger supplies a mocked library for testing logs.
func NewMockedFieldLogger ¶ added in v0.17.0
func NewMockedFieldLogger(ctrl *gomock.Controller) *MockedFieldLogger
NewMockedFieldLogger returns a instance of FieldLogger for testing.
type ModelMockedAPI ¶ added in v0.17.0
type ModelMockedAPI struct {
DatabaseInstallationStore *mocks.MockInstallationDatabaseStoreInterface
}
ModelMockedAPI has all mocked interfaces defined in model.
func NewModelMockedAPI ¶ added in v0.17.0
func NewModelMockedAPI(ctrl *gomock.Controller) *ModelMockedAPI
NewModelMockedAPI returns an instance of ModelMockedAPI.
Click to show internal directories.
Click to hide internal directories.