Documentation ¶
Overview ¶
Package mock_scale is a generated GoMock package.
Index ¶
- type MockScaleInterface
- func (m *MockScaleInterface) EXPECT() *MockScaleInterfaceMockRecorder
- func (m *MockScaleInterface) Get(ctx context.Context, resource schema.GroupResource, name string, ...) (*v1.Scale, error)
- func (m *MockScaleInterface) Patch(ctx context.Context, gvr schema.GroupVersionResource, name string, ...) (*v1.Scale, error)
- func (m *MockScaleInterface) Update(ctx context.Context, resource schema.GroupResource, scale *v1.Scale, ...) (*v1.Scale, error)
- type MockScaleInterfaceMockRecorder
- func (mr *MockScaleInterfaceMockRecorder) Get(ctx, resource, name, opts interface{}) *gomock.Call
- func (mr *MockScaleInterfaceMockRecorder) Patch(ctx, gvr, name, pt, data, opts interface{}) *gomock.Call
- func (mr *MockScaleInterfaceMockRecorder) Update(ctx, resource, scale, opts interface{}) *gomock.Call
- type MockScalesGetter
- type MockScalesGetterMockRecorder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockScaleInterface ¶
type MockScaleInterface struct {
// contains filtered or unexported fields
}
MockScaleInterface is a mock of ScaleInterface interface.
func NewMockScaleInterface ¶
func NewMockScaleInterface(ctrl *gomock.Controller) *MockScaleInterface
NewMockScaleInterface creates a new mock instance.
func (*MockScaleInterface) EXPECT ¶
func (m *MockScaleInterface) EXPECT() *MockScaleInterfaceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScaleInterface) Get ¶
func (m *MockScaleInterface) Get(ctx context.Context, resource schema.GroupResource, name string, opts v10.GetOptions) (*v1.Scale, error)
Get mocks base method.
func (*MockScaleInterface) Patch ¶
func (m *MockScaleInterface) Patch(ctx context.Context, gvr schema.GroupVersionResource, name string, pt types.PatchType, data []byte, opts v10.PatchOptions) (*v1.Scale, error)
Patch mocks base method.
func (*MockScaleInterface) Update ¶
func (m *MockScaleInterface) Update(ctx context.Context, resource schema.GroupResource, scale *v1.Scale, opts v10.UpdateOptions) (*v1.Scale, error)
Update mocks base method.
type MockScaleInterfaceMockRecorder ¶
type MockScaleInterfaceMockRecorder struct {
// contains filtered or unexported fields
}
MockScaleInterfaceMockRecorder is the mock recorder for MockScaleInterface.
func (*MockScaleInterfaceMockRecorder) Get ¶
func (mr *MockScaleInterfaceMockRecorder) Get(ctx, resource, name, opts interface{}) *gomock.Call
Get indicates an expected call of Get.
func (*MockScaleInterfaceMockRecorder) Patch ¶
func (mr *MockScaleInterfaceMockRecorder) Patch(ctx, gvr, name, pt, data, opts interface{}) *gomock.Call
Patch indicates an expected call of Patch.
func (*MockScaleInterfaceMockRecorder) Update ¶
func (mr *MockScaleInterfaceMockRecorder) Update(ctx, resource, scale, opts interface{}) *gomock.Call
Update indicates an expected call of Update.
type MockScalesGetter ¶
type MockScalesGetter struct {
// contains filtered or unexported fields
}
MockScalesGetter is a mock of ScalesGetter interface.
func NewMockScalesGetter ¶
func NewMockScalesGetter(ctrl *gomock.Controller) *MockScalesGetter
NewMockScalesGetter creates a new mock instance.
func (*MockScalesGetter) EXPECT ¶
func (m *MockScalesGetter) EXPECT() *MockScalesGetterMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockScalesGetter) Scales ¶
func (m *MockScalesGetter) Scales(namespace string) scale.ScaleInterface
Scales mocks base method.
type MockScalesGetterMockRecorder ¶
type MockScalesGetterMockRecorder struct {
// contains filtered or unexported fields
}
MockScalesGetterMockRecorder is the mock recorder for MockScalesGetter.
func (*MockScalesGetterMockRecorder) Scales ¶
func (mr *MockScalesGetterMockRecorder) Scales(namespace interface{}) *gomock.Call
Scales indicates an expected call of Scales.