Documentation ¶
Overview ¶
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Package mocks is a generated GoMock package.
Index ¶
- type MockContainerRuntime
- func (m *MockContainerRuntime) Config() runtime.RuntimeConfig
- func (m *MockContainerRuntime) CreateContainer(arg0 context.Context, arg1 *types.NodeConfig) (string, error)
- func (m *MockContainerRuntime) CreateNet(arg0 context.Context) error
- func (m *MockContainerRuntime) DeleteContainer(arg0 context.Context, arg1 string) error
- func (m *MockContainerRuntime) DeleteNet(arg0 context.Context) error
- func (m *MockContainerRuntime) EXPECT() *MockContainerRuntimeMockRecorder
- func (m *MockContainerRuntime) Exec(ctx context.Context, cID string, execCmd *exec.ExecCmd) (*exec.ExecResult, error)
- func (m *MockContainerRuntime) ExecNotWait(ctx context.Context, cID string, execCmd *exec.ExecCmd) error
- func (m *MockContainerRuntime) GetContainerStatus(ctx context.Context, cID string) runtime.ContainerStatus
- func (m *MockContainerRuntime) GetHostsPath(arg0 context.Context, arg1 string) (string, error)
- func (m *MockContainerRuntime) GetNSPath(arg0 context.Context, arg1 string) (string, error)
- func (m *MockContainerRuntime) GetName() string
- func (m *MockContainerRuntime) Init(arg0 ...runtime.RuntimeOption) error
- func (m *MockContainerRuntime) ListContainers(arg0 context.Context, arg1 []*types.GenericFilter) ([]runtime.GenericContainer, error)
- func (m *MockContainerRuntime) Mgmt() *types.MgmtNet
- func (m *MockContainerRuntime) PauseContainer(arg0 context.Context, arg1 string) error
- func (m *MockContainerRuntime) PullImage(arg0 context.Context, arg1 string, arg2 types.PullPolicyValue) error
- func (m *MockContainerRuntime) StartContainer(arg0 context.Context, arg1 string, arg2 *types.NodeConfig) (interface{}, error)
- func (m *MockContainerRuntime) StopContainer(arg0 context.Context, arg1 string) error
- func (m *MockContainerRuntime) UnpauseContainer(arg0 context.Context, arg1 string) error
- func (m *MockContainerRuntime) WithConfig(arg0 *runtime.RuntimeConfig)
- func (m *MockContainerRuntime) WithKeepMgmtNet()
- func (m *MockContainerRuntime) WithMgmtNet(arg0 *types.MgmtNet)
- type MockContainerRuntimeMockRecorder
- func (mr *MockContainerRuntimeMockRecorder) Config() *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) CreateContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) CreateNet(arg0 interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) DeleteContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) DeleteNet(arg0 interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) Exec(ctx, cID, execCmd interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) ExecNotWait(ctx, cID, execCmd interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) GetContainerStatus(ctx, cID interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) GetHostsPath(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) GetNSPath(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) GetName() *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) Init(arg0 ...interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) ListContainers(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) Mgmt() *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) PauseContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) PullImage(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) StartContainer(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) StopContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) UnpauseContainer(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) WithConfig(arg0 interface{}) *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) WithKeepMgmtNet() *gomock.Call
- func (mr *MockContainerRuntimeMockRecorder) WithMgmtNet(arg0 interface{}) *gomock.Call
- type MockDependencyManager
- func (m *MockDependencyManager) AddDependency(dependee, depender string) error
- func (m *MockDependencyManager) AddNode(name string)
- func (m *MockDependencyManager) CheckAcyclicity() error
- func (m *MockDependencyManager) EXPECT() *MockDependencyManagerMockRecorder
- func (m *MockDependencyManager) SignalDone(nodeName string, state dependency_manager.NodeState)
- func (m *MockDependencyManager) String() string
- func (m *MockDependencyManager) WaitForNodeDependencies(nodeName string) error
- func (m *MockDependencyManager) WaitForNodes(nodeNames []string, status dependency_manager.NodeState) error
- type MockDependencyManagerMockRecorder
- func (mr *MockDependencyManagerMockRecorder) AddDependency(dependee, depender interface{}) *gomock.Call
- func (mr *MockDependencyManagerMockRecorder) AddNode(name interface{}) *gomock.Call
- func (mr *MockDependencyManagerMockRecorder) CheckAcyclicity() *gomock.Call
- func (mr *MockDependencyManagerMockRecorder) SignalDone(nodeName, state interface{}) *gomock.Call
- func (mr *MockDependencyManagerMockRecorder) String() *gomock.Call
- func (mr *MockDependencyManagerMockRecorder) WaitForNodeDependencies(nodeName interface{}) *gomock.Call
- func (mr *MockDependencyManagerMockRecorder) WaitForNodes(nodeNames, status interface{}) *gomock.Call
- type MockNode
- func (m *MockNode) CheckDeploymentConditions(arg0 context.Context) error
- func (m *MockNode) CheckInterfaceName() error
- func (m *MockNode) Config() *types.NodeConfig
- func (m *MockNode) Delete(arg0 context.Context) error
- func (m *MockNode) DeleteNetnsSymlink() error
- func (m *MockNode) Deploy(arg0 context.Context, arg1 *nodes.DeployParams) error
- func (m *MockNode) EXPECT() *MockNodeMockRecorder
- func (m *MockNode) GenerateConfig(dst, templ string) error
- func (m *MockNode) GetContainers(ctx context.Context) ([]runtime.GenericContainer, error)
- func (m *MockNode) GetImages(arg0 context.Context) map[string]string
- func (m *MockNode) GetRuntime() runtime.ContainerRuntime
- func (m *MockNode) Init(arg0 *types.NodeConfig, arg1 ...nodes.NodeOption) error
- func (m *MockNode) PostDeploy(ctx context.Context, params *nodes.PostDeployParams) error
- func (m *MockNode) PreDeploy(ctx context.Context, params *nodes.PreDeployParams) error
- func (m *MockNode) RunExec(ctx context.Context, execCmd *exec.ExecCmd) (*exec.ExecResult, error)
- func (m *MockNode) SaveConfig(arg0 context.Context) error
- func (m *MockNode) UpdateConfigWithRuntimeInfo(arg0 context.Context) error
- func (m *MockNode) VerifyStartupConfig(topoDir string) error
- func (m *MockNode) WithMgmtNet(arg0 *types.MgmtNet)
- func (m *MockNode) WithRuntime(arg0 runtime.ContainerRuntime)
- type MockNodeMockRecorder
- func (mr *MockNodeMockRecorder) CheckDeploymentConditions(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) CheckInterfaceName() *gomock.Call
- func (mr *MockNodeMockRecorder) Config() *gomock.Call
- func (mr *MockNodeMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) DeleteNetnsSymlink() *gomock.Call
- func (mr *MockNodeMockRecorder) Deploy(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) GenerateConfig(dst, templ interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) GetContainers(ctx interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) GetImages(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) GetRuntime() *gomock.Call
- func (mr *MockNodeMockRecorder) Init(arg0 interface{}, arg1 ...interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) PostDeploy(ctx, params interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) PreDeploy(ctx, params interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) RunExec(ctx, execCmd interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) SaveConfig(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) UpdateConfigWithRuntimeInfo(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) VerifyStartupConfig(topoDir interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) WithMgmtNet(arg0 interface{}) *gomock.Call
- func (mr *MockNodeMockRecorder) WithRuntime(arg0 interface{}) *gomock.Call
- type MockNodeOverwrites
- func (m *MockNodeOverwrites) CheckInterfaceName() error
- func (m *MockNodeOverwrites) EXPECT() *MockNodeOverwritesMockRecorder
- func (m *MockNodeOverwrites) GetContainerName() string
- func (m *MockNodeOverwrites) GetContainers(ctx context.Context) ([]runtime.GenericContainer, error)
- func (m *MockNodeOverwrites) GetImages(ctx context.Context) map[string]string
- func (m *MockNodeOverwrites) PullImage(ctx context.Context) error
- func (m *MockNodeOverwrites) VerifyHostRequirements() error
- func (m *MockNodeOverwrites) VerifyLicenseFileExists(arg0 context.Context) error
- func (m *MockNodeOverwrites) VerifyStartupConfig(topoDir string) error
- type MockNodeOverwritesMockRecorder
- func (mr *MockNodeOverwritesMockRecorder) CheckInterfaceName() *gomock.Call
- func (mr *MockNodeOverwritesMockRecorder) GetContainerName() *gomock.Call
- func (mr *MockNodeOverwritesMockRecorder) GetContainers(ctx interface{}) *gomock.Call
- func (mr *MockNodeOverwritesMockRecorder) GetImages(ctx interface{}) *gomock.Call
- func (mr *MockNodeOverwritesMockRecorder) PullImage(ctx interface{}) *gomock.Call
- func (mr *MockNodeOverwritesMockRecorder) VerifyHostRequirements() *gomock.Call
- func (mr *MockNodeOverwritesMockRecorder) VerifyLicenseFileExists(arg0 interface{}) *gomock.Call
- func (mr *MockNodeOverwritesMockRecorder) VerifyStartupConfig(topoDir interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockContainerRuntime ¶
type MockContainerRuntime struct {
// contains filtered or unexported fields
}
MockContainerRuntime is a mock of ContainerRuntime interface.
func NewMockContainerRuntime ¶
func NewMockContainerRuntime(ctrl *gomock.Controller) *MockContainerRuntime
NewMockContainerRuntime creates a new mock instance.
func (*MockContainerRuntime) Config ¶
func (m *MockContainerRuntime) Config() runtime.RuntimeConfig
Config mocks base method.
func (*MockContainerRuntime) CreateContainer ¶
func (m *MockContainerRuntime) CreateContainer(arg0 context.Context, arg1 *types.NodeConfig) (string, error)
CreateContainer mocks base method.
func (*MockContainerRuntime) CreateNet ¶
func (m *MockContainerRuntime) CreateNet(arg0 context.Context) error
CreateNet mocks base method.
func (*MockContainerRuntime) DeleteContainer ¶
func (m *MockContainerRuntime) DeleteContainer(arg0 context.Context, arg1 string) error
DeleteContainer mocks base method.
func (*MockContainerRuntime) DeleteNet ¶
func (m *MockContainerRuntime) DeleteNet(arg0 context.Context) error
DeleteNet mocks base method.
func (*MockContainerRuntime) EXPECT ¶
func (m *MockContainerRuntime) EXPECT() *MockContainerRuntimeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockContainerRuntime) Exec ¶
func (m *MockContainerRuntime) Exec(ctx context.Context, cID string, execCmd *exec.ExecCmd) (*exec.ExecResult, error)
Exec mocks base method.
func (*MockContainerRuntime) ExecNotWait ¶
func (m *MockContainerRuntime) ExecNotWait(ctx context.Context, cID string, execCmd *exec.ExecCmd) error
ExecNotWait mocks base method.
func (*MockContainerRuntime) GetContainerStatus ¶
func (m *MockContainerRuntime) GetContainerStatus(ctx context.Context, cID string) runtime.ContainerStatus
GetContainerStatus mocks base method.
func (*MockContainerRuntime) GetHostsPath ¶
GetHostsPath mocks base method.
func (*MockContainerRuntime) GetName ¶
func (m *MockContainerRuntime) GetName() string
GetName mocks base method.
func (*MockContainerRuntime) Init ¶
func (m *MockContainerRuntime) Init(arg0 ...runtime.RuntimeOption) error
Init mocks base method.
func (*MockContainerRuntime) ListContainers ¶
func (m *MockContainerRuntime) ListContainers(arg0 context.Context, arg1 []*types.GenericFilter) ([]runtime.GenericContainer, error)
ListContainers mocks base method.
func (*MockContainerRuntime) Mgmt ¶
func (m *MockContainerRuntime) Mgmt() *types.MgmtNet
Mgmt mocks base method.
func (*MockContainerRuntime) PauseContainer ¶
func (m *MockContainerRuntime) PauseContainer(arg0 context.Context, arg1 string) error
PauseContainer mocks base method.
func (*MockContainerRuntime) PullImage ¶ added in v0.36.0
func (m *MockContainerRuntime) PullImage(arg0 context.Context, arg1 string, arg2 types.PullPolicyValue) error
PullImage mocks base method.
func (*MockContainerRuntime) StartContainer ¶
func (m *MockContainerRuntime) StartContainer(arg0 context.Context, arg1 string, arg2 *types.NodeConfig) (interface{}, error)
StartContainer mocks base method.
func (*MockContainerRuntime) StopContainer ¶
func (m *MockContainerRuntime) StopContainer(arg0 context.Context, arg1 string) error
StopContainer mocks base method.
func (*MockContainerRuntime) UnpauseContainer ¶
func (m *MockContainerRuntime) UnpauseContainer(arg0 context.Context, arg1 string) error
UnpauseContainer mocks base method.
func (*MockContainerRuntime) WithConfig ¶
func (m *MockContainerRuntime) WithConfig(arg0 *runtime.RuntimeConfig)
WithConfig mocks base method.
func (*MockContainerRuntime) WithKeepMgmtNet ¶
func (m *MockContainerRuntime) WithKeepMgmtNet()
WithKeepMgmtNet mocks base method.
func (*MockContainerRuntime) WithMgmtNet ¶
func (m *MockContainerRuntime) WithMgmtNet(arg0 *types.MgmtNet)
WithMgmtNet mocks base method.
type MockContainerRuntimeMockRecorder ¶
type MockContainerRuntimeMockRecorder struct {
// contains filtered or unexported fields
}
MockContainerRuntimeMockRecorder is the mock recorder for MockContainerRuntime.
func (*MockContainerRuntimeMockRecorder) Config ¶
func (mr *MockContainerRuntimeMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockContainerRuntimeMockRecorder) CreateContainer ¶
func (mr *MockContainerRuntimeMockRecorder) CreateContainer(arg0, arg1 interface{}) *gomock.Call
CreateContainer indicates an expected call of CreateContainer.
func (*MockContainerRuntimeMockRecorder) CreateNet ¶
func (mr *MockContainerRuntimeMockRecorder) CreateNet(arg0 interface{}) *gomock.Call
CreateNet indicates an expected call of CreateNet.
func (*MockContainerRuntimeMockRecorder) DeleteContainer ¶
func (mr *MockContainerRuntimeMockRecorder) DeleteContainer(arg0, arg1 interface{}) *gomock.Call
DeleteContainer indicates an expected call of DeleteContainer.
func (*MockContainerRuntimeMockRecorder) DeleteNet ¶
func (mr *MockContainerRuntimeMockRecorder) DeleteNet(arg0 interface{}) *gomock.Call
DeleteNet indicates an expected call of DeleteNet.
func (*MockContainerRuntimeMockRecorder) Exec ¶
func (mr *MockContainerRuntimeMockRecorder) Exec(ctx, cID, execCmd interface{}) *gomock.Call
Exec indicates an expected call of Exec.
func (*MockContainerRuntimeMockRecorder) ExecNotWait ¶
func (mr *MockContainerRuntimeMockRecorder) ExecNotWait(ctx, cID, execCmd interface{}) *gomock.Call
ExecNotWait indicates an expected call of ExecNotWait.
func (*MockContainerRuntimeMockRecorder) GetContainerStatus ¶
func (mr *MockContainerRuntimeMockRecorder) GetContainerStatus(ctx, cID interface{}) *gomock.Call
GetContainerStatus indicates an expected call of GetContainerStatus.
func (*MockContainerRuntimeMockRecorder) GetHostsPath ¶
func (mr *MockContainerRuntimeMockRecorder) GetHostsPath(arg0, arg1 interface{}) *gomock.Call
GetHostsPath indicates an expected call of GetHostsPath.
func (*MockContainerRuntimeMockRecorder) GetNSPath ¶
func (mr *MockContainerRuntimeMockRecorder) GetNSPath(arg0, arg1 interface{}) *gomock.Call
GetNSPath indicates an expected call of GetNSPath.
func (*MockContainerRuntimeMockRecorder) GetName ¶
func (mr *MockContainerRuntimeMockRecorder) GetName() *gomock.Call
GetName indicates an expected call of GetName.
func (*MockContainerRuntimeMockRecorder) Init ¶
func (mr *MockContainerRuntimeMockRecorder) Init(arg0 ...interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockContainerRuntimeMockRecorder) ListContainers ¶
func (mr *MockContainerRuntimeMockRecorder) ListContainers(arg0, arg1 interface{}) *gomock.Call
ListContainers indicates an expected call of ListContainers.
func (*MockContainerRuntimeMockRecorder) Mgmt ¶
func (mr *MockContainerRuntimeMockRecorder) Mgmt() *gomock.Call
Mgmt indicates an expected call of Mgmt.
func (*MockContainerRuntimeMockRecorder) PauseContainer ¶
func (mr *MockContainerRuntimeMockRecorder) PauseContainer(arg0, arg1 interface{}) *gomock.Call
PauseContainer indicates an expected call of PauseContainer.
func (*MockContainerRuntimeMockRecorder) PullImage ¶ added in v0.36.0
func (mr *MockContainerRuntimeMockRecorder) PullImage(arg0, arg1, arg2 interface{}) *gomock.Call
PullImage indicates an expected call of PullImage.
func (*MockContainerRuntimeMockRecorder) StartContainer ¶
func (mr *MockContainerRuntimeMockRecorder) StartContainer(arg0, arg1, arg2 interface{}) *gomock.Call
StartContainer indicates an expected call of StartContainer.
func (*MockContainerRuntimeMockRecorder) StopContainer ¶
func (mr *MockContainerRuntimeMockRecorder) StopContainer(arg0, arg1 interface{}) *gomock.Call
StopContainer indicates an expected call of StopContainer.
func (*MockContainerRuntimeMockRecorder) UnpauseContainer ¶
func (mr *MockContainerRuntimeMockRecorder) UnpauseContainer(arg0, arg1 interface{}) *gomock.Call
UnpauseContainer indicates an expected call of UnpauseContainer.
func (*MockContainerRuntimeMockRecorder) WithConfig ¶
func (mr *MockContainerRuntimeMockRecorder) WithConfig(arg0 interface{}) *gomock.Call
WithConfig indicates an expected call of WithConfig.
func (*MockContainerRuntimeMockRecorder) WithKeepMgmtNet ¶
func (mr *MockContainerRuntimeMockRecorder) WithKeepMgmtNet() *gomock.Call
WithKeepMgmtNet indicates an expected call of WithKeepMgmtNet.
func (*MockContainerRuntimeMockRecorder) WithMgmtNet ¶
func (mr *MockContainerRuntimeMockRecorder) WithMgmtNet(arg0 interface{}) *gomock.Call
WithMgmtNet indicates an expected call of WithMgmtNet.
type MockDependencyManager ¶
type MockDependencyManager struct {
// contains filtered or unexported fields
}
MockDependencyManager is a mock of DependencyManager interface.
func NewMockDependencyManager ¶
func NewMockDependencyManager(ctrl *gomock.Controller) *MockDependencyManager
NewMockDependencyManager creates a new mock instance.
func (*MockDependencyManager) AddDependency ¶
func (m *MockDependencyManager) AddDependency(dependee, depender string) error
AddDependency mocks base method.
func (*MockDependencyManager) AddNode ¶
func (m *MockDependencyManager) AddNode(name string)
AddNode mocks base method.
func (*MockDependencyManager) CheckAcyclicity ¶
func (m *MockDependencyManager) CheckAcyclicity() error
CheckAcyclicity mocks base method.
func (*MockDependencyManager) EXPECT ¶
func (m *MockDependencyManager) EXPECT() *MockDependencyManagerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockDependencyManager) SignalDone ¶
func (m *MockDependencyManager) SignalDone(nodeName string, state dependency_manager.NodeState)
SignalDone mocks base method.
func (*MockDependencyManager) String ¶
func (m *MockDependencyManager) String() string
String mocks base method.
func (*MockDependencyManager) WaitForNodeDependencies ¶
func (m *MockDependencyManager) WaitForNodeDependencies(nodeName string) error
WaitForNodeDependencies mocks base method.
func (*MockDependencyManager) WaitForNodes ¶ added in v0.42.0
func (m *MockDependencyManager) WaitForNodes(nodeNames []string, status dependency_manager.NodeState) error
WaitForNodes mocks base method.
type MockDependencyManagerMockRecorder ¶
type MockDependencyManagerMockRecorder struct {
// contains filtered or unexported fields
}
MockDependencyManagerMockRecorder is the mock recorder for MockDependencyManager.
func (*MockDependencyManagerMockRecorder) AddDependency ¶
func (mr *MockDependencyManagerMockRecorder) AddDependency(dependee, depender interface{}) *gomock.Call
AddDependency indicates an expected call of AddDependency.
func (*MockDependencyManagerMockRecorder) AddNode ¶
func (mr *MockDependencyManagerMockRecorder) AddNode(name interface{}) *gomock.Call
AddNode indicates an expected call of AddNode.
func (*MockDependencyManagerMockRecorder) CheckAcyclicity ¶
func (mr *MockDependencyManagerMockRecorder) CheckAcyclicity() *gomock.Call
CheckAcyclicity indicates an expected call of CheckAcyclicity.
func (*MockDependencyManagerMockRecorder) SignalDone ¶
func (mr *MockDependencyManagerMockRecorder) SignalDone(nodeName, state interface{}) *gomock.Call
SignalDone indicates an expected call of SignalDone.
func (*MockDependencyManagerMockRecorder) String ¶
func (mr *MockDependencyManagerMockRecorder) String() *gomock.Call
String indicates an expected call of String.
func (*MockDependencyManagerMockRecorder) WaitForNodeDependencies ¶
func (mr *MockDependencyManagerMockRecorder) WaitForNodeDependencies(nodeName interface{}) *gomock.Call
WaitForNodeDependencies indicates an expected call of WaitForNodeDependencies.
func (*MockDependencyManagerMockRecorder) WaitForNodes ¶ added in v0.42.0
func (mr *MockDependencyManagerMockRecorder) WaitForNodes(nodeNames, status interface{}) *gomock.Call
WaitForNodes indicates an expected call of WaitForNodes.
type MockNode ¶
type MockNode struct {
// contains filtered or unexported fields
}
MockNode is a mock of Node interface.
func NewMockNode ¶
func NewMockNode(ctrl *gomock.Controller) *MockNode
NewMockNode creates a new mock instance.
func (*MockNode) CheckDeploymentConditions ¶ added in v0.34.0
CheckDeploymentConditions mocks base method.
func (*MockNode) CheckInterfaceName ¶ added in v0.34.0
CheckInterfaceName mocks base method.
func (*MockNode) DeleteNetnsSymlink ¶ added in v0.34.0
DeleteNetnsSymlink mocks base method.
func (*MockNode) EXPECT ¶
func (m *MockNode) EXPECT() *MockNodeMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNode) GenerateConfig ¶ added in v0.34.0
GenerateConfig mocks base method.
func (*MockNode) GetContainers ¶ added in v0.34.0
GetContainers mocks base method.
func (*MockNode) GetRuntime ¶
func (m *MockNode) GetRuntime() runtime.ContainerRuntime
GetRuntime mocks base method.
func (*MockNode) Init ¶
func (m *MockNode) Init(arg0 *types.NodeConfig, arg1 ...nodes.NodeOption) error
Init mocks base method.
func (*MockNode) PostDeploy ¶
PostDeploy mocks base method.
func (*MockNode) SaveConfig ¶
SaveConfig mocks base method.
func (*MockNode) UpdateConfigWithRuntimeInfo ¶ added in v0.34.0
UpdateConfigWithRuntimeInfo mocks base method.
func (*MockNode) VerifyStartupConfig ¶ added in v0.34.0
VerifyStartupConfig mocks base method.
func (*MockNode) WithMgmtNet ¶
WithMgmtNet mocks base method.
func (*MockNode) WithRuntime ¶
func (m *MockNode) WithRuntime(arg0 runtime.ContainerRuntime)
WithRuntime mocks base method.
type MockNodeMockRecorder ¶
type MockNodeMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeMockRecorder is the mock recorder for MockNode.
func (*MockNodeMockRecorder) CheckDeploymentConditions ¶ added in v0.34.0
func (mr *MockNodeMockRecorder) CheckDeploymentConditions(arg0 interface{}) *gomock.Call
CheckDeploymentConditions indicates an expected call of CheckDeploymentConditions.
func (*MockNodeMockRecorder) CheckInterfaceName ¶ added in v0.34.0
func (mr *MockNodeMockRecorder) CheckInterfaceName() *gomock.Call
CheckInterfaceName indicates an expected call of CheckInterfaceName.
func (*MockNodeMockRecorder) Config ¶
func (mr *MockNodeMockRecorder) Config() *gomock.Call
Config indicates an expected call of Config.
func (*MockNodeMockRecorder) Delete ¶
func (mr *MockNodeMockRecorder) Delete(arg0 interface{}) *gomock.Call
Delete indicates an expected call of Delete.
func (*MockNodeMockRecorder) DeleteNetnsSymlink ¶ added in v0.34.0
func (mr *MockNodeMockRecorder) DeleteNetnsSymlink() *gomock.Call
DeleteNetnsSymlink indicates an expected call of DeleteNetnsSymlink.
func (*MockNodeMockRecorder) Deploy ¶
func (mr *MockNodeMockRecorder) Deploy(arg0, arg1 interface{}) *gomock.Call
Deploy indicates an expected call of Deploy.
func (*MockNodeMockRecorder) GenerateConfig ¶ added in v0.34.0
func (mr *MockNodeMockRecorder) GenerateConfig(dst, templ interface{}) *gomock.Call
GenerateConfig indicates an expected call of GenerateConfig.
func (*MockNodeMockRecorder) GetContainers ¶ added in v0.34.0
func (mr *MockNodeMockRecorder) GetContainers(ctx interface{}) *gomock.Call
GetContainers indicates an expected call of GetContainers.
func (*MockNodeMockRecorder) GetImages ¶
func (mr *MockNodeMockRecorder) GetImages(arg0 interface{}) *gomock.Call
GetImages indicates an expected call of GetImages.
func (*MockNodeMockRecorder) GetRuntime ¶
func (mr *MockNodeMockRecorder) GetRuntime() *gomock.Call
GetRuntime indicates an expected call of GetRuntime.
func (*MockNodeMockRecorder) Init ¶
func (mr *MockNodeMockRecorder) Init(arg0 interface{}, arg1 ...interface{}) *gomock.Call
Init indicates an expected call of Init.
func (*MockNodeMockRecorder) PostDeploy ¶
func (mr *MockNodeMockRecorder) PostDeploy(ctx, params interface{}) *gomock.Call
PostDeploy indicates an expected call of PostDeploy.
func (*MockNodeMockRecorder) PreDeploy ¶
func (mr *MockNodeMockRecorder) PreDeploy(ctx, params interface{}) *gomock.Call
PreDeploy indicates an expected call of PreDeploy.
func (*MockNodeMockRecorder) RunExec ¶ added in v0.34.0
func (mr *MockNodeMockRecorder) RunExec(ctx, execCmd interface{}) *gomock.Call
RunExec indicates an expected call of RunExec.
func (*MockNodeMockRecorder) SaveConfig ¶
func (mr *MockNodeMockRecorder) SaveConfig(arg0 interface{}) *gomock.Call
SaveConfig indicates an expected call of SaveConfig.
func (*MockNodeMockRecorder) UpdateConfigWithRuntimeInfo ¶ added in v0.34.0
func (mr *MockNodeMockRecorder) UpdateConfigWithRuntimeInfo(arg0 interface{}) *gomock.Call
UpdateConfigWithRuntimeInfo indicates an expected call of UpdateConfigWithRuntimeInfo.
func (*MockNodeMockRecorder) VerifyStartupConfig ¶ added in v0.34.0
func (mr *MockNodeMockRecorder) VerifyStartupConfig(topoDir interface{}) *gomock.Call
VerifyStartupConfig indicates an expected call of VerifyStartupConfig.
func (*MockNodeMockRecorder) WithMgmtNet ¶
func (mr *MockNodeMockRecorder) WithMgmtNet(arg0 interface{}) *gomock.Call
WithMgmtNet indicates an expected call of WithMgmtNet.
func (*MockNodeMockRecorder) WithRuntime ¶
func (mr *MockNodeMockRecorder) WithRuntime(arg0 interface{}) *gomock.Call
WithRuntime indicates an expected call of WithRuntime.
type MockNodeOverwrites ¶ added in v0.34.0
type MockNodeOverwrites struct {
// contains filtered or unexported fields
}
MockNodeOverwrites is a mock of NodeOverwrites interface.
func NewMockNodeOverwrites ¶ added in v0.34.0
func NewMockNodeOverwrites(ctrl *gomock.Controller) *MockNodeOverwrites
NewMockNodeOverwrites creates a new mock instance.
func (*MockNodeOverwrites) CheckInterfaceName ¶ added in v0.34.0
func (m *MockNodeOverwrites) CheckInterfaceName() error
CheckInterfaceName mocks base method.
func (*MockNodeOverwrites) EXPECT ¶ added in v0.34.0
func (m *MockNodeOverwrites) EXPECT() *MockNodeOverwritesMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockNodeOverwrites) GetContainerName ¶ added in v0.35.0
func (m *MockNodeOverwrites) GetContainerName() string
GetContainerName mocks base method.
func (*MockNodeOverwrites) GetContainers ¶ added in v0.35.0
func (m *MockNodeOverwrites) GetContainers(ctx context.Context) ([]runtime.GenericContainer, error)
GetContainers mocks base method.
func (*MockNodeOverwrites) GetImages ¶ added in v0.34.0
func (m *MockNodeOverwrites) GetImages(ctx context.Context) map[string]string
GetImages mocks base method.
func (*MockNodeOverwrites) PullImage ¶ added in v0.34.0
func (m *MockNodeOverwrites) PullImage(ctx context.Context) error
PullImage mocks base method.
func (*MockNodeOverwrites) VerifyHostRequirements ¶ added in v0.34.0
func (m *MockNodeOverwrites) VerifyHostRequirements() error
VerifyHostRequirements mocks base method.
func (*MockNodeOverwrites) VerifyLicenseFileExists ¶ added in v0.36.0
func (m *MockNodeOverwrites) VerifyLicenseFileExists(arg0 context.Context) error
VerifyLicenseFileExists mocks base method.
func (*MockNodeOverwrites) VerifyStartupConfig ¶ added in v0.34.0
func (m *MockNodeOverwrites) VerifyStartupConfig(topoDir string) error
VerifyStartupConfig mocks base method.
type MockNodeOverwritesMockRecorder ¶ added in v0.34.0
type MockNodeOverwritesMockRecorder struct {
// contains filtered or unexported fields
}
MockNodeOverwritesMockRecorder is the mock recorder for MockNodeOverwrites.
func (*MockNodeOverwritesMockRecorder) CheckInterfaceName ¶ added in v0.34.0
func (mr *MockNodeOverwritesMockRecorder) CheckInterfaceName() *gomock.Call
CheckInterfaceName indicates an expected call of CheckInterfaceName.
func (*MockNodeOverwritesMockRecorder) GetContainerName ¶ added in v0.35.0
func (mr *MockNodeOverwritesMockRecorder) GetContainerName() *gomock.Call
GetContainerName indicates an expected call of GetContainerName.
func (*MockNodeOverwritesMockRecorder) GetContainers ¶ added in v0.35.0
func (mr *MockNodeOverwritesMockRecorder) GetContainers(ctx interface{}) *gomock.Call
GetContainers indicates an expected call of GetContainers.
func (*MockNodeOverwritesMockRecorder) GetImages ¶ added in v0.34.0
func (mr *MockNodeOverwritesMockRecorder) GetImages(ctx interface{}) *gomock.Call
GetImages indicates an expected call of GetImages.
func (*MockNodeOverwritesMockRecorder) PullImage ¶ added in v0.34.0
func (mr *MockNodeOverwritesMockRecorder) PullImage(ctx interface{}) *gomock.Call
PullImage indicates an expected call of PullImage.
func (*MockNodeOverwritesMockRecorder) VerifyHostRequirements ¶ added in v0.34.0
func (mr *MockNodeOverwritesMockRecorder) VerifyHostRequirements() *gomock.Call
VerifyHostRequirements indicates an expected call of VerifyHostRequirements.
func (*MockNodeOverwritesMockRecorder) VerifyLicenseFileExists ¶ added in v0.36.0
func (mr *MockNodeOverwritesMockRecorder) VerifyLicenseFileExists(arg0 interface{}) *gomock.Call
VerifyLicenseFileExists indicates an expected call of VerifyLicenseFileExists.
func (*MockNodeOverwritesMockRecorder) VerifyStartupConfig ¶ added in v0.34.0
func (mr *MockNodeOverwritesMockRecorder) VerifyStartupConfig(topoDir interface{}) *gomock.Call
VerifyStartupConfig indicates an expected call of VerifyStartupConfig.