mocks

package
v0.0.0-...-f88c608 Latest Latest
Warning

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

Go to latest
Published: Feb 27, 2025 License: AGPL-3.0 Imports: 5 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 MockClient

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

MockClient is a mock of Client interface.

func NewMockClient

func NewMockClient(ctrl *gomock.Controller) *MockClient

NewMockClient creates a new mock instance.

func (*MockClient) AuthorisedKeys

func (m *MockClient) AuthorisedKeys(arg0 context.Context, arg1 names.MachineTag) ([]string, error)

AuthorisedKeys mocks base method.

func (*MockClient) EXPECT

func (m *MockClient) EXPECT() *MockClientMockRecorder

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

func (*MockClient) WatchAuthorisedKeys

func (m *MockClient) WatchAuthorisedKeys(arg0 context.Context, arg1 names.MachineTag) (watcher.Watcher[struct{}], error)

WatchAuthorisedKeys mocks base method.

type MockClientAuthorisedKeysCall

type MockClientAuthorisedKeysCall struct {
	*gomock.Call
}

MockClientAuthorisedKeysCall wrap *gomock.Call

func (*MockClientAuthorisedKeysCall) Do

Do rewrite *gomock.Call.Do

func (*MockClientAuthorisedKeysCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClientAuthorisedKeysCall) Return

Return rewrite *gomock.Call.Return

type MockClientMockRecorder

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

MockClientMockRecorder is the mock recorder for MockClient.

func (*MockClientMockRecorder) AuthorisedKeys

func (mr *MockClientMockRecorder) AuthorisedKeys(arg0, arg1 any) *MockClientAuthorisedKeysCall

AuthorisedKeys indicates an expected call of AuthorisedKeys.

func (*MockClientMockRecorder) WatchAuthorisedKeys

func (mr *MockClientMockRecorder) WatchAuthorisedKeys(arg0, arg1 any) *MockClientWatchAuthorisedKeysCall

WatchAuthorisedKeys indicates an expected call of WatchAuthorisedKeys.

type MockClientWatchAuthorisedKeysCall

type MockClientWatchAuthorisedKeysCall struct {
	*gomock.Call
}

MockClientWatchAuthorisedKeysCall wrap *gomock.Call

func (*MockClientWatchAuthorisedKeysCall) Do

Do rewrite *gomock.Call.Do

func (*MockClientWatchAuthorisedKeysCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockClientWatchAuthorisedKeysCall) Return

Return rewrite *gomock.Call.Return

Jump to

Keyboard shortcuts

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