mock_node

package
v0.0.0-...-b0339d0 Latest Latest
Warning

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

Go to latest
Published: Apr 1, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package mock_node is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockCommand

type MockCommand struct {
	// contains filtered or unexported fields
}

MockCommand is a mock of Command interface

func NewMockCommand

func NewMockCommand(ctrl *gomock.Controller) *MockCommand

NewMockCommand creates a new mock instance

func (*MockCommand) EXPECT

func (m *MockCommand) EXPECT() *MockCommandMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockCommand) GetNode

func (m *MockCommand) GetNode(nodeId string) (int, map[string]interface{}, error)

GetNode mocks base method

func (*MockCommand) GetNodeConfiguration

func (m *MockCommand) GetNodeConfiguration(nodeId string) (int, map[string]interface{}, error)

GetNodeConfiguration mocks base method

func (*MockCommand) GetNodes

func (m *MockCommand) GetNodes() (int, map[string]interface{}, error)

GetNodes mocks base method

func (*MockCommand) GetNodesWithAppID

func (m *MockCommand) GetNodesWithAppID(appId string) (int, map[string]interface{}, error)

GetNodesWithAppID mocks base method

func (*MockCommand) PingNode

func (m *MockCommand) PingNode(nodeId, body string) (int, error)

PingNode mocks base method

func (*MockCommand) Reboot

func (m *MockCommand) Reboot(nodeId string) (int, error)

Reboot mocks base method

func (*MockCommand) RegisterNode

func (m *MockCommand) RegisterNode(body string) (int, map[string]interface{}, error)

RegisterNode mocks base method

func (*MockCommand) Restore

func (m *MockCommand) Restore(nodeId string) (int, error)

Restore mocks base method

func (*MockCommand) SetNodeConfiguration

func (m *MockCommand) SetNodeConfiguration(nodeId, body string) (int, error)

SetNodeConfiguration mocks base method

func (*MockCommand) UnRegisterNode

func (m *MockCommand) UnRegisterNode(nodeId string) (int, error)

UnRegisterNode mocks base method

func (*MockCommand) UpdateNodeStatus

func (m *MockCommand) UpdateNodeStatus(nodeId, status string) error

UpdateNodeStatus mocks base method

type MockCommandMockRecorder

type MockCommandMockRecorder struct {
	// contains filtered or unexported fields
}

MockCommandMockRecorder is the mock recorder for MockCommand

func (*MockCommandMockRecorder) GetNode

func (mr *MockCommandMockRecorder) GetNode(nodeId interface{}) *gomock.Call

GetNode indicates an expected call of GetNode

func (*MockCommandMockRecorder) GetNodeConfiguration

func (mr *MockCommandMockRecorder) GetNodeConfiguration(nodeId interface{}) *gomock.Call

GetNodeConfiguration indicates an expected call of GetNodeConfiguration

func (*MockCommandMockRecorder) GetNodes

func (mr *MockCommandMockRecorder) GetNodes() *gomock.Call

GetNodes indicates an expected call of GetNodes

func (*MockCommandMockRecorder) GetNodesWithAppID

func (mr *MockCommandMockRecorder) GetNodesWithAppID(appId interface{}) *gomock.Call

GetNodesWithAppID indicates an expected call of GetNodesWithAppID

func (*MockCommandMockRecorder) PingNode

func (mr *MockCommandMockRecorder) PingNode(nodeId, body interface{}) *gomock.Call

PingNode indicates an expected call of PingNode

func (*MockCommandMockRecorder) Reboot

func (mr *MockCommandMockRecorder) Reboot(nodeId interface{}) *gomock.Call

Reboot indicates an expected call of Reboot

func (*MockCommandMockRecorder) RegisterNode

func (mr *MockCommandMockRecorder) RegisterNode(body interface{}) *gomock.Call

RegisterNode indicates an expected call of RegisterNode

func (*MockCommandMockRecorder) Restore

func (mr *MockCommandMockRecorder) Restore(nodeId interface{}) *gomock.Call

Restore indicates an expected call of Restore

func (*MockCommandMockRecorder) SetNodeConfiguration

func (mr *MockCommandMockRecorder) SetNodeConfiguration(nodeId, body interface{}) *gomock.Call

SetNodeConfiguration indicates an expected call of SetNodeConfiguration

func (*MockCommandMockRecorder) UnRegisterNode

func (mr *MockCommandMockRecorder) UnRegisterNode(nodeId interface{}) *gomock.Call

UnRegisterNode indicates an expected call of UnRegisterNode

func (*MockCommandMockRecorder) UpdateNodeStatus

func (mr *MockCommandMockRecorder) UpdateNodeStatus(nodeId, status interface{}) *gomock.Call

UpdateNodeStatus indicates an expected call of UpdateNodeStatus

Jump to

Keyboard shortcuts

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