mocks

package
v0.0.0-...-9ec3720 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2021 License: AGPL-3.0 Imports: 13 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.

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 MockAPICaller

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

MockAPICaller is a mock of APICaller interface

func NewMockAPICaller

func NewMockAPICaller(ctrl *gomock.Controller) *MockAPICaller

NewMockAPICaller creates a new mock instance

func (*MockAPICaller) APICall

func (m *MockAPICaller) APICall(arg0 string, arg1 int, arg2, arg3 string, arg4, arg5 interface{}) error

APICall mocks base method

func (*MockAPICaller) BakeryClient

func (m *MockAPICaller) BakeryClient() base.MacaroonDischarger

BakeryClient mocks base method

func (*MockAPICaller) BestFacadeVersion

func (m *MockAPICaller) BestFacadeVersion(arg0 string) int

BestFacadeVersion mocks base method

func (*MockAPICaller) ConnectControllerStream

func (m *MockAPICaller) ConnectControllerStream(arg0 string, arg1 url.Values, arg2 http.Header) (base.Stream, error)

ConnectControllerStream mocks base method

func (*MockAPICaller) ConnectStream

func (m *MockAPICaller) ConnectStream(arg0 string, arg1 url.Values) (base.Stream, error)

ConnectStream mocks base method

func (*MockAPICaller) Context

func (m *MockAPICaller) Context() context.Context

Context mocks base method

func (*MockAPICaller) EXPECT

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

func (*MockAPICaller) HTTPClient

func (m *MockAPICaller) HTTPClient() (*httprequest.Client, error)

HTTPClient mocks base method

func (*MockAPICaller) ModelTag

func (m *MockAPICaller) ModelTag() (names.ModelTag, bool)

ModelTag mocks base method

type MockAPICallerMockRecorder

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

MockAPICallerMockRecorder is the mock recorder for MockAPICaller

func (*MockAPICallerMockRecorder) APICall

func (mr *MockAPICallerMockRecorder) APICall(arg0, arg1, arg2, arg3, arg4, arg5 interface{}) *gomock.Call

APICall indicates an expected call of APICall

func (*MockAPICallerMockRecorder) BakeryClient

func (mr *MockAPICallerMockRecorder) BakeryClient() *gomock.Call

BakeryClient indicates an expected call of BakeryClient

func (*MockAPICallerMockRecorder) BestFacadeVersion

func (mr *MockAPICallerMockRecorder) BestFacadeVersion(arg0 interface{}) *gomock.Call

BestFacadeVersion indicates an expected call of BestFacadeVersion

func (*MockAPICallerMockRecorder) ConnectControllerStream

func (mr *MockAPICallerMockRecorder) ConnectControllerStream(arg0, arg1, arg2 interface{}) *gomock.Call

ConnectControllerStream indicates an expected call of ConnectControllerStream

func (*MockAPICallerMockRecorder) ConnectStream

func (mr *MockAPICallerMockRecorder) ConnectStream(arg0, arg1 interface{}) *gomock.Call

ConnectStream indicates an expected call of ConnectStream

func (*MockAPICallerMockRecorder) Context

func (mr *MockAPICallerMockRecorder) Context() *gomock.Call

Context indicates an expected call of Context

func (*MockAPICallerMockRecorder) HTTPClient

func (mr *MockAPICallerMockRecorder) HTTPClient() *gomock.Call

HTTPClient indicates an expected call of HTTPClient

func (*MockAPICallerMockRecorder) ModelTag

func (mr *MockAPICallerMockRecorder) ModelTag() *gomock.Call

ModelTag indicates an expected call of ModelTag

type MockCAASBroker

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

MockCAASBroker is a mock of CAASBroker interface

func NewMockCAASBroker

func NewMockCAASBroker(ctrl *gomock.Controller) *MockCAASBroker

NewMockCAASBroker creates a new mock instance

func (*MockCAASBroker) Application

func (m *MockCAASBroker) Application(arg0 string, arg1 caas.DeploymentType) caas.Application

Application mocks base method

func (*MockCAASBroker) EXPECT

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

type MockCAASBrokerMockRecorder

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

MockCAASBrokerMockRecorder is the mock recorder for MockCAASBroker

func (*MockCAASBrokerMockRecorder) Application

func (mr *MockCAASBrokerMockRecorder) Application(arg0, arg1 interface{}) *gomock.Call

Application indicates an expected call of Application

type MockCAASFirewallerAPI

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

MockCAASFirewallerAPI is a mock of CAASFirewallerAPI interface

func NewMockCAASFirewallerAPI

func NewMockCAASFirewallerAPI(ctrl *gomock.Controller) *MockCAASFirewallerAPI

NewMockCAASFirewallerAPI creates a new mock instance

func (*MockCAASFirewallerAPI) ApplicationCharmInfo

func (m *MockCAASFirewallerAPI) ApplicationCharmInfo(arg0 string) (*charms.CharmInfo, error)

ApplicationCharmInfo mocks base method

func (*MockCAASFirewallerAPI) ApplicationConfig

func (m *MockCAASFirewallerAPI) ApplicationConfig(arg0 string) (application.ConfigAttributes, error)

ApplicationConfig mocks base method

func (*MockCAASFirewallerAPI) EXPECT

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

func (*MockCAASFirewallerAPI) IsExposed

func (m *MockCAASFirewallerAPI) IsExposed(arg0 string) (bool, error)

IsExposed mocks base method

func (*MockCAASFirewallerAPI) WatchApplication

func (m *MockCAASFirewallerAPI) WatchApplication(arg0 string) (watcher.NotifyWatcher, error)

WatchApplication mocks base method

func (*MockCAASFirewallerAPI) WatchApplications

func (m *MockCAASFirewallerAPI) WatchApplications() (watcher.StringsWatcher, error)

WatchApplications mocks base method

func (*MockCAASFirewallerAPI) WatchOpenedPorts

func (m *MockCAASFirewallerAPI) WatchOpenedPorts() (watcher.StringsWatcher, error)

WatchOpenedPorts mocks base method

type MockCAASFirewallerAPIMockRecorder

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

MockCAASFirewallerAPIMockRecorder is the mock recorder for MockCAASFirewallerAPI

func (*MockCAASFirewallerAPIMockRecorder) ApplicationCharmInfo

func (mr *MockCAASFirewallerAPIMockRecorder) ApplicationCharmInfo(arg0 interface{}) *gomock.Call

ApplicationCharmInfo indicates an expected call of ApplicationCharmInfo

func (*MockCAASFirewallerAPIMockRecorder) ApplicationConfig

func (mr *MockCAASFirewallerAPIMockRecorder) ApplicationConfig(arg0 interface{}) *gomock.Call

ApplicationConfig indicates an expected call of ApplicationConfig

func (*MockCAASFirewallerAPIMockRecorder) IsExposed

func (mr *MockCAASFirewallerAPIMockRecorder) IsExposed(arg0 interface{}) *gomock.Call

IsExposed indicates an expected call of IsExposed

func (*MockCAASFirewallerAPIMockRecorder) WatchApplication

func (mr *MockCAASFirewallerAPIMockRecorder) WatchApplication(arg0 interface{}) *gomock.Call

WatchApplication indicates an expected call of WatchApplication

func (*MockCAASFirewallerAPIMockRecorder) WatchApplications

func (mr *MockCAASFirewallerAPIMockRecorder) WatchApplications() *gomock.Call

WatchApplications indicates an expected call of WatchApplications

func (*MockCAASFirewallerAPIMockRecorder) WatchOpenedPorts

func (mr *MockCAASFirewallerAPIMockRecorder) WatchOpenedPorts() *gomock.Call

WatchOpenedPorts indicates an expected call of WatchOpenedPorts

type MockClient

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

MockClient is a mock of Client interface

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance

func (*MockClient) ApplicationCharmInfo

func (m *MockClient) ApplicationCharmInfo(arg0 string) (*charms.CharmInfo, error)

ApplicationCharmInfo mocks base method

func (*MockClient) ApplicationConfig

func (m *MockClient) ApplicationConfig(arg0 string) (application.ConfigAttributes, error)

ApplicationConfig mocks base method

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) IsExposed

func (m *MockClient) IsExposed(arg0 string) (bool, error)

IsExposed mocks base method

func (*MockClient) Life

func (m *MockClient) Life(arg0 string) (life.Value, error)

Life mocks base method

func (*MockClient) WatchApplication

func (m *MockClient) WatchApplication(arg0 string) (watcher.NotifyWatcher, error)

WatchApplication mocks base method

func (*MockClient) WatchApplications

func (m *MockClient) WatchApplications() (watcher.StringsWatcher, error)

WatchApplications mocks base method

func (*MockClient) WatchOpenedPorts

func (m *MockClient) WatchOpenedPorts() (watcher.StringsWatcher, error)

WatchOpenedPorts mocks base method

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient

func (*MockClientMockRecorder) ApplicationCharmInfo

func (mr *MockClientMockRecorder) ApplicationCharmInfo(arg0 interface{}) *gomock.Call

ApplicationCharmInfo indicates an expected call of ApplicationCharmInfo

func (*MockClientMockRecorder) ApplicationConfig

func (mr *MockClientMockRecorder) ApplicationConfig(arg0 interface{}) *gomock.Call

ApplicationConfig indicates an expected call of ApplicationConfig

func (*MockClientMockRecorder) IsExposed

func (mr *MockClientMockRecorder) IsExposed(arg0 interface{}) *gomock.Call

IsExposed indicates an expected call of IsExposed

func (*MockClientMockRecorder) Life

func (mr *MockClientMockRecorder) Life(arg0 interface{}) *gomock.Call

Life indicates an expected call of Life

func (*MockClientMockRecorder) WatchApplication

func (mr *MockClientMockRecorder) WatchApplication(arg0 interface{}) *gomock.Call

WatchApplication indicates an expected call of WatchApplication

func (*MockClientMockRecorder) WatchApplications

func (mr *MockClientMockRecorder) WatchApplications() *gomock.Call

WatchApplications indicates an expected call of WatchApplications

func (*MockClientMockRecorder) WatchOpenedPorts

func (mr *MockClientMockRecorder) WatchOpenedPorts() *gomock.Call

WatchOpenedPorts indicates an expected call of WatchOpenedPorts

type MockLifeGetter

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

MockLifeGetter is a mock of LifeGetter interface

func NewMockLifeGetter

func NewMockLifeGetter(ctrl *gomock.Controller) *MockLifeGetter

NewMockLifeGetter creates a new mock instance

func (*MockLifeGetter) EXPECT

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

func (*MockLifeGetter) Life

func (m *MockLifeGetter) Life(arg0 string) (life.Value, error)

Life mocks base method

type MockLifeGetterMockRecorder

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

MockLifeGetterMockRecorder is the mock recorder for MockLifeGetter

func (*MockLifeGetterMockRecorder) Life

func (mr *MockLifeGetterMockRecorder) Life(arg0 interface{}) *gomock.Call

Life indicates an expected call of Life

type MockLogger

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

MockLogger is a mock of Logger interface

func NewMockLogger

func NewMockLogger(ctrl *gomock.Controller) *MockLogger

NewMockLogger creates a new mock instance

func (*MockLogger) Debugf

func (m *MockLogger) Debugf(arg0 string, arg1 ...interface{})

Debugf mocks base method

func (*MockLogger) EXPECT

func (m *MockLogger) EXPECT() *MockLoggerMockRecorder

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

func (*MockLogger) Errorf

func (m *MockLogger) Errorf(arg0 string, arg1 ...interface{})

Errorf mocks base method

func (*MockLogger) Warningf

func (m *MockLogger) Warningf(arg0 string, arg1 ...interface{})

Warningf mocks base method

type MockLoggerMockRecorder

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

MockLoggerMockRecorder is the mock recorder for MockLogger

func (*MockLoggerMockRecorder) Debugf

func (mr *MockLoggerMockRecorder) Debugf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Debugf indicates an expected call of Debugf

func (*MockLoggerMockRecorder) Errorf

func (mr *MockLoggerMockRecorder) Errorf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Errorf indicates an expected call of Errorf

func (*MockLoggerMockRecorder) Warningf

func (mr *MockLoggerMockRecorder) Warningf(arg0 interface{}, arg1 ...interface{}) *gomock.Call

Warningf indicates an expected call of Warningf

type MockPortMutator

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

MockPortMutator is a mock of PortMutator interface

func NewMockPortMutator

func NewMockPortMutator(ctrl *gomock.Controller) *MockPortMutator

NewMockPortMutator creates a new mock instance

func (*MockPortMutator) EXPECT

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

func (*MockPortMutator) UpdatePorts

func (m *MockPortMutator) UpdatePorts(arg0 []caas.ServicePort, arg1 bool) error

UpdatePorts mocks base method

type MockPortMutatorMockRecorder

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

MockPortMutatorMockRecorder is the mock recorder for MockPortMutator

func (*MockPortMutatorMockRecorder) UpdatePorts

func (mr *MockPortMutatorMockRecorder) UpdatePorts(arg0, arg1 interface{}) *gomock.Call

UpdatePorts indicates an expected call of UpdatePorts

type MockServiceUpdater

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

MockServiceUpdater is a mock of ServiceUpdater interface

func NewMockServiceUpdater

func NewMockServiceUpdater(ctrl *gomock.Controller) *MockServiceUpdater

NewMockServiceUpdater creates a new mock instance

func (*MockServiceUpdater) EXPECT

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

func (*MockServiceUpdater) UpdateService

func (m *MockServiceUpdater) UpdateService(arg0 caas.ServiceParam) error

UpdateService mocks base method

type MockServiceUpdaterMockRecorder

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

MockServiceUpdaterMockRecorder is the mock recorder for MockServiceUpdater

func (*MockServiceUpdaterMockRecorder) UpdateService

func (mr *MockServiceUpdaterMockRecorder) UpdateService(arg0 interface{}) *gomock.Call

UpdateService indicates an expected call of UpdateService

type MockWorker

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

MockWorker is a mock of Worker interface

func NewMockWorker

func NewMockWorker(ctrl *gomock.Controller) *MockWorker

NewMockWorker creates a new mock instance

func (*MockWorker) EXPECT

func (m *MockWorker) EXPECT() *MockWorkerMockRecorder

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

func (*MockWorker) Kill

func (m *MockWorker) Kill()

Kill mocks base method

func (*MockWorker) Wait

func (m *MockWorker) Wait() error

Wait mocks base method

type MockWorkerMockRecorder

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

MockWorkerMockRecorder is the mock recorder for MockWorker

func (*MockWorkerMockRecorder) Kill

func (mr *MockWorkerMockRecorder) Kill() *gomock.Call

Kill indicates an expected call of Kill

func (*MockWorkerMockRecorder) Wait

func (mr *MockWorkerMockRecorder) Wait() *gomock.Call

Wait indicates an expected call of Wait

Jump to

Keyboard shortcuts

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