mocks

package
v0.0.153 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2017 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

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
}

Mock of AgentClient interface

func NewMockAgentClient

func NewMockAgentClient(ctrl *gomock.Controller) *MockAgentClient

func (*MockAgentClient) Apply

func (_m *MockAgentClient) Apply(_param0 applyspec.ApplySpec) error

func (*MockAgentClient) CompilePackage

func (_m *MockAgentClient) CompilePackage(_param0 agentclient.BlobRef, _param1 []agentclient.BlobRef) (agentclient.BlobRef, error)

func (*MockAgentClient) DeleteARPEntries

func (_m *MockAgentClient) DeleteARPEntries(_param0 []string) error

func (*MockAgentClient) EXPECT

func (_m *MockAgentClient) EXPECT() *_MockAgentClientRecorder

func (*MockAgentClient) GetState

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

func (*MockAgentClient) ListDisk

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

func (*MockAgentClient) MigrateDisk

func (_m *MockAgentClient) MigrateDisk() error

func (*MockAgentClient) MountDisk

func (_m *MockAgentClient) MountDisk(_param0 string) error

func (*MockAgentClient) Ping

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

func (*MockAgentClient) RunScript

func (_m *MockAgentClient) RunScript(_param0 string, _param1 map[string]interface{}) error

func (*MockAgentClient) Start

func (_m *MockAgentClient) Start() error

func (*MockAgentClient) Stop

func (_m *MockAgentClient) Stop() error

func (*MockAgentClient) SyncDNS

func (_m *MockAgentClient) SyncDNS(_param0 string, _param1 string) (string, error)

func (*MockAgentClient) UnmountDisk

func (_m *MockAgentClient) UnmountDisk(_param0 string) error

func (*MockAgentClient) UpdateSettings

func (_m *MockAgentClient) UpdateSettings(_param0 settings.Settings) error

Jump to

Keyboard shortcuts

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