mock_agentclient

package
v5.4.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2018 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_agentclient 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) CompilePackage

func (m *MockAgentClient) CompilePackage(packageSource agentclient.BlobRef, compiledPackageDependencies []agentclient.BlobRef) (agentclient.BlobRef, error)

CompilePackage mocks base method

func (*MockAgentClient) DeleteARPEntries

func (m *MockAgentClient) DeleteARPEntries(ips []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) RemovePersistentDisk

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

RemovePersistentDisk mocks base method

func (*MockAgentClient) RunScript

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

RunScript 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(blobID, sha1 string, version 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) CompilePackage

func (mr *MockAgentClientMockRecorder) CompilePackage(packageSource, compiledPackageDependencies interface{}) *gomock.Call

CompilePackage indicates an expected call of CompilePackage

func (*MockAgentClientMockRecorder) DeleteARPEntries

func (mr *MockAgentClientMockRecorder) DeleteARPEntries(ips 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) RemovePersistentDisk

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

RemovePersistentDisk indicates an expected call of RemovePersistentDisk

func (*MockAgentClientMockRecorder) RunScript

func (mr *MockAgentClientMockRecorder) RunScript(scriptName, options interface{}) *gomock.Call

RunScript indicates an expected call of RunScript

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(blobID, sha1, version 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