mock_statesinformer

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Aug 4, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_statesinformer is a generated GoMock package.

Index

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

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 statesinformer.RegisterType, 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

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.

Jump to

Keyboard shortcuts

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