mock

package
v0.0.3-beta Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 6 Imported by: 0

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

CreateInvalidation mocks base method.

func (*MockCloudFrontClient) EXPECT

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

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL