mocks

package
v0.0.0-...-b9bb202 Latest Latest
Warning

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

Go to latest
Published: Dec 20, 2024 License: AGPL-3.0 Imports: 7 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 MockApplicationService

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

MockApplicationService is a mock of ApplicationService interface.

func NewMockApplicationService

func NewMockApplicationService(ctrl *gomock.Controller) *MockApplicationService

NewMockApplicationService creates a new mock instance.

func (*MockApplicationService) EXPECT

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

func (*MockApplicationService) EnsureUnitDead

func (m *MockApplicationService) EnsureUnitDead(arg0 context.Context, arg1 unit.Name, arg2 leadership.Revoker) error

EnsureUnitDead mocks base method.

func (*MockApplicationService) GetUnitLife

func (m *MockApplicationService) GetUnitLife(arg0 context.Context, arg1 unit.Name) (life.Value, error)

GetUnitLife mocks base method.

func (*MockApplicationService) RemoveUnit

func (m *MockApplicationService) RemoveUnit(arg0 context.Context, arg1 unit.Name, arg2 leadership.Revoker) error

RemoveUnit mocks base method.

type MockApplicationServiceEnsureUnitDeadCall

type MockApplicationServiceEnsureUnitDeadCall struct {
	*gomock.Call
}

MockApplicationServiceEnsureUnitDeadCall wrap *gomock.Call

func (*MockApplicationServiceEnsureUnitDeadCall) Do

Do rewrite *gomock.Call.Do

func (*MockApplicationServiceEnsureUnitDeadCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationServiceEnsureUnitDeadCall) Return

Return rewrite *gomock.Call.Return

type MockApplicationServiceGetUnitLifeCall

type MockApplicationServiceGetUnitLifeCall struct {
	*gomock.Call
}

MockApplicationServiceGetUnitLifeCall wrap *gomock.Call

func (*MockApplicationServiceGetUnitLifeCall) Do

Do rewrite *gomock.Call.Do

func (*MockApplicationServiceGetUnitLifeCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationServiceGetUnitLifeCall) Return

Return rewrite *gomock.Call.Return

type MockApplicationServiceMockRecorder

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

MockApplicationServiceMockRecorder is the mock recorder for MockApplicationService.

func (*MockApplicationServiceMockRecorder) EnsureUnitDead

EnsureUnitDead indicates an expected call of EnsureUnitDead.

func (*MockApplicationServiceMockRecorder) GetUnitLife

GetUnitLife indicates an expected call of GetUnitLife.

func (*MockApplicationServiceMockRecorder) RemoveUnit

RemoveUnit indicates an expected call of RemoveUnit.

type MockApplicationServiceRemoveUnitCall

type MockApplicationServiceRemoveUnitCall struct {
	*gomock.Call
}

MockApplicationServiceRemoveUnitCall wrap *gomock.Call

func (*MockApplicationServiceRemoveUnitCall) Do

Do rewrite *gomock.Call.Do

func (*MockApplicationServiceRemoveUnitCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockApplicationServiceRemoveUnitCall) Return

Return rewrite *gomock.Call.Return

type MockControllerConfigGetter

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

MockControllerConfigGetter is a mock of ControllerConfigGetter interface.

func NewMockControllerConfigGetter

func NewMockControllerConfigGetter(ctrl *gomock.Controller) *MockControllerConfigGetter

NewMockControllerConfigGetter creates a new mock instance.

func (*MockControllerConfigGetter) ControllerConfig

func (m *MockControllerConfigGetter) ControllerConfig(arg0 context.Context) (controller.Config, error)

ControllerConfig mocks base method.

func (*MockControllerConfigGetter) EXPECT

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

type MockControllerConfigGetterControllerConfigCall

type MockControllerConfigGetterControllerConfigCall struct {
	*gomock.Call
}

MockControllerConfigGetterControllerConfigCall wrap *gomock.Call

func (*MockControllerConfigGetterControllerConfigCall) Do

Do rewrite *gomock.Call.Do

func (*MockControllerConfigGetterControllerConfigCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockControllerConfigGetterControllerConfigCall) Return

Return rewrite *gomock.Call.Return

type MockControllerConfigGetterMockRecorder

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

MockControllerConfigGetterMockRecorder is the mock recorder for MockControllerConfigGetter.

func (*MockControllerConfigGetterMockRecorder) ControllerConfig

ControllerConfig indicates an expected call of ControllerConfig.

Jump to

Keyboard shortcuts

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