Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Package mock_service is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AWSServiceMock ¶
type AWSServiceMock struct { UploadDirectoryToS3BatchFunc func(awsConfig cloud.Config, sourceDir, targetPath, bucket string) error InvalidateCloudFrontFunc func(awsConfig cloud.Config, distributionID string) error }
func (*AWSServiceMock) InvalidateCloudFront ¶
func (m *AWSServiceMock) InvalidateCloudFront(awsConfig cloud.Config, distributionID string) error
func (*AWSServiceMock) UploadDirectoryToS3Batch ¶
func (m *AWSServiceMock) UploadDirectoryToS3Batch(awsConfig cloud.Config, sourceDir, targetPath, bucket string) error
type MockCloudFrontClient ¶
type MockCloudFrontClient struct {
// contains filtered or unexported fields
}
MockCloudFrontClient is a mock of CloudFrontClient interface.
func NewMockCloudFrontClient ¶
func NewMockCloudFrontClient(ctrl *gomock.Controller) *MockCloudFrontClient
NewMockCloudFrontClient creates a new mock instance.
func (*MockCloudFrontClient) CreateInvalidation ¶
func (m *MockCloudFrontClient) CreateInvalidation(ctx context.Context, params *cloudfront.CreateInvalidationInput, optFns ...func(*cloudfront.Options)) (*cloudfront.CreateInvalidationOutput, error)
CreateInvalidation mocks base method.
func (*MockCloudFrontClient) EXPECT ¶
func (m *MockCloudFrontClient) EXPECT() *MockCloudFrontClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
type MockCloudFrontClientMockRecorder ¶
type MockCloudFrontClientMockRecorder struct {
// contains filtered or unexported fields
}
MockCloudFrontClientMockRecorder is the mock recorder for MockCloudFrontClient.
func (*MockCloudFrontClientMockRecorder) CreateInvalidation ¶
func (mr *MockCloudFrontClientMockRecorder) CreateInvalidation(ctx, params interface{}, optFns ...interface{}) *gomock.Call
CreateInvalidation indicates an expected call of CreateInvalidation.
type MockS3Client ¶
type MockS3Client struct {
// contains filtered or unexported fields
}
MockS3Client is a mock of S3Client interface.
func NewMockS3Client ¶
func NewMockS3Client(ctrl *gomock.Controller) *MockS3Client
NewMockS3Client creates a new mock instance.
func (*MockS3Client) EXPECT ¶
func (m *MockS3Client) EXPECT() *MockS3ClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockS3Client) PutObject ¶
func (m *MockS3Client) PutObject(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error)
PutObject mocks base method.
type MockS3ClientMockRecorder ¶
type MockS3ClientMockRecorder struct {
// contains filtered or unexported fields
}
MockS3ClientMockRecorder is the mock recorder for MockS3Client.
func (*MockS3ClientMockRecorder) PutObject ¶
func (mr *MockS3ClientMockRecorder) PutObject(ctx, params interface{}, optFns ...interface{}) *gomock.Call
PutObject indicates an expected call of PutObject.