mock

package
v1.1.16 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2021 License: Apache-2.0 Imports: 5 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockHelper

type MockHelper struct {
	// contains filtered or unexported fields
}

MockHelper is a mock of Helper interface

func NewMockHelper

func NewMockHelper(ctrl *gomock.Controller) *MockHelper

NewMockHelper creates a new mock instance

func (*MockHelper) Apply

func (m *MockHelper) Apply(obj []byte) (resource.ApplyResult, error)

Apply mocks base method

func (*MockHelper) ApplyRuntimeObject

func (m *MockHelper) ApplyRuntimeObject(obj runtime.Object, scheme *runtime.Scheme) (resource.ApplyResult, error)

ApplyRuntimeObject mocks base method

func (*MockHelper) Create

func (m *MockHelper) Create(obj []byte) (resource.ApplyResult, error)

Create mocks base method

func (*MockHelper) CreateOrUpdate

func (m *MockHelper) CreateOrUpdate(obj []byte) (resource.ApplyResult, error)

CreateOrUpdate mocks base method

func (*MockHelper) CreateOrUpdateRuntimeObject

func (m *MockHelper) CreateOrUpdateRuntimeObject(obj runtime.Object, scheme *runtime.Scheme) (resource.ApplyResult, error)

CreateOrUpdateRuntimeObject mocks base method

func (*MockHelper) CreateRuntimeObject

func (m *MockHelper) CreateRuntimeObject(obj runtime.Object, scheme *runtime.Scheme) (resource.ApplyResult, error)

CreateRuntimeObject mocks base method

func (*MockHelper) Delete

func (m *MockHelper) Delete(apiVersion, kind, namespace, name string) error

Delete mocks base method

func (*MockHelper) EXPECT

func (m *MockHelper) EXPECT() *MockHelperMockRecorder

EXPECT returns an object that allows the caller to indicate expected use

func (*MockHelper) Info

func (m *MockHelper) Info(obj []byte) (*resource.Info, error)

Info mocks base method

func (*MockHelper) Patch

func (m *MockHelper) Patch(name types.NamespacedName, kind, apiVersion string, patch []byte, patchType string) error

Patch mocks base method

type MockHelperMockRecorder

type MockHelperMockRecorder struct {
	// contains filtered or unexported fields
}

MockHelperMockRecorder is the mock recorder for MockHelper

func (*MockHelperMockRecorder) Apply

func (mr *MockHelperMockRecorder) Apply(obj interface{}) *gomock.Call

Apply indicates an expected call of Apply

func (*MockHelperMockRecorder) ApplyRuntimeObject

func (mr *MockHelperMockRecorder) ApplyRuntimeObject(obj, scheme interface{}) *gomock.Call

ApplyRuntimeObject indicates an expected call of ApplyRuntimeObject

func (*MockHelperMockRecorder) Create

func (mr *MockHelperMockRecorder) Create(obj interface{}) *gomock.Call

Create indicates an expected call of Create

func (*MockHelperMockRecorder) CreateOrUpdate

func (mr *MockHelperMockRecorder) CreateOrUpdate(obj interface{}) *gomock.Call

CreateOrUpdate indicates an expected call of CreateOrUpdate

func (*MockHelperMockRecorder) CreateOrUpdateRuntimeObject

func (mr *MockHelperMockRecorder) CreateOrUpdateRuntimeObject(obj, scheme interface{}) *gomock.Call

CreateOrUpdateRuntimeObject indicates an expected call of CreateOrUpdateRuntimeObject

func (*MockHelperMockRecorder) CreateRuntimeObject

func (mr *MockHelperMockRecorder) CreateRuntimeObject(obj, scheme interface{}) *gomock.Call

CreateRuntimeObject indicates an expected call of CreateRuntimeObject

func (*MockHelperMockRecorder) Delete

func (mr *MockHelperMockRecorder) Delete(apiVersion, kind, namespace, name interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockHelperMockRecorder) Info

func (mr *MockHelperMockRecorder) Info(obj interface{}) *gomock.Call

Info indicates an expected call of Info

func (*MockHelperMockRecorder) Patch

func (mr *MockHelperMockRecorder) Patch(name, kind, apiVersion, patch, patchType interface{}) *gomock.Call

Patch indicates an expected call of Patch

Jump to

Keyboard shortcuts

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