juju: github.com/wallyworld/juju/worker/instancepoller/mocks Index | Files

package mocks

import "github.com/wallyworld/juju/worker/instancepoller/mocks"

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

Package Files

mocks_cred_api.go mocks_instancepoller.go mocks_instances.go mocks_watcher.go

type MockCredentialAPI Uses

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

MockCredentialAPI is a mock of CredentialAPI interface

func NewMockCredentialAPI Uses

func NewMockCredentialAPI(ctrl *gomock.Controller) *MockCredentialAPI

NewMockCredentialAPI creates a new mock instance

func (*MockCredentialAPI) EXPECT Uses

func (m *MockCredentialAPI) EXPECT() *MockCredentialAPIMockRecorder

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

func (*MockCredentialAPI) InvalidateModelCredential Uses

func (m *MockCredentialAPI) InvalidateModelCredential(arg0 string) error

InvalidateModelCredential mocks base method

type MockCredentialAPIMockRecorder Uses

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

MockCredentialAPIMockRecorder is the mock recorder for MockCredentialAPI

func (*MockCredentialAPIMockRecorder) InvalidateModelCredential Uses

func (mr *MockCredentialAPIMockRecorder) InvalidateModelCredential(arg0 interface{}) *gomock.Call

InvalidateModelCredential indicates an expected call of InvalidateModelCredential

type MockEnviron Uses

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

MockEnviron is a mock of Environ interface

func NewMockEnviron Uses

func NewMockEnviron(ctrl *gomock.Controller) *MockEnviron

NewMockEnviron creates a new mock instance

func (*MockEnviron) EXPECT Uses

func (m *MockEnviron) EXPECT() *MockEnvironMockRecorder

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

func (*MockEnviron) Instances Uses

func (m *MockEnviron) Instances(arg0 context.ProviderCallContext, arg1 []instance.Id) ([]instances.Instance, error)

Instances mocks base method

func (*MockEnviron) NetworkInterfaces Uses

func (m *MockEnviron) NetworkInterfaces(arg0 context.ProviderCallContext, arg1 []instance.Id) ([]network.InterfaceInfos, error)

NetworkInterfaces mocks base method

type MockEnvironMockRecorder Uses

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

MockEnvironMockRecorder is the mock recorder for MockEnviron

func (*MockEnvironMockRecorder) Instances Uses

func (mr *MockEnvironMockRecorder) Instances(arg0, arg1 interface{}) *gomock.Call

Instances indicates an expected call of Instances

func (*MockEnvironMockRecorder) NetworkInterfaces Uses

func (mr *MockEnvironMockRecorder) NetworkInterfaces(arg0, arg1 interface{}) *gomock.Call

NetworkInterfaces indicates an expected call of NetworkInterfaces

type MockInstance Uses

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

MockInstance is a mock of Instance interface

func NewMockInstance Uses

func NewMockInstance(ctrl *gomock.Controller) *MockInstance

NewMockInstance creates a new mock instance

func (*MockInstance) Addresses Uses

func (m *MockInstance) Addresses(arg0 context.ProviderCallContext) (network.ProviderAddresses, error)

Addresses mocks base method

func (*MockInstance) EXPECT Uses

func (m *MockInstance) EXPECT() *MockInstanceMockRecorder

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

func (*MockInstance) Id Uses

func (m *MockInstance) Id() instance.Id

Id mocks base method

func (*MockInstance) Status Uses

func (m *MockInstance) Status(arg0 context.ProviderCallContext) instance.Status

Status mocks base method

type MockInstanceMockRecorder Uses

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

MockInstanceMockRecorder is the mock recorder for MockInstance

func (*MockInstanceMockRecorder) Addresses Uses

func (mr *MockInstanceMockRecorder) Addresses(arg0 interface{}) *gomock.Call

Addresses indicates an expected call of Addresses

func (*MockInstanceMockRecorder) Id Uses

func (mr *MockInstanceMockRecorder) Id() *gomock.Call

Id indicates an expected call of Id

func (*MockInstanceMockRecorder) Status Uses

func (mr *MockInstanceMockRecorder) Status(arg0 interface{}) *gomock.Call

Status indicates an expected call of Status

type MockMachine Uses

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

MockMachine is a mock of Machine interface

func NewMockMachine Uses

func NewMockMachine(ctrl *gomock.Controller) *MockMachine

NewMockMachine creates a new mock instance

func (*MockMachine) EXPECT Uses

func (m *MockMachine) EXPECT() *MockMachineMockRecorder

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

func (*MockMachine) Id Uses

func (m *MockMachine) Id() string

Id mocks base method

func (*MockMachine) InstanceId Uses

func (m *MockMachine) InstanceId() (instance.Id, error)

InstanceId mocks base method

func (*MockMachine) InstanceStatus Uses

func (m *MockMachine) InstanceStatus() (params.StatusResult, error)

InstanceStatus mocks base method

func (*MockMachine) IsManual Uses

func (m *MockMachine) IsManual() (bool, error)

IsManual mocks base method

func (*MockMachine) Life Uses

func (m *MockMachine) Life() life.Value

Life mocks base method

func (*MockMachine) Refresh Uses

func (m *MockMachine) Refresh() error

Refresh mocks base method

func (*MockMachine) SetInstanceStatus Uses

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

SetInstanceStatus mocks base method

func (*MockMachine) SetProviderNetworkConfig Uses

func (m *MockMachine) SetProviderNetworkConfig(arg0 network.InterfaceInfos) (network.ProviderAddresses, bool, error)

SetProviderNetworkConfig mocks base method

func (*MockMachine) Status Uses

func (m *MockMachine) Status() (params.StatusResult, error)

Status mocks base method

func (*MockMachine) String Uses

func (m *MockMachine) String() string

String mocks base method

type MockMachineMockRecorder Uses

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

MockMachineMockRecorder is the mock recorder for MockMachine

func (*MockMachineMockRecorder) Id Uses

func (mr *MockMachineMockRecorder) Id() *gomock.Call

Id indicates an expected call of Id

func (*MockMachineMockRecorder) InstanceId Uses

func (mr *MockMachineMockRecorder) InstanceId() *gomock.Call

InstanceId indicates an expected call of InstanceId

func (*MockMachineMockRecorder) InstanceStatus Uses

func (mr *MockMachineMockRecorder) InstanceStatus() *gomock.Call

InstanceStatus indicates an expected call of InstanceStatus

func (*MockMachineMockRecorder) IsManual Uses

func (mr *MockMachineMockRecorder) IsManual() *gomock.Call

IsManual indicates an expected call of IsManual

func (*MockMachineMockRecorder) Life Uses

func (mr *MockMachineMockRecorder) Life() *gomock.Call

Life indicates an expected call of Life

func (*MockMachineMockRecorder) Refresh Uses

func (mr *MockMachineMockRecorder) Refresh() *gomock.Call

Refresh indicates an expected call of Refresh

func (*MockMachineMockRecorder) SetInstanceStatus Uses

func (mr *MockMachineMockRecorder) SetInstanceStatus(arg0, arg1, arg2 interface{}) *gomock.Call

SetInstanceStatus indicates an expected call of SetInstanceStatus

func (*MockMachineMockRecorder) SetProviderNetworkConfig Uses

func (mr *MockMachineMockRecorder) SetProviderNetworkConfig(arg0 interface{}) *gomock.Call

SetProviderNetworkConfig indicates an expected call of SetProviderNetworkConfig

func (*MockMachineMockRecorder) Status Uses

func (mr *MockMachineMockRecorder) Status() *gomock.Call

Status indicates an expected call of Status

func (*MockMachineMockRecorder) String Uses

func (mr *MockMachineMockRecorder) String() *gomock.Call

String indicates an expected call of String

type MockStringsWatcher Uses

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

MockStringsWatcher is a mock of StringsWatcher interface

func NewMockStringsWatcher Uses

func NewMockStringsWatcher(ctrl *gomock.Controller) *MockStringsWatcher

NewMockStringsWatcher creates a new mock instance

func (*MockStringsWatcher) Changes Uses

func (m *MockStringsWatcher) Changes() watcher.StringsChannel

Changes mocks base method

func (*MockStringsWatcher) EXPECT Uses

func (m *MockStringsWatcher) EXPECT() *MockStringsWatcherMockRecorder

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

func (*MockStringsWatcher) Kill Uses

func (m *MockStringsWatcher) Kill()

Kill mocks base method

func (*MockStringsWatcher) Wait Uses

func (m *MockStringsWatcher) Wait() error

Wait mocks base method

type MockStringsWatcherMockRecorder Uses

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

MockStringsWatcherMockRecorder is the mock recorder for MockStringsWatcher

func (*MockStringsWatcherMockRecorder) Changes Uses

func (mr *MockStringsWatcherMockRecorder) Changes() *gomock.Call

Changes indicates an expected call of Changes

func (*MockStringsWatcherMockRecorder) Kill Uses

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

Kill indicates an expected call of Kill

func (*MockStringsWatcherMockRecorder) Wait Uses

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

Wait indicates an expected call of Wait

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