Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
- type MockAgentClient
- func (m *MockAgentClient) AddPersistentDisk(arg0 string, arg1 interface{}) error
- func (m *MockAgentClient) Apply(arg0 applyspec.ApplySpec) error
- func (m *MockAgentClient) BundleLogs(arg0, arg1 string, arg2 []string) (agentclient.BundleLogsResult, error)
- func (m *MockAgentClient) CleanUpSSH(arg0 string) (agentclient.SSHResult, error)
- func (m *MockAgentClient) CompilePackage(arg0 agentclient.BlobRef, arg1 []agentclient.BlobRef) (agentclient.BlobRef, error)
- func (m *MockAgentClient) DeleteARPEntries(arg0 []string) error
- func (m *MockAgentClient) Drain(arg0 string) (int64, error)
- func (m *MockAgentClient) EXPECT() *MockAgentClientMockRecorder
- func (m *MockAgentClient) GetState() (agentclient.AgentState, error)
- func (m *MockAgentClient) ListDisk() ([]string, error)
- func (m *MockAgentClient) MigrateDisk() error
- func (m *MockAgentClient) MountDisk(arg0 string) error
- func (m *MockAgentClient) Ping() (string, error)
- func (m *MockAgentClient) RemoveFile(arg0 string) error
- func (m *MockAgentClient) RemovePersistentDisk(arg0 string) error
- func (m *MockAgentClient) RunScript(arg0 string, arg1 map[string]interface{}) error
- func (m *MockAgentClient) SetUpSSH(arg0, arg1 string) (agentclient.SSHResult, error)
- func (m *MockAgentClient) Start() error
- func (m *MockAgentClient) Stop() error
- func (m *MockAgentClient) SyncDNS(arg0, arg1 string, arg2 uint64) (string, error)
- func (m *MockAgentClient) UnmountDisk(arg0 string) error
- type MockAgentClientMockRecorder
- func (mr *MockAgentClientMockRecorder) AddPersistentDisk(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAgentClientMockRecorder) Apply(arg0 interface{}) *gomock.Call
- func (mr *MockAgentClientMockRecorder) BundleLogs(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAgentClientMockRecorder) CleanUpSSH(arg0 interface{}) *gomock.Call
- func (mr *MockAgentClientMockRecorder) CompilePackage(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAgentClientMockRecorder) DeleteARPEntries(arg0 interface{}) *gomock.Call
- func (mr *MockAgentClientMockRecorder) Drain(arg0 interface{}) *gomock.Call
- func (mr *MockAgentClientMockRecorder) GetState() *gomock.Call
- func (mr *MockAgentClientMockRecorder) ListDisk() *gomock.Call
- func (mr *MockAgentClientMockRecorder) MigrateDisk() *gomock.Call
- func (mr *MockAgentClientMockRecorder) MountDisk(arg0 interface{}) *gomock.Call
- func (mr *MockAgentClientMockRecorder) Ping() *gomock.Call
- func (mr *MockAgentClientMockRecorder) RemoveFile(arg0 interface{}) *gomock.Call
- func (mr *MockAgentClientMockRecorder) RemovePersistentDisk(arg0 interface{}) *gomock.Call
- func (mr *MockAgentClientMockRecorder) RunScript(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAgentClientMockRecorder) SetUpSSH(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockAgentClientMockRecorder) Start() *gomock.Call
- func (mr *MockAgentClientMockRecorder) Stop() *gomock.Call
- func (mr *MockAgentClientMockRecorder) SyncDNS(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockAgentClientMockRecorder) UnmountDisk(arg0 interface{}) *gomock.Call
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 ¶
func (m *MockAgentClient) EXPECT() *MockAgentClientMockRecorder
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) 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 ¶
func (mr *MockAgentClientMockRecorder) Ping() *gomock.Call
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 ¶
func (mr *MockAgentClientMockRecorder) Start() *gomock.Call
Start indicates an expected call of Start
func (*MockAgentClientMockRecorder) Stop ¶
func (mr *MockAgentClientMockRecorder) Stop() *gomock.Call
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