mocks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mocks is a generated GoMock package.

Package mocks is a generated GoMock package.

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 MockAppEnvLister

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

MockAppEnvLister is a mock of AppEnvLister interface

func NewMockAppEnvLister

func NewMockAppEnvLister(ctrl *gomock.Controller) *MockAppEnvLister

NewMockAppEnvLister creates a new mock instance

func (*MockAppEnvLister) EXPECT

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

func (*MockAppEnvLister) ListApplications

func (m *MockAppEnvLister) ListApplications() ([]*config.Application, error)

ListApplications mocks base method

func (*MockAppEnvLister) ListEnvironments

func (m *MockAppEnvLister) ListEnvironments(appName string) ([]*config.Environment, error)

ListEnvironments mocks base method

type MockAppEnvListerMockRecorder

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

MockAppEnvListerMockRecorder is the mock recorder for MockAppEnvLister

func (*MockAppEnvListerMockRecorder) ListApplications

func (mr *MockAppEnvListerMockRecorder) ListApplications() *gomock.Call

ListApplications indicates an expected call of ListApplications

func (*MockAppEnvListerMockRecorder) ListEnvironments

func (mr *MockAppEnvListerMockRecorder) ListEnvironments(appName interface{}) *gomock.Call

ListEnvironments indicates an expected call of ListEnvironments

type MockConfigLister

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

MockConfigLister is a mock of ConfigLister interface

func NewMockConfigLister

func NewMockConfigLister(ctrl *gomock.Controller) *MockConfigLister

NewMockConfigLister creates a new mock instance

func (*MockConfigLister) EXPECT

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

func (*MockConfigLister) ListApplications

func (m *MockConfigLister) ListApplications() ([]*config.Application, error)

ListApplications mocks base method

func (*MockConfigLister) ListEnvironments

func (m *MockConfigLister) ListEnvironments(appName string) ([]*config.Environment, error)

ListEnvironments mocks base method

func (*MockConfigLister) ListServices

func (m *MockConfigLister) ListServices(appName string) ([]*config.Service, error)

ListServices mocks base method

type MockConfigListerMockRecorder

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

MockConfigListerMockRecorder is the mock recorder for MockConfigLister

func (*MockConfigListerMockRecorder) ListApplications

func (mr *MockConfigListerMockRecorder) ListApplications() *gomock.Call

ListApplications indicates an expected call of ListApplications

func (*MockConfigListerMockRecorder) ListEnvironments

func (mr *MockConfigListerMockRecorder) ListEnvironments(appName interface{}) *gomock.Call

ListEnvironments indicates an expected call of ListEnvironments

func (*MockConfigListerMockRecorder) ListServices

func (mr *MockConfigListerMockRecorder) ListServices(appName interface{}) *gomock.Call

ListServices indicates an expected call of ListServices

type MockConfigSvcLister

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

MockConfigSvcLister is a mock of ConfigSvcLister interface

func NewMockConfigSvcLister

func NewMockConfigSvcLister(ctrl *gomock.Controller) *MockConfigSvcLister

NewMockConfigSvcLister creates a new mock instance

func (*MockConfigSvcLister) EXPECT

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

func (*MockConfigSvcLister) ListServices

func (m *MockConfigSvcLister) ListServices(appName string) ([]*config.Service, error)

ListServices mocks base method

type MockConfigSvcListerMockRecorder

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

MockConfigSvcListerMockRecorder is the mock recorder for MockConfigSvcLister

func (*MockConfigSvcListerMockRecorder) ListServices

func (mr *MockConfigSvcListerMockRecorder) ListServices(appName interface{}) *gomock.Call

ListServices indicates an expected call of ListServices

type MockDeployStoreClient

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

MockDeployStoreClient is a mock of DeployStoreClient interface

func NewMockDeployStoreClient

func NewMockDeployStoreClient(ctrl *gomock.Controller) *MockDeployStoreClient

NewMockDeployStoreClient creates a new mock instance

func (*MockDeployStoreClient) EXPECT

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

func (*MockDeployStoreClient) IsServiceDeployed

func (m *MockDeployStoreClient) IsServiceDeployed(appName, envName, svcName string) (bool, error)

IsServiceDeployed mocks base method

func (*MockDeployStoreClient) ListDeployedServices

func (m *MockDeployStoreClient) ListDeployedServices(appName, envName string) ([]string, error)

ListDeployedServices mocks base method

type MockDeployStoreClientMockRecorder

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

MockDeployStoreClientMockRecorder is the mock recorder for MockDeployStoreClient

func (*MockDeployStoreClientMockRecorder) IsServiceDeployed

func (mr *MockDeployStoreClientMockRecorder) IsServiceDeployed(appName, envName, svcName interface{}) *gomock.Call

IsServiceDeployed indicates an expected call of IsServiceDeployed

func (*MockDeployStoreClientMockRecorder) ListDeployedServices

func (mr *MockDeployStoreClientMockRecorder) ListDeployedServices(appName, envName interface{}) *gomock.Call

ListDeployedServices indicates an expected call of ListDeployedServices

type MockNames added in v0.3.0

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

MockNames is a mock of Names interface

func NewMockNames added in v0.3.0

func NewMockNames(ctrl *gomock.Controller) *MockNames

NewMockNames creates a new mock instance

func (*MockNames) EXPECT added in v0.3.0

func (m *MockNames) EXPECT() *MockNamesMockRecorder

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

func (*MockNames) Names added in v0.3.0

func (m *MockNames) Names() []string

Names mocks base method

type MockNamesMockRecorder added in v0.3.0

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

MockNamesMockRecorder is the mock recorder for MockNames

func (*MockNamesMockRecorder) Names added in v0.3.0

func (mr *MockNamesMockRecorder) Names() *gomock.Call

Names indicates an expected call of Names

type MockPrompter

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

MockPrompter is a mock of Prompter interface

func NewMockPrompter

func NewMockPrompter(ctrl *gomock.Controller) *MockPrompter

NewMockPrompter creates a new mock instance

func (*MockPrompter) EXPECT

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

func (*MockPrompter) Get added in v0.3.0

func (m *MockPrompter) Get(message, help string, validator prompt.ValidatorFunc, promptOpts ...prompt.Option) (string, error)

Get mocks base method

func (*MockPrompter) MultiSelect added in v0.3.0

func (m *MockPrompter) MultiSelect(message, help string, options []string, promptOpts ...prompt.Option) ([]string, error)

MultiSelect mocks base method

func (*MockPrompter) SelectOne

func (m *MockPrompter) SelectOne(message, help string, options []string, promptOpts ...prompt.Option) (string, error)

SelectOne mocks base method

type MockPrompterMockRecorder

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

MockPrompterMockRecorder is the mock recorder for MockPrompter

func (*MockPrompterMockRecorder) Get added in v0.3.0

func (mr *MockPrompterMockRecorder) Get(message, help, validator interface{}, promptOpts ...interface{}) *gomock.Call

Get indicates an expected call of Get

func (*MockPrompterMockRecorder) MultiSelect added in v0.3.0

func (mr *MockPrompterMockRecorder) MultiSelect(message, help, options interface{}, promptOpts ...interface{}) *gomock.Call

MultiSelect indicates an expected call of MultiSelect

func (*MockPrompterMockRecorder) SelectOne

func (mr *MockPrompterMockRecorder) SelectOne(message, help, options interface{}, promptOpts ...interface{}) *gomock.Call

SelectOne indicates an expected call of SelectOne

type MockSessionProvider added in v0.3.0

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

MockSessionProvider is a mock of SessionProvider interface

func NewMockSessionProvider added in v0.3.0

func NewMockSessionProvider(ctrl *gomock.Controller) *MockSessionProvider

NewMockSessionProvider creates a new mock instance

func (*MockSessionProvider) Default added in v0.3.0

func (m *MockSessionProvider) Default() (*session.Session, error)

Default mocks base method

func (*MockSessionProvider) EXPECT added in v0.3.0

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

func (*MockSessionProvider) FromProfile added in v0.3.0

func (m *MockSessionProvider) FromProfile(name string) (*session.Session, error)

FromProfile mocks base method

func (*MockSessionProvider) FromStaticCreds added in v0.3.0

func (m *MockSessionProvider) FromStaticCreds(accessKeyID, secretAccessKey, sessionToken string) (*session.Session, error)

FromStaticCreds mocks base method

type MockSessionProviderMockRecorder added in v0.3.0

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

MockSessionProviderMockRecorder is the mock recorder for MockSessionProvider

func (*MockSessionProviderMockRecorder) Default added in v0.3.0

Default indicates an expected call of Default

func (*MockSessionProviderMockRecorder) FromProfile added in v0.3.0

func (mr *MockSessionProviderMockRecorder) FromProfile(name interface{}) *gomock.Call

FromProfile indicates an expected call of FromProfile

func (*MockSessionProviderMockRecorder) FromStaticCreds added in v0.3.0

func (mr *MockSessionProviderMockRecorder) FromStaticCreds(accessKeyID, secretAccessKey, sessionToken interface{}) *gomock.Call

FromStaticCreds indicates an expected call of FromStaticCreds

type MockVPCSubnetLister added in v0.3.0

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

MockVPCSubnetLister is a mock of VPCSubnetLister interface

func NewMockVPCSubnetLister added in v0.3.0

func NewMockVPCSubnetLister(ctrl *gomock.Controller) *MockVPCSubnetLister

NewMockVPCSubnetLister creates a new mock instance

func (*MockVPCSubnetLister) EXPECT added in v0.3.0

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

func (*MockVPCSubnetLister) ListVPCSubnets added in v0.3.0

func (m *MockVPCSubnetLister) ListVPCSubnets(vpcID string, opts ...ec2.ListVPCSubnetsOpts) ([]string, error)

ListVPCSubnets mocks base method

func (*MockVPCSubnetLister) ListVPCs added in v0.4.0

func (m *MockVPCSubnetLister) ListVPCs() ([]ec2.VPC, error)

ListVPCs mocks base method

type MockVPCSubnetListerMockRecorder added in v0.3.0

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

MockVPCSubnetListerMockRecorder is the mock recorder for MockVPCSubnetLister

func (*MockVPCSubnetListerMockRecorder) ListVPCSubnets added in v0.3.0

func (mr *MockVPCSubnetListerMockRecorder) ListVPCSubnets(vpcID interface{}, opts ...interface{}) *gomock.Call

ListVPCSubnets indicates an expected call of ListVPCSubnets

func (*MockVPCSubnetListerMockRecorder) ListVPCs added in v0.4.0

ListVPCs indicates an expected call of ListVPCs

type MockWsSvcLister

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

MockWsSvcLister is a mock of WsSvcLister interface

func NewMockWsSvcLister

func NewMockWsSvcLister(ctrl *gomock.Controller) *MockWsSvcLister

NewMockWsSvcLister creates a new mock instance

func (*MockWsSvcLister) EXPECT

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

func (*MockWsSvcLister) ServiceNames

func (m *MockWsSvcLister) ServiceNames() ([]string, error)

ServiceNames mocks base method

type MockWsSvcListerMockRecorder

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

MockWsSvcListerMockRecorder is the mock recorder for MockWsSvcLister

func (*MockWsSvcListerMockRecorder) ServiceNames

func (mr *MockWsSvcListerMockRecorder) ServiceNames() *gomock.Call

ServiceNames indicates an expected call of ServiceNames

Jump to

Keyboard shortcuts

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