Documentation ¶
Overview ¶
Package mock_statesinformer is a generated GoMock package.
Index ¶
- type MockStatesInformer
- func (m *MockStatesInformer) EXPECT() *MockStatesInformerMockRecorder
- func (m *MockStatesInformer) GetAllPods() []*statesinformer.PodMeta
- func (m *MockStatesInformer) GetNode() *v1.Node
- func (m *MockStatesInformer) GetNodeSLO() *v1alpha1.NodeSLO
- func (m *MockStatesInformer) HasSynced() bool
- func (m *MockStatesInformer) RegisterCallbacks(objType reflect.Type, name, description string, ...)
- func (m *MockStatesInformer) Run(stopCh <-chan struct{}) error
- type MockStatesInformerMockRecorder
- func (mr *MockStatesInformerMockRecorder) GetAllPods() *gomock.Call
- func (mr *MockStatesInformerMockRecorder) GetNode() *gomock.Call
- func (mr *MockStatesInformerMockRecorder) GetNodeSLO() *gomock.Call
- func (mr *MockStatesInformerMockRecorder) HasSynced() *gomock.Call
- func (mr *MockStatesInformerMockRecorder) RegisterCallbacks(objType, name, description, callbackFn interface{}) *gomock.Call
- func (mr *MockStatesInformerMockRecorder) Run(stopCh interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockStatesInformer ¶
type MockStatesInformer struct {
// contains filtered or unexported fields
}
MockStatesInformer is a mock of StatesInformer interface.
func NewMockStatesInformer ¶
func NewMockStatesInformer(ctrl *gomock.Controller) *MockStatesInformer
NewMockStatesInformer creates a new mock instance.
func (*MockStatesInformer) EXPECT ¶
func (m *MockStatesInformer) EXPECT() *MockStatesInformerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockStatesInformer) GetAllPods ¶
func (m *MockStatesInformer) GetAllPods() []*statesinformer.PodMeta
GetAllPods mocks base method.
func (*MockStatesInformer) GetNode ¶
func (m *MockStatesInformer) GetNode() *v1.Node
GetNode mocks base method.
func (*MockStatesInformer) GetNodeSLO ¶ added in v0.4.0
func (m *MockStatesInformer) GetNodeSLO() *v1alpha1.NodeSLO
GetNodeSLO mocks base method.
func (*MockStatesInformer) HasSynced ¶
func (m *MockStatesInformer) HasSynced() bool
HasSynced mocks base method.
func (*MockStatesInformer) RegisterCallbacks ¶ added in v0.4.0
func (m *MockStatesInformer) RegisterCallbacks(objType reflect.Type, name, description string, callbackFn statesinformer.UpdateCbFn)
RegisterCallbacks mocks base method.
func (*MockStatesInformer) Run ¶
func (m *MockStatesInformer) Run(stopCh <-chan struct{}) error
Run mocks base method.
type MockStatesInformerMockRecorder ¶
type MockStatesInformerMockRecorder struct {
// contains filtered or unexported fields
}
MockStatesInformerMockRecorder is the mock recorder for MockStatesInformer.
func (*MockStatesInformerMockRecorder) GetAllPods ¶
func (mr *MockStatesInformerMockRecorder) GetAllPods() *gomock.Call
GetAllPods indicates an expected call of GetAllPods.
func (*MockStatesInformerMockRecorder) GetNode ¶
func (mr *MockStatesInformerMockRecorder) GetNode() *gomock.Call
GetNode indicates an expected call of GetNode.
func (*MockStatesInformerMockRecorder) GetNodeSLO ¶ added in v0.4.0
func (mr *MockStatesInformerMockRecorder) GetNodeSLO() *gomock.Call
GetNodeSLO indicates an expected call of GetNodeSLO.
func (*MockStatesInformerMockRecorder) HasSynced ¶
func (mr *MockStatesInformerMockRecorder) HasSynced() *gomock.Call
HasSynced indicates an expected call of HasSynced.
func (*MockStatesInformerMockRecorder) RegisterCallbacks ¶ added in v0.4.0
func (mr *MockStatesInformerMockRecorder) RegisterCallbacks(objType, name, description, callbackFn interface{}) *gomock.Call
RegisterCallbacks indicates an expected call of RegisterCallbacks.
func (*MockStatesInformerMockRecorder) Run ¶
func (mr *MockStatesInformerMockRecorder) Run(stopCh interface{}) *gomock.Call
Run indicates an expected call of Run.