Documentation ¶
Index ¶
- type MockAgentClient
- func (_m *MockAgentClient) Apply(_param0 applyspec.ApplySpec) error
- func (_m *MockAgentClient) EXPECT() *_MockAgentClientRecorder
- func (_m *MockAgentClient) GetState() (agentclient.AgentState, error)
- func (_m *MockAgentClient) ListDisk() ([]string, error)
- func (_m *MockAgentClient) MigrateDisk() error
- func (_m *MockAgentClient) MountDisk(_param0 string) error
- func (_m *MockAgentClient) Ping() (string, error)
- func (_m *MockAgentClient) Start() error
- func (_m *MockAgentClient) Stop() error
- func (_m *MockAgentClient) UnmountDisk(_param0 string) error
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) 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) Start ¶
func (_m *MockAgentClient) Start() error
func (*MockAgentClient) Stop ¶
func (_m *MockAgentClient) Stop() error
func (*MockAgentClient) UnmountDisk ¶
func (_m *MockAgentClient) UnmountDisk(_param0 string) error
Click to show internal directories.
Click to hide internal directories.