mocks

package
v0.0.0-...-6dcaeb9 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: AGPL-3.0 Imports: 10 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCredentialAPI

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

MockCredentialAPI is a mock of CredentialAPI interface.

func NewMockCredentialAPI

func NewMockCredentialAPI(ctrl *gomock.Controller) *MockCredentialAPI

NewMockCredentialAPI creates a new mock instance.

func (*MockCredentialAPI) EXPECT

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

func (*MockCredentialAPI) InvalidateModelCredential

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

InvalidateModelCredential mocks base method.

type MockCredentialAPIMockRecorder

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

MockCredentialAPIMockRecorder is the mock recorder for MockCredentialAPI.

func (*MockCredentialAPIMockRecorder) InvalidateModelCredential

func (mr *MockCredentialAPIMockRecorder) InvalidateModelCredential(arg0 any) *gomock.Call

InvalidateModelCredential indicates an expected call of InvalidateModelCredential.

type MockEnviron

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

MockEnviron is a mock of Environ interface.

func NewMockEnviron

func NewMockEnviron(ctrl *gomock.Controller) *MockEnviron

NewMockEnviron creates a new mock instance.

func (*MockEnviron) EXPECT

func (m *MockEnviron) EXPECT() *MockEnvironMockRecorder

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

func (*MockEnviron) Instances

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

Instances mocks base method.

func (*MockEnviron) NetworkInterfaces

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

NetworkInterfaces mocks base method.

type MockEnvironMockRecorder

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

MockEnvironMockRecorder is the mock recorder for MockEnviron.

func (*MockEnvironMockRecorder) Instances

func (mr *MockEnvironMockRecorder) Instances(arg0, arg1 any) *gomock.Call

Instances indicates an expected call of Instances.

func (*MockEnvironMockRecorder) NetworkInterfaces

func (mr *MockEnvironMockRecorder) NetworkInterfaces(arg0, arg1 any) *gomock.Call

NetworkInterfaces indicates an expected call of NetworkInterfaces.

type MockInstance

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

MockInstance is a mock of Instance interface.

func NewMockInstance

func NewMockInstance(ctrl *gomock.Controller) *MockInstance

NewMockInstance creates a new mock instance.

func (*MockInstance) Addresses

Addresses mocks base method.

func (*MockInstance) EXPECT

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

func (*MockInstance) Id

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

Id mocks base method.

func (*MockInstance) Status

Status mocks base method.

type MockInstanceMockRecorder

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

MockInstanceMockRecorder is the mock recorder for MockInstance.

func (*MockInstanceMockRecorder) Addresses

func (mr *MockInstanceMockRecorder) Addresses(arg0 any) *gomock.Call

Addresses indicates an expected call of Addresses.

func (*MockInstanceMockRecorder) Id

Id indicates an expected call of Id.

func (*MockInstanceMockRecorder) Status

func (mr *MockInstanceMockRecorder) Status(arg0 any) *gomock.Call

Status indicates an expected call of Status.

type MockMachine

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

MockMachine is a mock of Machine interface.

func NewMockMachine

func NewMockMachine(ctrl *gomock.Controller) *MockMachine

NewMockMachine creates a new mock instance.

func (*MockMachine) EXPECT

func (m *MockMachine) EXPECT() *MockMachineMockRecorder

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

func (*MockMachine) Id

func (m *MockMachine) Id() string

Id mocks base method.

func (*MockMachine) InstanceId

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

InstanceId mocks base method.

func (*MockMachine) InstanceStatus

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

InstanceStatus mocks base method.

func (*MockMachine) IsManual

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

IsManual mocks base method.

func (*MockMachine) Life

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

Life mocks base method.

func (*MockMachine) Refresh

func (m *MockMachine) Refresh() error

Refresh mocks base method.

func (*MockMachine) SetInstanceStatus

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

SetInstanceStatus mocks base method.

func (*MockMachine) SetProviderNetworkConfig

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

SetProviderNetworkConfig mocks base method.

func (*MockMachine) Status

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

Status mocks base method.

func (*MockMachine) String

func (m *MockMachine) String() string

String mocks base method.

type MockMachineMockRecorder

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

MockMachineMockRecorder is the mock recorder for MockMachine.

func (*MockMachineMockRecorder) Id

Id indicates an expected call of Id.

func (*MockMachineMockRecorder) InstanceId

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

InstanceId indicates an expected call of InstanceId.

func (*MockMachineMockRecorder) InstanceStatus

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

InstanceStatus indicates an expected call of InstanceStatus.

func (*MockMachineMockRecorder) IsManual

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

IsManual indicates an expected call of IsManual.

func (*MockMachineMockRecorder) Life

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

Life indicates an expected call of Life.

func (*MockMachineMockRecorder) Refresh

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

Refresh indicates an expected call of Refresh.

func (*MockMachineMockRecorder) SetInstanceStatus

func (mr *MockMachineMockRecorder) SetInstanceStatus(arg0, arg1, arg2 any) *gomock.Call

SetInstanceStatus indicates an expected call of SetInstanceStatus.

func (*MockMachineMockRecorder) SetProviderNetworkConfig

func (mr *MockMachineMockRecorder) SetProviderNetworkConfig(arg0 any) *gomock.Call

SetProviderNetworkConfig indicates an expected call of SetProviderNetworkConfig.

func (*MockMachineMockRecorder) Status

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

Status indicates an expected call of Status.

func (*MockMachineMockRecorder) String

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

String indicates an expected call of String.

type MockStringsWatcher

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

MockStringsWatcher is a mock of StringsWatcher interface.

func NewMockStringsWatcher

func NewMockStringsWatcher(ctrl *gomock.Controller) *MockStringsWatcher

NewMockStringsWatcher creates a new mock instance.

func (*MockStringsWatcher) Changes

Changes mocks base method.

func (*MockStringsWatcher) EXPECT

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

func (*MockStringsWatcher) Kill

func (m *MockStringsWatcher) Kill()

Kill mocks base method.

func (*MockStringsWatcher) Wait

func (m *MockStringsWatcher) Wait() error

Wait mocks base method.

type MockStringsWatcherMockRecorder

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

MockStringsWatcherMockRecorder is the mock recorder for MockStringsWatcher.

func (*MockStringsWatcherMockRecorder) Changes

Changes indicates an expected call of Changes.

func (*MockStringsWatcherMockRecorder) Kill

Kill indicates an expected call of Kill.

func (*MockStringsWatcherMockRecorder) Wait

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