Documentation ¶
Overview ¶
Package mock_store is a generated GoMock package.
Index ¶
- type MockStore
- func (m *MockStore) AddPodFlagListener(arg0 int32, arg1 func(interface{}))
- func (m *MockStore) EXPECT() *MockStoreMockRecorder
- func (m *MockStore) GetNodeFlag(arg0 int32) (interface{}, error)
- func (m *MockStore) GetPodFlag(arg0 *v1.Pod, arg1 int32) (interface{}, error)
- func (m *MockStore) PeekTask() (time.Duration, bool, error)
- func (m *MockStore) PopTask() (*store.Task, error)
- func (m *MockStore) RemovePodTasks(arg0 string) error
- func (m *MockStore) SetNodeFlags(arg0 store.Flags)
- func (m *MockStore) SetNodeTasks(arg0 []*store.Task) error
- func (m *MockStore) SetPodFlags(arg0 string, arg1 store.Flags)
- func (m *MockStore) SetPodTasks(arg0 string, arg1 []*store.Task) error
- func (m *MockStore) SetPodTimeFlags(arg0 string, arg1 []*store.TimeFlags)
- type MockStoreMockRecorder
- func (mr *MockStoreMockRecorder) AddPodFlagListener(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetNodeFlag(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) GetPodFlag(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) PeekTask() *gomock.Call
- func (mr *MockStoreMockRecorder) PopTask() *gomock.Call
- func (mr *MockStoreMockRecorder) RemovePodTasks(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetNodeFlags(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetNodeTasks(arg0 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetPodFlags(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetPodTasks(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockStoreMockRecorder) SetPodTimeFlags(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) AddPodFlagListener ¶
AddPodFlagListener 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) GetNodeFlag ¶
GetNodeFlag mocks base method
func (*MockStore) GetPodFlag ¶
GetPodFlag mocks base method
func (*MockStore) RemovePodTasks ¶
RemovePodTasks mocks base method
func (*MockStore) SetNodeFlags ¶
SetNodeFlags mocks base method
func (*MockStore) SetNodeTasks ¶
SetNodeTasks mocks base method
func (*MockStore) SetPodFlags ¶
SetPodFlags mocks base method
func (*MockStore) SetPodTasks ¶
SetPodTasks mocks base method
type MockStoreMockRecorder ¶
type MockStoreMockRecorder struct {
// contains filtered or unexported fields
}
MockStoreMockRecorder is the mock recorder for MockStore
func (*MockStoreMockRecorder) AddPodFlagListener ¶
func (mr *MockStoreMockRecorder) AddPodFlagListener(arg0, arg1 interface{}) *gomock.Call
AddPodFlagListener indicates an expected call of AddPodFlagListener
func (*MockStoreMockRecorder) GetNodeFlag ¶
func (mr *MockStoreMockRecorder) GetNodeFlag(arg0 interface{}) *gomock.Call
GetNodeFlag indicates an expected call of GetNodeFlag
func (*MockStoreMockRecorder) GetPodFlag ¶
func (mr *MockStoreMockRecorder) GetPodFlag(arg0, arg1 interface{}) *gomock.Call
GetPodFlag indicates an expected call of GetPodFlag
func (*MockStoreMockRecorder) PeekTask ¶
func (mr *MockStoreMockRecorder) PeekTask() *gomock.Call
PeekTask indicates an expected call of PeekTask
func (*MockStoreMockRecorder) PopTask ¶
func (mr *MockStoreMockRecorder) PopTask() *gomock.Call
PopTask indicates an expected call of PopTask
func (*MockStoreMockRecorder) RemovePodTasks ¶
func (mr *MockStoreMockRecorder) RemovePodTasks(arg0 interface{}) *gomock.Call
RemovePodTasks indicates an expected call of RemovePodTasks
func (*MockStoreMockRecorder) SetNodeFlags ¶
func (mr *MockStoreMockRecorder) SetNodeFlags(arg0 interface{}) *gomock.Call
SetNodeFlags indicates an expected call of SetNodeFlags
func (*MockStoreMockRecorder) SetNodeTasks ¶
func (mr *MockStoreMockRecorder) SetNodeTasks(arg0 interface{}) *gomock.Call
SetNodeTasks indicates an expected call of SetNodeTasks
func (*MockStoreMockRecorder) SetPodFlags ¶
func (mr *MockStoreMockRecorder) SetPodFlags(arg0, arg1 interface{}) *gomock.Call
SetPodFlags indicates an expected call of SetPodFlags
func (*MockStoreMockRecorder) SetPodTasks ¶
func (mr *MockStoreMockRecorder) SetPodTasks(arg0, arg1 interface{}) *gomock.Call
SetPodTasks indicates an expected call of SetPodTasks
func (*MockStoreMockRecorder) SetPodTimeFlags ¶
func (mr *MockStoreMockRecorder) SetPodTimeFlags(arg0, arg1 interface{}) *gomock.Call
SetPodTimeFlags indicates an expected call of SetPodTimeFlags