mocks

package
v0.0.0-...-b0bff92 Latest Latest
Warning

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

Go to latest
Published: Dec 7, 2021 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 MockHookUnit

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

MockHookUnit is a mock of HookUnit interface.

func NewMockHookUnit

func NewMockHookUnit(ctrl *gomock.Controller) *MockHookUnit

NewMockHookUnit creates a new mock instance.

func (*MockHookUnit) Application

func (m *MockHookUnit) Application() (*uniter.Application, error)

Application mocks base method.

func (*MockHookUnit) ApplicationName

func (m *MockHookUnit) ApplicationName() string

ApplicationName mocks base method.

func (*MockHookUnit) CommitHookChanges

func (m *MockHookUnit) CommitHookChanges(arg0 params.CommitHookChangesArgs) error

CommitHookChanges mocks base method.

func (*MockHookUnit) ConfigSettings

func (m *MockHookUnit) ConfigSettings() (charm.Settings, error)

ConfigSettings mocks base method.

func (*MockHookUnit) EXPECT

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

func (*MockHookUnit) LogActionMessage

func (m *MockHookUnit) LogActionMessage(arg0 names.ActionTag, arg1 string) error

LogActionMessage mocks base method.

func (*MockHookUnit) Name

func (m *MockHookUnit) Name() string

Name mocks base method.

func (*MockHookUnit) NetworkInfo

func (m *MockHookUnit) NetworkInfo(arg0 []string, arg1 *int) (map[string]params.NetworkInfoResult, error)

NetworkInfo mocks base method.

func (*MockHookUnit) RequestReboot

func (m *MockHookUnit) RequestReboot() error

RequestReboot mocks base method.

func (*MockHookUnit) SetAgentStatus

func (m *MockHookUnit) SetAgentStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error

SetAgentStatus mocks base method.

func (*MockHookUnit) SetUnitStatus

func (m *MockHookUnit) SetUnitStatus(arg0 status.Status, arg1 string, arg2 map[string]interface{}) error

SetUnitStatus mocks base method.

func (*MockHookUnit) State

func (m *MockHookUnit) State() (params.UnitStateResult, error)

State mocks base method.

func (*MockHookUnit) Tag

func (m *MockHookUnit) Tag() names.UnitTag

Tag mocks base method.

func (*MockHookUnit) UnitStatus

func (m *MockHookUnit) UnitStatus() (params.StatusResult, error)

UnitStatus mocks base method.

func (*MockHookUnit) UpdateNetworkInfo

func (m *MockHookUnit) UpdateNetworkInfo() error

UpdateNetworkInfo mocks base method.

type MockHookUnitMockRecorder

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

MockHookUnitMockRecorder is the mock recorder for MockHookUnit.

func (*MockHookUnitMockRecorder) Application

func (mr *MockHookUnitMockRecorder) Application() *gomock.Call

Application indicates an expected call of Application.

func (*MockHookUnitMockRecorder) ApplicationName

func (mr *MockHookUnitMockRecorder) ApplicationName() *gomock.Call

ApplicationName indicates an expected call of ApplicationName.

func (*MockHookUnitMockRecorder) CommitHookChanges

func (mr *MockHookUnitMockRecorder) CommitHookChanges(arg0 interface{}) *gomock.Call

CommitHookChanges indicates an expected call of CommitHookChanges.

func (*MockHookUnitMockRecorder) ConfigSettings

func (mr *MockHookUnitMockRecorder) ConfigSettings() *gomock.Call

ConfigSettings indicates an expected call of ConfigSettings.

func (*MockHookUnitMockRecorder) LogActionMessage

func (mr *MockHookUnitMockRecorder) LogActionMessage(arg0, arg1 interface{}) *gomock.Call

LogActionMessage indicates an expected call of LogActionMessage.

func (*MockHookUnitMockRecorder) Name

func (mr *MockHookUnitMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockHookUnitMockRecorder) NetworkInfo

func (mr *MockHookUnitMockRecorder) NetworkInfo(arg0, arg1 interface{}) *gomock.Call

NetworkInfo indicates an expected call of NetworkInfo.

func (*MockHookUnitMockRecorder) RequestReboot

func (mr *MockHookUnitMockRecorder) RequestReboot() *gomock.Call

RequestReboot indicates an expected call of RequestReboot.

func (*MockHookUnitMockRecorder) SetAgentStatus

func (mr *MockHookUnitMockRecorder) SetAgentStatus(arg0, arg1, arg2 interface{}) *gomock.Call

SetAgentStatus indicates an expected call of SetAgentStatus.

func (*MockHookUnitMockRecorder) SetUnitStatus

func (mr *MockHookUnitMockRecorder) SetUnitStatus(arg0, arg1, arg2 interface{}) *gomock.Call

SetUnitStatus indicates an expected call of SetUnitStatus.

func (*MockHookUnitMockRecorder) State

func (mr *MockHookUnitMockRecorder) State() *gomock.Call

State indicates an expected call of State.

func (*MockHookUnitMockRecorder) Tag

Tag indicates an expected call of Tag.

func (*MockHookUnitMockRecorder) UnitStatus

func (mr *MockHookUnitMockRecorder) UnitStatus() *gomock.Call

UnitStatus indicates an expected call of UnitStatus.

func (*MockHookUnitMockRecorder) UpdateNetworkInfo

func (mr *MockHookUnitMockRecorder) UpdateNetworkInfo() *gomock.Call

UpdateNetworkInfo indicates an expected call of UpdateNetworkInfo.

Jump to

Keyboard shortcuts

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