mocks

package
v7.5.7 Latest Latest
Warning

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

Go to latest
Published: May 9, 2024 License: Apache-2.0 Imports: 4 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 MockAgentClient

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

MockAgentClient is a mock of AgentClient interface

func NewMockAgentClient

func NewMockAgentClient(ctrl *gomock.Controller) *MockAgentClient

NewMockAgentClient creates a new mock instance

func (*MockAgentClient) AddPersistentDisk

func (m *MockAgentClient) AddPersistentDisk(arg0 string, arg1 interface{}) error

AddPersistentDisk mocks base method

func (*MockAgentClient) Apply

func (m *MockAgentClient) Apply(arg0 applyspec.ApplySpec) error

Apply mocks base method

func (*MockAgentClient) BundleLogs added in v7.2.0

func (m *MockAgentClient) BundleLogs(arg0, arg1 string, arg2 []string) (agentclient.BundleLogsResult, error)

BundleLogs mocks base method

func (*MockAgentClient) CleanUpSSH added in v7.2.0

func (m *MockAgentClient) CleanUpSSH(arg0 string) (agentclient.SSHResult, error)

CleanUpSSH mocks base method

func (*MockAgentClient) CompilePackage

func (m *MockAgentClient) CompilePackage(arg0 agentclient.BlobRef, arg1 []agentclient.BlobRef) (agentclient.BlobRef, error)

CompilePackage mocks base method

func (*MockAgentClient) DeleteARPEntries

func (m *MockAgentClient) DeleteARPEntries(arg0 []string) error

DeleteARPEntries mocks base method

func (*MockAgentClient) Drain

func (m *MockAgentClient) Drain(arg0 string) (int64, error)

Drain mocks base method

func (*MockAgentClient) EXPECT

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

func (*MockAgentClient) GetState

func (m *MockAgentClient) GetState() (agentclient.AgentState, error)

GetState mocks base method

func (*MockAgentClient) ListDisk

func (m *MockAgentClient) ListDisk() ([]string, error)

ListDisk mocks base method

func (*MockAgentClient) MigrateDisk

func (m *MockAgentClient) MigrateDisk() error

MigrateDisk mocks base method

func (*MockAgentClient) MountDisk

func (m *MockAgentClient) MountDisk(arg0 string) error

MountDisk mocks base method

func (*MockAgentClient) Ping

func (m *MockAgentClient) Ping() (string, error)

Ping mocks base method

func (*MockAgentClient) RemoveFile added in v7.2.0

func (m *MockAgentClient) RemoveFile(arg0 string) error

RemoveFile mocks base method

func (*MockAgentClient) RemovePersistentDisk

func (m *MockAgentClient) RemovePersistentDisk(arg0 string) error

RemovePersistentDisk mocks base method

func (*MockAgentClient) RunScript

func (m *MockAgentClient) RunScript(arg0 string, arg1 map[string]interface{}) error

RunScript mocks base method

func (*MockAgentClient) SetUpSSH added in v7.2.0

func (m *MockAgentClient) SetUpSSH(arg0, arg1 string) (agentclient.SSHResult, error)

SetUpSSH mocks base method

func (*MockAgentClient) Start

func (m *MockAgentClient) Start() error

Start mocks base method

func (*MockAgentClient) Stop

func (m *MockAgentClient) Stop() error

Stop mocks base method

func (*MockAgentClient) SyncDNS

func (m *MockAgentClient) SyncDNS(arg0, arg1 string, arg2 uint64) (string, error)

SyncDNS mocks base method

func (*MockAgentClient) UnmountDisk

func (m *MockAgentClient) UnmountDisk(arg0 string) error

UnmountDisk mocks base method

type MockAgentClientMockRecorder

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

MockAgentClientMockRecorder is the mock recorder for MockAgentClient

func (*MockAgentClientMockRecorder) AddPersistentDisk

func (mr *MockAgentClientMockRecorder) AddPersistentDisk(arg0, arg1 interface{}) *gomock.Call

AddPersistentDisk indicates an expected call of AddPersistentDisk

func (*MockAgentClientMockRecorder) Apply

func (mr *MockAgentClientMockRecorder) Apply(arg0 interface{}) *gomock.Call

Apply indicates an expected call of Apply

func (*MockAgentClientMockRecorder) BundleLogs added in v7.2.0

func (mr *MockAgentClientMockRecorder) BundleLogs(arg0, arg1, arg2 interface{}) *gomock.Call

BundleLogs indicates an expected call of BundleLogs

func (*MockAgentClientMockRecorder) CleanUpSSH added in v7.2.0

func (mr *MockAgentClientMockRecorder) CleanUpSSH(arg0 interface{}) *gomock.Call

CleanUpSSH indicates an expected call of CleanUpSSH

func (*MockAgentClientMockRecorder) CompilePackage

func (mr *MockAgentClientMockRecorder) CompilePackage(arg0, arg1 interface{}) *gomock.Call

CompilePackage indicates an expected call of CompilePackage

func (*MockAgentClientMockRecorder) DeleteARPEntries

func (mr *MockAgentClientMockRecorder) DeleteARPEntries(arg0 interface{}) *gomock.Call

DeleteARPEntries indicates an expected call of DeleteARPEntries

func (*MockAgentClientMockRecorder) Drain

func (mr *MockAgentClientMockRecorder) Drain(arg0 interface{}) *gomock.Call

Drain indicates an expected call of Drain

func (*MockAgentClientMockRecorder) GetState

func (mr *MockAgentClientMockRecorder) GetState() *gomock.Call

GetState indicates an expected call of GetState

func (*MockAgentClientMockRecorder) ListDisk

func (mr *MockAgentClientMockRecorder) ListDisk() *gomock.Call

ListDisk indicates an expected call of ListDisk

func (*MockAgentClientMockRecorder) MigrateDisk

func (mr *MockAgentClientMockRecorder) MigrateDisk() *gomock.Call

MigrateDisk indicates an expected call of MigrateDisk

func (*MockAgentClientMockRecorder) MountDisk

func (mr *MockAgentClientMockRecorder) MountDisk(arg0 interface{}) *gomock.Call

MountDisk indicates an expected call of MountDisk

func (*MockAgentClientMockRecorder) Ping

Ping indicates an expected call of Ping

func (*MockAgentClientMockRecorder) RemoveFile added in v7.2.0

func (mr *MockAgentClientMockRecorder) RemoveFile(arg0 interface{}) *gomock.Call

RemoveFile indicates an expected call of RemoveFile

func (*MockAgentClientMockRecorder) RemovePersistentDisk

func (mr *MockAgentClientMockRecorder) RemovePersistentDisk(arg0 interface{}) *gomock.Call

RemovePersistentDisk indicates an expected call of RemovePersistentDisk

func (*MockAgentClientMockRecorder) RunScript

func (mr *MockAgentClientMockRecorder) RunScript(arg0, arg1 interface{}) *gomock.Call

RunScript indicates an expected call of RunScript

func (*MockAgentClientMockRecorder) SetUpSSH added in v7.2.0

func (mr *MockAgentClientMockRecorder) SetUpSSH(arg0, arg1 interface{}) *gomock.Call

SetUpSSH indicates an expected call of SetUpSSH

func (*MockAgentClientMockRecorder) Start

Start indicates an expected call of Start

func (*MockAgentClientMockRecorder) Stop

Stop indicates an expected call of Stop

func (*MockAgentClientMockRecorder) SyncDNS

func (mr *MockAgentClientMockRecorder) SyncDNS(arg0, arg1, arg2 interface{}) *gomock.Call

SyncDNS indicates an expected call of SyncDNS

func (*MockAgentClientMockRecorder) UnmountDisk

func (mr *MockAgentClientMockRecorder) UnmountDisk(arg0 interface{}) *gomock.Call

UnmountDisk indicates an expected call of UnmountDisk

Jump to

Keyboard shortcuts

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