mock_node

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package mock_node is a generated GoMock package.

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 MockManager

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

MockManager is a mock of Manager interface

func NewMockManager

func NewMockManager(ctrl *gomock.Controller) *MockManager

NewMockManager creates a new mock instance

func (*MockManager) AddOrUpdateNode

func (m *MockManager) AddOrUpdateNode(arg0 *v1.Node) error

AddOrUpdateNode mocks base method

func (*MockManager) DeleteNode

func (m *MockManager) DeleteNode(arg0 string) error

DeleteNode mocks base method

func (*MockManager) EXPECT

func (m *MockManager) EXPECT() *MockManagerMockRecorder

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

func (*MockManager) GetNode

func (m *MockManager) GetNode(arg0 string) (node.Node, bool)

GetNode mocks base method

type MockManagerMockRecorder

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

MockManagerMockRecorder is the mock recorder for MockManager

func (*MockManagerMockRecorder) AddOrUpdateNode

func (mr *MockManagerMockRecorder) AddOrUpdateNode(arg0 interface{}) *gomock.Call

AddOrUpdateNode indicates an expected call of AddOrUpdateNode

func (*MockManagerMockRecorder) DeleteNode

func (mr *MockManagerMockRecorder) DeleteNode(arg0 interface{}) *gomock.Call

DeleteNode indicates an expected call of DeleteNode

func (*MockManagerMockRecorder) GetNode

func (mr *MockManagerMockRecorder) GetNode(arg0 interface{}) *gomock.Call

GetNode indicates an expected call of GetNode

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) DeleteResources

func (m *MockNode) DeleteResources(arg0 []provider.ResourceProvider, arg1 api.EC2APIHelper) error

DeleteResources 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) InitResources

func (m *MockNode) InitResources(arg0 []provider.ResourceProvider, arg1 api.EC2APIHelper) error

InitResources mocks base method

func (*MockNode) IsReady

func (m *MockNode) IsReady() bool

IsReady mocks base method

func (*MockNode) UpdateCustomNetworkingSpecs

func (m *MockNode) UpdateCustomNetworkingSpecs(arg0 string, arg1 []string)

UpdateCustomNetworkingSpecs mocks base method

func (*MockNode) UpdateResources

func (m *MockNode) UpdateResources(arg0 []provider.ResourceProvider, arg1 api.EC2APIHelper) error

UpdateResources mocks base method

type MockNodeMockRecorder

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

MockNodeMockRecorder is the mock recorder for MockNode

func (*MockNodeMockRecorder) DeleteResources

func (mr *MockNodeMockRecorder) DeleteResources(arg0, arg1 interface{}) *gomock.Call

DeleteResources indicates an expected call of DeleteResources

func (*MockNodeMockRecorder) InitResources

func (mr *MockNodeMockRecorder) InitResources(arg0, arg1 interface{}) *gomock.Call

InitResources indicates an expected call of InitResources

func (*MockNodeMockRecorder) IsReady

func (mr *MockNodeMockRecorder) IsReady() *gomock.Call

IsReady indicates an expected call of IsReady

func (*MockNodeMockRecorder) UpdateCustomNetworkingSpecs

func (mr *MockNodeMockRecorder) UpdateCustomNetworkingSpecs(arg0, arg1 interface{}) *gomock.Call

UpdateCustomNetworkingSpecs indicates an expected call of UpdateCustomNetworkingSpecs

func (*MockNodeMockRecorder) UpdateResources

func (mr *MockNodeMockRecorder) UpdateResources(arg0, arg1 interface{}) *gomock.Call

UpdateResources indicates an expected call of UpdateResources

Jump to

Keyboard shortcuts

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