mocks

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockActionRecommender

type MockActionRecommender struct {
	// contains filtered or unexported fields
}

MockActionRecommender is a mock of ActionRecommender interface.

func NewMockActionRecommender

func NewMockActionRecommender(ctrl *gomock.Controller) *MockActionRecommender

NewMockActionRecommender creates a new mock instance.

func (*MockActionRecommender) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockActionRecommender) RecommendedActions

func (m *MockActionRecommender) RecommendedActions() []string

RecommendedActions mocks base method.

type MockActionRecommenderMockRecorder

type MockActionRecommenderMockRecorder struct {
	// contains filtered or unexported fields
}

MockActionRecommenderMockRecorder is the mock recorder for MockActionRecommender.

func (*MockActionRecommenderMockRecorder) RecommendedActions

func (mr *MockActionRecommenderMockRecorder) RecommendedActions() *gomock.Call

RecommendedActions indicates an expected call of RecommendedActions.

type MockcustomResourcesUploader

type MockcustomResourcesUploader struct {
	// contains filtered or unexported fields
}

MockcustomResourcesUploader is a mock of customResourcesUploader interface.

func NewMockcustomResourcesUploader

func NewMockcustomResourcesUploader(ctrl *gomock.Controller) *MockcustomResourcesUploader

NewMockcustomResourcesUploader creates a new mock instance.

func (*MockcustomResourcesUploader) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockcustomResourcesUploader) UploadEnvironmentCustomResources

func (m *MockcustomResourcesUploader) UploadEnvironmentCustomResources(upload s3.CompressAndUploadFunc) (map[string]string, error)

UploadEnvironmentCustomResources mocks base method.

func (*MockcustomResourcesUploader) UploadNetworkLoadBalancedWebServiceCustomResources

func (m *MockcustomResourcesUploader) UploadNetworkLoadBalancedWebServiceCustomResources(upload s3.CompressAndUploadFunc) (map[string]string, error)

UploadNetworkLoadBalancedWebServiceCustomResources mocks base method.

func (*MockcustomResourcesUploader) UploadRequestDrivenWebServiceCustomResources

func (m *MockcustomResourcesUploader) UploadRequestDrivenWebServiceCustomResources(upload s3.CompressAndUploadFunc) (map[string]string, error)

UploadRequestDrivenWebServiceCustomResources mocks base method.

type MockcustomResourcesUploaderMockRecorder

type MockcustomResourcesUploaderMockRecorder struct {
	// contains filtered or unexported fields
}

MockcustomResourcesUploaderMockRecorder is the mock recorder for MockcustomResourcesUploader.

func (*MockcustomResourcesUploaderMockRecorder) UploadEnvironmentCustomResources

func (mr *MockcustomResourcesUploaderMockRecorder) UploadEnvironmentCustomResources(upload interface{}) *gomock.Call

UploadEnvironmentCustomResources indicates an expected call of UploadEnvironmentCustomResources.

func (*MockcustomResourcesUploaderMockRecorder) UploadNetworkLoadBalancedWebServiceCustomResources

func (mr *MockcustomResourcesUploaderMockRecorder) UploadNetworkLoadBalancedWebServiceCustomResources(upload interface{}) *gomock.Call

UploadNetworkLoadBalancedWebServiceCustomResources indicates an expected call of UploadNetworkLoadBalancedWebServiceCustomResources.

func (*MockcustomResourcesUploaderMockRecorder) UploadRequestDrivenWebServiceCustomResources

func (mr *MockcustomResourcesUploaderMockRecorder) UploadRequestDrivenWebServiceCustomResources(upload interface{}) *gomock.Call

UploadRequestDrivenWebServiceCustomResources indicates an expected call of UploadRequestDrivenWebServiceCustomResources.

type MockendpointGetter

type MockendpointGetter struct {
	// contains filtered or unexported fields
}

MockendpointGetter is a mock of endpointGetter interface.

func NewMockendpointGetter

func NewMockendpointGetter(ctrl *gomock.Controller) *MockendpointGetter

NewMockendpointGetter creates a new mock instance.

func (*MockendpointGetter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockendpointGetter) ServiceDiscoveryEndpoint

func (m *MockendpointGetter) ServiceDiscoveryEndpoint() (string, error)

ServiceDiscoveryEndpoint mocks base method.

type MockendpointGetterMockRecorder

type MockendpointGetterMockRecorder struct {
	// contains filtered or unexported fields
}

MockendpointGetterMockRecorder is the mock recorder for MockendpointGetter.

func (*MockendpointGetterMockRecorder) ServiceDiscoveryEndpoint

func (mr *MockendpointGetterMockRecorder) ServiceDiscoveryEndpoint() *gomock.Call

ServiceDiscoveryEndpoint indicates an expected call of ServiceDiscoveryEndpoint.

type MockfileReader

type MockfileReader struct {
	// contains filtered or unexported fields
}

MockfileReader is a mock of fileReader interface.

func NewMockfileReader

func NewMockfileReader(ctrl *gomock.Controller) *MockfileReader

NewMockfileReader creates a new mock instance.

func (*MockfileReader) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockfileReader) ReadFile

func (m *MockfileReader) ReadFile(arg0 string) ([]byte, error)

ReadFile mocks base method.

type MockfileReaderMockRecorder

type MockfileReaderMockRecorder struct {
	// contains filtered or unexported fields
}

MockfileReaderMockRecorder is the mock recorder for MockfileReader.

func (*MockfileReaderMockRecorder) ReadFile

func (mr *MockfileReaderMockRecorder) ReadFile(arg0 interface{}) *gomock.Call

ReadFile indicates an expected call of ReadFile.

type MockimageBuilderPusher

type MockimageBuilderPusher struct {
	// contains filtered or unexported fields
}

MockimageBuilderPusher is a mock of imageBuilderPusher interface.

func NewMockimageBuilderPusher

func NewMockimageBuilderPusher(ctrl *gomock.Controller) *MockimageBuilderPusher

NewMockimageBuilderPusher creates a new mock instance.

func (*MockimageBuilderPusher) BuildAndPush

BuildAndPush mocks base method.

func (*MockimageBuilderPusher) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockimageBuilderPusherMockRecorder

type MockimageBuilderPusherMockRecorder struct {
	// contains filtered or unexported fields
}

MockimageBuilderPusherMockRecorder is the mock recorder for MockimageBuilderPusher.

func (*MockimageBuilderPusherMockRecorder) BuildAndPush

func (mr *MockimageBuilderPusherMockRecorder) BuildAndPush(docker, args interface{}) *gomock.Call

BuildAndPush indicates an expected call of BuildAndPush.

type MockpublicCIDRBlocksGetter

type MockpublicCIDRBlocksGetter struct {
	// contains filtered or unexported fields
}

MockpublicCIDRBlocksGetter is a mock of publicCIDRBlocksGetter interface.

func NewMockpublicCIDRBlocksGetter

func NewMockpublicCIDRBlocksGetter(ctrl *gomock.Controller) *MockpublicCIDRBlocksGetter

NewMockpublicCIDRBlocksGetter creates a new mock instance.

func (*MockpublicCIDRBlocksGetter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockpublicCIDRBlocksGetter) PublicCIDRBlocks

func (m *MockpublicCIDRBlocksGetter) PublicCIDRBlocks() ([]string, error)

PublicCIDRBlocks mocks base method.

type MockpublicCIDRBlocksGetterMockRecorder

type MockpublicCIDRBlocksGetterMockRecorder struct {
	// contains filtered or unexported fields
}

MockpublicCIDRBlocksGetterMockRecorder is the mock recorder for MockpublicCIDRBlocksGetter.

func (*MockpublicCIDRBlocksGetterMockRecorder) PublicCIDRBlocks

func (mr *MockpublicCIDRBlocksGetterMockRecorder) PublicCIDRBlocks() *gomock.Call

PublicCIDRBlocks indicates an expected call of PublicCIDRBlocks.

type MockserviceDeployer

type MockserviceDeployer struct {
	// contains filtered or unexported fields
}

MockserviceDeployer is a mock of serviceDeployer interface.

func NewMockserviceDeployer

func NewMockserviceDeployer(ctrl *gomock.Controller) *MockserviceDeployer

NewMockserviceDeployer creates a new mock instance.

func (*MockserviceDeployer) DeployService

DeployService mocks base method.

func (*MockserviceDeployer) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

type MockserviceDeployerMockRecorder

type MockserviceDeployerMockRecorder struct {
	// contains filtered or unexported fields
}

MockserviceDeployerMockRecorder is the mock recorder for MockserviceDeployer.

func (*MockserviceDeployerMockRecorder) DeployService

func (mr *MockserviceDeployerMockRecorder) DeployService(out, conf, bucketName interface{}, opts ...interface{}) *gomock.Call

DeployService indicates an expected call of DeployService.

type MockserviceForceUpdater

type MockserviceForceUpdater struct {
	// contains filtered or unexported fields
}

MockserviceForceUpdater is a mock of serviceForceUpdater interface.

func NewMockserviceForceUpdater

func NewMockserviceForceUpdater(ctrl *gomock.Controller) *MockserviceForceUpdater

NewMockserviceForceUpdater creates a new mock instance.

func (*MockserviceForceUpdater) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockserviceForceUpdater) ForceUpdateService

func (m *MockserviceForceUpdater) ForceUpdateService(app, env, svc string) error

ForceUpdateService mocks base method.

func (*MockserviceForceUpdater) LastUpdatedAt

func (m *MockserviceForceUpdater) LastUpdatedAt(app, env, svc string) (time.Time, error)

LastUpdatedAt mocks base method.

type MockserviceForceUpdaterMockRecorder

type MockserviceForceUpdaterMockRecorder struct {
	// contains filtered or unexported fields
}

MockserviceForceUpdaterMockRecorder is the mock recorder for MockserviceForceUpdater.

func (*MockserviceForceUpdaterMockRecorder) ForceUpdateService

func (mr *MockserviceForceUpdaterMockRecorder) ForceUpdateService(app, env, svc interface{}) *gomock.Call

ForceUpdateService indicates an expected call of ForceUpdateService.

func (*MockserviceForceUpdaterMockRecorder) LastUpdatedAt

func (mr *MockserviceForceUpdaterMockRecorder) LastUpdatedAt(app, env, svc interface{}) *gomock.Call

LastUpdatedAt indicates an expected call of LastUpdatedAt.

type MocksnsTopicsLister

type MocksnsTopicsLister struct {
	// contains filtered or unexported fields
}

MocksnsTopicsLister is a mock of snsTopicsLister interface.

func NewMocksnsTopicsLister

func NewMocksnsTopicsLister(ctrl *gomock.Controller) *MocksnsTopicsLister

NewMocksnsTopicsLister creates a new mock instance.

func (*MocksnsTopicsLister) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MocksnsTopicsLister) ListSNSTopics

func (m *MocksnsTopicsLister) ListSNSTopics(appName, envName string) ([]deploy.Topic, error)

ListSNSTopics mocks base method.

type MocksnsTopicsListerMockRecorder

type MocksnsTopicsListerMockRecorder struct {
	// contains filtered or unexported fields
}

MocksnsTopicsListerMockRecorder is the mock recorder for MocksnsTopicsLister.

func (*MocksnsTopicsListerMockRecorder) ListSNSTopics

func (mr *MocksnsTopicsListerMockRecorder) ListSNSTopics(appName, envName interface{}) *gomock.Call

ListSNSTopics indicates an expected call of ListSNSTopics.

type Mockspinner

type Mockspinner struct {
	// contains filtered or unexported fields
}

Mockspinner is a mock of spinner interface.

func NewMockspinner

func NewMockspinner(ctrl *gomock.Controller) *Mockspinner

NewMockspinner creates a new mock instance.

func (*Mockspinner) EXPECT

func (m *Mockspinner) EXPECT() *MockspinnerMockRecorder

EXPECT returns an object that allows the caller to indicate expected use.

func (*Mockspinner) Start

func (m *Mockspinner) Start(label string)

Start mocks base method.

func (*Mockspinner) Stop

func (m *Mockspinner) Stop(label string)

Stop mocks base method.

type MockspinnerMockRecorder

type MockspinnerMockRecorder struct {
	// contains filtered or unexported fields
}

MockspinnerMockRecorder is the mock recorder for Mockspinner.

func (*MockspinnerMockRecorder) Start

func (mr *MockspinnerMockRecorder) Start(label interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockspinnerMockRecorder) Stop

func (mr *MockspinnerMockRecorder) Stop(label interface{}) *gomock.Call

Stop indicates an expected call of Stop.

type MockstackSerializer added in v1.16.0

type MockstackSerializer struct {
	// contains filtered or unexported fields
}

MockstackSerializer is a mock of stackSerializer interface.

func NewMockstackSerializer added in v1.16.0

func NewMockstackSerializer(ctrl *gomock.Controller) *MockstackSerializer

NewMockstackSerializer creates a new mock instance.

func (*MockstackSerializer) EXPECT added in v1.16.0

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockstackSerializer) SerializedParameters added in v1.16.0

func (m *MockstackSerializer) SerializedParameters() (string, error)

SerializedParameters mocks base method.

func (*MockstackSerializer) Template added in v1.16.0

func (m *MockstackSerializer) Template() (string, error)

Template mocks base method.

type MockstackSerializerMockRecorder added in v1.16.0

type MockstackSerializerMockRecorder struct {
	// contains filtered or unexported fields
}

MockstackSerializerMockRecorder is the mock recorder for MockstackSerializer.

func (*MockstackSerializerMockRecorder) SerializedParameters added in v1.16.0

func (mr *MockstackSerializerMockRecorder) SerializedParameters() *gomock.Call

SerializedParameters indicates an expected call of SerializedParameters.

func (*MockstackSerializerMockRecorder) Template added in v1.16.0

Template indicates an expected call of Template.

type Mocktemplater

type Mocktemplater struct {
	// contains filtered or unexported fields
}

Mocktemplater is a mock of templater interface.

func NewMocktemplater

func NewMocktemplater(ctrl *gomock.Controller) *Mocktemplater

NewMocktemplater creates a new mock instance.

func (*Mocktemplater) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*Mocktemplater) Template

func (m *Mocktemplater) Template() (string, error)

Template mocks base method.

type MocktemplaterMockRecorder

type MocktemplaterMockRecorder struct {
	// contains filtered or unexported fields
}

MocktemplaterMockRecorder is the mock recorder for Mocktemplater.

func (*MocktemplaterMockRecorder) Template

func (mr *MocktemplaterMockRecorder) Template() *gomock.Call

Template indicates an expected call of Template.

type MocktimeoutError

type MocktimeoutError struct {
	// contains filtered or unexported fields
}

MocktimeoutError is a mock of timeoutError interface.

func NewMocktimeoutError

func NewMocktimeoutError(ctrl *gomock.Controller) *MocktimeoutError

NewMocktimeoutError creates a new mock instance.

func (*MocktimeoutError) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MocktimeoutError) Error

func (m *MocktimeoutError) Error() string

Error mocks base method.

func (*MocktimeoutError) Timeout

func (m *MocktimeoutError) Timeout() bool

Timeout mocks base method.

type MocktimeoutErrorMockRecorder

type MocktimeoutErrorMockRecorder struct {
	// contains filtered or unexported fields
}

MocktimeoutErrorMockRecorder is the mock recorder for MocktimeoutError.

func (*MocktimeoutErrorMockRecorder) Error

Error indicates an expected call of Error.

func (*MocktimeoutErrorMockRecorder) Timeout

func (mr *MocktimeoutErrorMockRecorder) Timeout() *gomock.Call

Timeout indicates an expected call of Timeout.

type Mockuploader

type Mockuploader struct {
	// contains filtered or unexported fields
}

Mockuploader is a mock of uploader interface.

func NewMockuploader

func NewMockuploader(ctrl *gomock.Controller) *Mockuploader

NewMockuploader creates a new mock instance.

func (*Mockuploader) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*Mockuploader) Upload

func (m *Mockuploader) Upload(bucket, key string, data io.Reader) (string, error)

Upload mocks base method.

func (*Mockuploader) ZipAndUpload

func (m *Mockuploader) ZipAndUpload(bucket, key string, files ...s3.NamedBinary) (string, error)

ZipAndUpload mocks base method.

type MockuploaderMockRecorder

type MockuploaderMockRecorder struct {
	// contains filtered or unexported fields
}

MockuploaderMockRecorder is the mock recorder for Mockuploader.

func (*MockuploaderMockRecorder) Upload

func (mr *MockuploaderMockRecorder) Upload(bucket, key, data interface{}) *gomock.Call

Upload indicates an expected call of Upload.

func (*MockuploaderMockRecorder) ZipAndUpload

func (mr *MockuploaderMockRecorder) ZipAndUpload(bucket, key interface{}, files ...interface{}) *gomock.Call

ZipAndUpload indicates an expected call of ZipAndUpload.

type MockversionGetter

type MockversionGetter struct {
	// contains filtered or unexported fields
}

MockversionGetter is a mock of versionGetter interface.

func NewMockversionGetter

func NewMockversionGetter(ctrl *gomock.Controller) *MockversionGetter

NewMockversionGetter creates a new mock instance.

func (*MockversionGetter) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockversionGetter) Version

func (m *MockversionGetter) Version() (string, error)

Version mocks base method.

type MockversionGetterMockRecorder

type MockversionGetterMockRecorder struct {
	// contains filtered or unexported fields
}

MockversionGetterMockRecorder is the mock recorder for MockversionGetter.

func (*MockversionGetterMockRecorder) Version

func (mr *MockversionGetterMockRecorder) Version() *gomock.Call

Version indicates an expected call of Version.

Jump to

Keyboard shortcuts

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