mock_patch

package
v2.0.0-...-6831f71 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_patch is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockPatchAnnotator

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

MockPatchAnnotator is a mock of PatchAnnotator interface.

func NewMockPatchAnnotator

func NewMockPatchAnnotator(ctrl *gomock.Controller) *MockPatchAnnotator

NewMockPatchAnnotator creates a new mock instance.

func (*MockPatchAnnotator) EXPECT

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

func (*MockPatchAnnotator) GetModifiedConfiguration

func (m *MockPatchAnnotator) GetModifiedConfiguration(arg0 runtime.Object, arg1 bool) ([]byte, error)

GetModifiedConfiguration mocks base method.

func (*MockPatchAnnotator) GetOriginalConfiguration

func (m *MockPatchAnnotator) GetOriginalConfiguration(arg0 runtime.Object) ([]byte, error)

GetOriginalConfiguration mocks base method.

func (*MockPatchAnnotator) SetLastAppliedAnnotation

func (m *MockPatchAnnotator) SetLastAppliedAnnotation(arg0 runtime.Object) error

SetLastAppliedAnnotation mocks base method.

func (*MockPatchAnnotator) SetOriginalConfiguration

func (m *MockPatchAnnotator) SetOriginalConfiguration(arg0 runtime.Object, arg1 []byte) error

SetOriginalConfiguration mocks base method.

type MockPatchAnnotatorMockRecorder

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

MockPatchAnnotatorMockRecorder is the mock recorder for MockPatchAnnotator.

func (*MockPatchAnnotatorMockRecorder) GetModifiedConfiguration

func (mr *MockPatchAnnotatorMockRecorder) GetModifiedConfiguration(arg0, arg1 interface{}) *gomock.Call

GetModifiedConfiguration indicates an expected call of GetModifiedConfiguration.

func (*MockPatchAnnotatorMockRecorder) GetOriginalConfiguration

func (mr *MockPatchAnnotatorMockRecorder) GetOriginalConfiguration(arg0 interface{}) *gomock.Call

GetOriginalConfiguration indicates an expected call of GetOriginalConfiguration.

func (*MockPatchAnnotatorMockRecorder) SetLastAppliedAnnotation

func (mr *MockPatchAnnotatorMockRecorder) SetLastAppliedAnnotation(arg0 interface{}) *gomock.Call

SetLastAppliedAnnotation indicates an expected call of SetLastAppliedAnnotation.

func (*MockPatchAnnotatorMockRecorder) SetOriginalConfiguration

func (mr *MockPatchAnnotatorMockRecorder) SetOriginalConfiguration(arg0, arg1 interface{}) *gomock.Call

SetOriginalConfiguration indicates an expected call of SetOriginalConfiguration.

type MockPatchMaker

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

MockPatchMaker is a mock of PatchMaker interface.

func NewMockPatchMaker

func NewMockPatchMaker(ctrl *gomock.Controller) *MockPatchMaker

NewMockPatchMaker creates a new mock instance.

func (*MockPatchMaker) Calculate

func (m *MockPatchMaker) Calculate(arg0, arg1 runtime.Object, arg2 ...patch.CalculateOption) (*patch.PatchResult, error)

Calculate mocks base method.

func (*MockPatchMaker) EXPECT

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

type MockPatchMakerMockRecorder

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

MockPatchMakerMockRecorder is the mock recorder for MockPatchMaker.

func (*MockPatchMakerMockRecorder) Calculate

func (mr *MockPatchMakerMockRecorder) Calculate(arg0, arg1 interface{}, arg2 ...interface{}) *gomock.Call

Calculate indicates an expected call of Calculate.

Jump to

Keyboard shortcuts

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