mock_scale

package
v2.6.1 Latest Latest
Warning

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

Go to latest
Published: Feb 10, 2022 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Package mock_scale is a generated GoMock package.

Index

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

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

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

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.

Jump to

Keyboard shortcuts

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