Documentation
¶
Overview ¶
Package mock_scaling is a generated GoMock package.
Index ¶
- type MockScaleHandler
- func (m *MockScaleHandler) ClearScalersCache(ctx context.Context, scalableObject interface{}) error
- func (m *MockScaleHandler) DeleteScalableObject(ctx context.Context, scalableObject interface{}) error
- func (m *MockScaleHandler) EXPECT() *MockScaleHandlerMockRecorder
- func (m *MockScaleHandler) GetScalersCache(ctx context.Context, scalableObject interface{}) (*cache.ScalersCache, error)
- func (m *MockScaleHandler) HandleScalableObject(ctx context.Context, scalableObject interface{}) error
- type MockScaleHandlerMockRecorder
- func (mr *MockScaleHandlerMockRecorder) ClearScalersCache(ctx, scalableObject interface{}) *gomock.Call
- func (mr *MockScaleHandlerMockRecorder) DeleteScalableObject(ctx, scalableObject interface{}) *gomock.Call
- func (mr *MockScaleHandlerMockRecorder) GetScalersCache(ctx, scalableObject interface{}) *gomock.Call
- func (mr *MockScaleHandlerMockRecorder) HandleScalableObject(ctx, scalableObject interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockScaleHandler ¶
type MockScaleHandler struct {
// contains filtered or unexported fields
}
MockScaleHandler is a mock of ScaleHandler interface.
func NewMockScaleHandler ¶
func NewMockScaleHandler(ctrl *gomock.Controller) *MockScaleHandler
NewMockScaleHandler creates a new mock instance.
func (*MockScaleHandler) ClearScalersCache ¶ added in v2.5.0
func (m *MockScaleHandler) ClearScalersCache(ctx context.Context, scalableObject interface{}) error
ClearScalersCache mocks base method.
func (*MockScaleHandler) DeleteScalableObject ¶
func (m *MockScaleHandler) DeleteScalableObject(ctx context.Context, scalableObject interface{}) error
DeleteScalableObject mocks base method.
func (*MockScaleHandler) EXPECT ¶
func (m *MockScaleHandler) EXPECT() *MockScaleHandlerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScaleHandler) GetScalersCache ¶ added in v2.5.0
func (m *MockScaleHandler) GetScalersCache(ctx context.Context, scalableObject interface{}) (*cache.ScalersCache, error)
GetScalersCache mocks base method.
func (*MockScaleHandler) HandleScalableObject ¶
func (m *MockScaleHandler) HandleScalableObject(ctx context.Context, scalableObject interface{}) error
HandleScalableObject mocks base method.
type MockScaleHandlerMockRecorder ¶
type MockScaleHandlerMockRecorder struct {
// contains filtered or unexported fields
}
MockScaleHandlerMockRecorder is the mock recorder for MockScaleHandler.
func (*MockScaleHandlerMockRecorder) ClearScalersCache ¶ added in v2.5.0
func (mr *MockScaleHandlerMockRecorder) ClearScalersCache(ctx, scalableObject interface{}) *gomock.Call
ClearScalersCache indicates an expected call of ClearScalersCache.
func (*MockScaleHandlerMockRecorder) DeleteScalableObject ¶
func (mr *MockScaleHandlerMockRecorder) DeleteScalableObject(ctx, scalableObject interface{}) *gomock.Call
DeleteScalableObject indicates an expected call of DeleteScalableObject.
func (*MockScaleHandlerMockRecorder) GetScalersCache ¶ added in v2.5.0
func (mr *MockScaleHandlerMockRecorder) GetScalersCache(ctx, scalableObject interface{}) *gomock.Call
GetScalersCache indicates an expected call of GetScalersCache.
func (*MockScaleHandlerMockRecorder) HandleScalableObject ¶
func (mr *MockScaleHandlerMockRecorder) HandleScalableObject(ctx, scalableObject interface{}) *gomock.Call
HandleScalableObject indicates an expected call of HandleScalableObject.