Documentation ¶
Overview ¶
Package mock_patch is a generated GoMock package.
Index ¶
- type MockPatchAnnotator
- func (m *MockPatchAnnotator) EXPECT() *MockPatchAnnotatorMockRecorder
- func (m *MockPatchAnnotator) GetModifiedConfiguration(arg0 runtime.Object, arg1 bool) ([]byte, error)
- func (m *MockPatchAnnotator) GetOriginalConfiguration(arg0 runtime.Object) ([]byte, error)
- func (m *MockPatchAnnotator) SetLastAppliedAnnotation(arg0 runtime.Object) error
- func (m *MockPatchAnnotator) SetOriginalConfiguration(arg0 runtime.Object, arg1 []byte) error
- type MockPatchAnnotatorMockRecorder
- func (mr *MockPatchAnnotatorMockRecorder) GetModifiedConfiguration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockPatchAnnotatorMockRecorder) GetOriginalConfiguration(arg0 interface{}) *gomock.Call
- func (mr *MockPatchAnnotatorMockRecorder) SetLastAppliedAnnotation(arg0 interface{}) *gomock.Call
- func (mr *MockPatchAnnotatorMockRecorder) SetOriginalConfiguration(arg0, arg1 interface{}) *gomock.Call
- type MockPatchMaker
- type MockPatchMakerMockRecorder
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 ¶
func (m *MockPatchAnnotator) EXPECT() *MockPatchAnnotatorMockRecorder
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 ¶
func (m *MockPatchMaker) EXPECT() *MockPatchMakerMockRecorder
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.