Documentation ¶
Index ¶
- type MockAgentClient
- func (_m *MockAgentClient) Apply(_param0 applyspec.ApplySpec) error
- func (_m *MockAgentClient) CompilePackage(packageSource BlobRef, compiledPackageDependencies []BlobRef) (BlobRef, error)
- func (_m *MockAgentClient) EXPECT() *_MockAgentClientRecorder
- func (_m *MockAgentClient) GetState() (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) RunScript(script string) error
- func (_m *MockAgentClient) Start() error
- func (_m *MockAgentClient) Stop() error
- func (_m *MockAgentClient) UnmountDisk(_param0 string) error
- func (_m *MockAgentClient) UpdateSettings(settings settings.Settings) 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) CompilePackage ¶
func (_m *MockAgentClient) CompilePackage(packageSource BlobRef, compiledPackageDependencies []BlobRef) (BlobRef, error)
func (*MockAgentClient) EXPECT ¶
func (_m *MockAgentClient) EXPECT() *_MockAgentClientRecorder
func (*MockAgentClient) GetState ¶
func (_m *MockAgentClient) GetState() (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 ¶ added in v0.0.82
func (_m *MockAgentClient) RunScript(script 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
func (*MockAgentClient) UpdateSettings ¶
func (_m *MockAgentClient) UpdateSettings(settings settings.Settings) error
Click to show internal directories.
Click to hide internal directories.