mocks

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: Apache-2.0 Imports: 4 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 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 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) 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) SelectOne

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

SelectOne indicates an expected call of SelectOne

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