juju: github.com/juju/juju/worker/uniter/runner/context/mocks Index | Files

package mocks

import "github.com/juju/juju/worker/uniter/runner/context/mocks"

Package mocks is a generated GoMock package.

Index

Package Files

hookunit_mock.go

type MockHookUnit Uses

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

MockHookUnit is a mock of HookUnit interface

func NewMockHookUnit Uses

func NewMockHookUnit(ctrl *gomock.Controller) *MockHookUnit

NewMockHookUnit creates a new mock instance

func (*MockHookUnit) Application Uses

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

Application mocks base method

func (*MockHookUnit) ApplicationName Uses

func (m *MockHookUnit) ApplicationName() string

ApplicationName mocks base method

func (*MockHookUnit) ClosePorts Uses

func (m *MockHookUnit) ClosePorts(arg0 string, arg1, arg2 int) error

ClosePorts mocks base method

func (*MockHookUnit) CommitHookChanges Uses

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

CommitHookChanges mocks base method

func (*MockHookUnit) ConfigSettings Uses

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

ConfigSettings mocks base method

func (*MockHookUnit) EXPECT Uses

func (m *MockHookUnit) EXPECT() *MockHookUnitMockRecorder

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

func (*MockHookUnit) LogActionMessage Uses

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

LogActionMessage mocks base method

func (*MockHookUnit) Name Uses

func (m *MockHookUnit) Name() string

Name mocks base method

func (*MockHookUnit) NetworkInfo Uses

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

NetworkInfo mocks base method

func (*MockHookUnit) OpenPorts Uses

func (m *MockHookUnit) OpenPorts(arg0 string, arg1, arg2 int) error

OpenPorts mocks base method

func (*MockHookUnit) RequestReboot Uses

func (m *MockHookUnit) RequestReboot() error

RequestReboot mocks base method

func (*MockHookUnit) SetAgentStatus Uses

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

SetAgentStatus mocks base method

func (*MockHookUnit) SetUnitStatus Uses

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

SetUnitStatus mocks base method

func (*MockHookUnit) State Uses

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

State mocks base method

func (*MockHookUnit) Tag Uses

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

Tag mocks base method

func (*MockHookUnit) UnitStatus Uses

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

UnitStatus mocks base method

func (*MockHookUnit) UpdateNetworkInfo Uses

func (m *MockHookUnit) UpdateNetworkInfo() error

UpdateNetworkInfo mocks base method

type MockHookUnitMockRecorder Uses

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

MockHookUnitMockRecorder is the mock recorder for MockHookUnit

func (*MockHookUnitMockRecorder) Application Uses

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

Application indicates an expected call of Application

func (*MockHookUnitMockRecorder) ApplicationName Uses

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

ApplicationName indicates an expected call of ApplicationName

func (*MockHookUnitMockRecorder) ClosePorts Uses

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

ClosePorts indicates an expected call of ClosePorts

func (*MockHookUnitMockRecorder) CommitHookChanges Uses

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

CommitHookChanges indicates an expected call of CommitHookChanges

func (*MockHookUnitMockRecorder) ConfigSettings Uses

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

ConfigSettings indicates an expected call of ConfigSettings

func (*MockHookUnitMockRecorder) LogActionMessage Uses

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

LogActionMessage indicates an expected call of LogActionMessage

func (*MockHookUnitMockRecorder) Name Uses

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

Name indicates an expected call of Name

func (*MockHookUnitMockRecorder) NetworkInfo Uses

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

NetworkInfo indicates an expected call of NetworkInfo

func (*MockHookUnitMockRecorder) OpenPorts Uses

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

OpenPorts indicates an expected call of OpenPorts

func (*MockHookUnitMockRecorder) RequestReboot Uses

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

RequestReboot indicates an expected call of RequestReboot

func (*MockHookUnitMockRecorder) SetAgentStatus Uses

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

SetAgentStatus indicates an expected call of SetAgentStatus

func (*MockHookUnitMockRecorder) SetUnitStatus Uses

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

SetUnitStatus indicates an expected call of SetUnitStatus

func (*MockHookUnitMockRecorder) State Uses

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

State indicates an expected call of State

func (*MockHookUnitMockRecorder) Tag Uses

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

Tag indicates an expected call of Tag

func (*MockHookUnitMockRecorder) UnitStatus Uses

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

UnitStatus indicates an expected call of UnitStatus

func (*MockHookUnitMockRecorder) UpdateNetworkInfo Uses

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

UpdateNetworkInfo indicates an expected call of UpdateNetworkInfo

Package mocks imports 7 packages (graph). Updated 2020-05-31. Refresh now. Tools for package owners.