mock_store

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package mock_store is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockStore

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

MockStore is a mock of Store interface

func NewMockStore

func NewMockStore(ctrl *gomock.Controller) *MockStore

NewMockStore creates a new mock instance

func (*MockStore) AddNode

func (m *MockStore) AddNode(arg0 *store.Node) error

AddNode mocks base method

func (*MockStore) AddResourcesToQueue

func (m *MockStore) AddResourcesToQueue(arg0 []scenario.NodeResources) error

AddResourcesToQueue mocks base method

func (*MockStore) ClearNodes

func (m *MockStore) ClearNodes() error

ClearNodes mocks base method

func (*MockStore) EXPECT

func (m *MockStore) EXPECT() *MockStoreMockRecorder

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

func (*MockStore) GetApateletScenario

func (m *MockStore) GetApateletScenario() (*apatelet.ApateletScenario, error)

GetApateletScenario mocks base method

func (*MockStore) GetNode

func (m *MockStore) GetNode(arg0 uuid.UUID) (store.Node, error)

GetNode mocks base method

func (*MockStore) GetNodes

func (m *MockStore) GetNodes() ([]store.Node, error)

GetNodes mocks base method

func (*MockStore) GetNodesByLabel

func (m *MockStore) GetNodesByLabel(arg0 string) ([]store.Node, error)

GetNodesByLabel mocks base method

func (*MockStore) GetResourceFromQueue

func (m *MockStore) GetResourceFromQueue() (*scenario.NodeResources, error)

GetResourceFromQueue mocks base method

func (*MockStore) RemoveNode

func (m *MockStore) RemoveNode(arg0 uuid.UUID) error

RemoveNode mocks base method

func (*MockStore) RemoveNodes

func (m *MockStore) RemoveNodes(arg0 []uuid.UUID) error

RemoveNodes mocks base method

func (*MockStore) SetApateletScenario

func (m *MockStore) SetApateletScenario(arg0 *apatelet.ApateletScenario) error

SetApateletScenario mocks base method

func (*MockStore) SetNodeStatus

func (m *MockStore) SetNodeStatus(arg0 uuid.UUID, arg1 health.Status) error

SetNodeStatus mocks base method

type MockStoreMockRecorder

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

MockStoreMockRecorder is the mock recorder for MockStore

func (*MockStoreMockRecorder) AddNode

func (mr *MockStoreMockRecorder) AddNode(arg0 interface{}) *gomock.Call

AddNode indicates an expected call of AddNode

func (*MockStoreMockRecorder) AddResourcesToQueue

func (mr *MockStoreMockRecorder) AddResourcesToQueue(arg0 interface{}) *gomock.Call

AddResourcesToQueue indicates an expected call of AddResourcesToQueue

func (*MockStoreMockRecorder) ClearNodes

func (mr *MockStoreMockRecorder) ClearNodes() *gomock.Call

ClearNodes indicates an expected call of ClearNodes

func (*MockStoreMockRecorder) GetApateletScenario

func (mr *MockStoreMockRecorder) GetApateletScenario() *gomock.Call

GetApateletScenario indicates an expected call of GetApateletScenario

func (*MockStoreMockRecorder) GetNode

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

GetNode indicates an expected call of GetNode

func (*MockStoreMockRecorder) GetNodes

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

GetNodes indicates an expected call of GetNodes

func (*MockStoreMockRecorder) GetNodesByLabel

func (mr *MockStoreMockRecorder) GetNodesByLabel(arg0 interface{}) *gomock.Call

GetNodesByLabel indicates an expected call of GetNodesByLabel

func (*MockStoreMockRecorder) GetResourceFromQueue

func (mr *MockStoreMockRecorder) GetResourceFromQueue() *gomock.Call

GetResourceFromQueue indicates an expected call of GetResourceFromQueue

func (*MockStoreMockRecorder) RemoveNode

func (mr *MockStoreMockRecorder) RemoveNode(arg0 interface{}) *gomock.Call

RemoveNode indicates an expected call of RemoveNode

func (*MockStoreMockRecorder) RemoveNodes

func (mr *MockStoreMockRecorder) RemoveNodes(arg0 interface{}) *gomock.Call

RemoveNodes indicates an expected call of RemoveNodes

func (*MockStoreMockRecorder) SetApateletScenario

func (mr *MockStoreMockRecorder) SetApateletScenario(arg0 interface{}) *gomock.Call

SetApateletScenario indicates an expected call of SetApateletScenario

func (*MockStoreMockRecorder) SetNodeStatus

func (mr *MockStoreMockRecorder) SetNodeStatus(arg0, arg1 interface{}) *gomock.Call

SetNodeStatus indicates an expected call of SetNodeStatus

Jump to

Keyboard shortcuts

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