Documentation ¶
Overview ¶
Package mock_store is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) AddNode(arg0 *store.Node) error
- func (m *MockStore) AddResourcesToQueue(arg0 []scenario.NodeResources) error
- func (m *MockStore) ClearNodes() error
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetApateletScenario() (*apatelet.ApateletScenario, error)
- func (m *MockStore) GetNode(arg0 uuid.UUID) (store.Node, error)
- func (m *MockStore) GetNodes() ([]store.Node, error)
- func (m *MockStore) GetNodesByLabel(arg0 string) ([]store.Node, error)
- func (m *MockStore) GetResourceFromQueue() (*scenario.NodeResources, error)
- func (m *MockStore) RemoveNode(arg0 uuid.UUID) error
- func (m *MockStore) RemoveNodes(arg0 []uuid.UUID) error
- func (m *MockStore) SetApateletScenario(arg0 *apatelet.ApateletScenario) error
- func (m *MockStore) SetNodeStatus(arg0 uuid.UUID, arg1 health.Status) error
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) AddNode(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) AddResourcesToQueue(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) ClearNodes() *gomock.Call
- func (mr *MockStoreMockRecorder) GetApateletScenario() *gomock.Call
- func (mr *MockStoreMockRecorder) GetNode(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetNodes() *gomock.Call
- func (mr *MockStoreMockRecorder) GetNodesByLabel(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetResourceFromQueue() *gomock.Call
- func (mr *MockStoreMockRecorder) RemoveNode(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) RemoveNodes(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetApateletScenario(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetNodeStatus(arg0, arg1 interface{}) *gomock.Call
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) AddResourcesToQueue ¶
func (m *MockStore) AddResourcesToQueue(arg0 []scenario.NodeResources) error
AddResourcesToQueue 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) GetNodesByLabel ¶
GetNodesByLabel mocks base method
func (*MockStore) GetResourceFromQueue ¶
func (m *MockStore) GetResourceFromQueue() (*scenario.NodeResources, error)
GetResourceFromQueue mocks base method
func (*MockStore) RemoveNode ¶
RemoveNode mocks base method
func (*MockStore) RemoveNodes ¶
RemoveNodes mocks base method
func (*MockStore) SetApateletScenario ¶
func (m *MockStore) SetApateletScenario(arg0 *apatelet.ApateletScenario) error
SetApateletScenario 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