Documentation ¶
Overview ¶
Package mock is a generated GoMock package.
Index ¶
- type MockHelper
- func (m *MockHelper) Apply(obj []byte) (resource.ApplyResult, error)
- func (m *MockHelper) ApplyRuntimeObject(obj runtime.Object, scheme *runtime.Scheme) (resource.ApplyResult, error)
- func (m *MockHelper) Create(obj []byte) (resource.ApplyResult, error)
- func (m *MockHelper) CreateOrUpdate(obj []byte) (resource.ApplyResult, error)
- func (m *MockHelper) CreateOrUpdateRuntimeObject(obj runtime.Object, scheme *runtime.Scheme) (resource.ApplyResult, error)
- func (m *MockHelper) CreateRuntimeObject(obj runtime.Object, scheme *runtime.Scheme) (resource.ApplyResult, error)
- func (m *MockHelper) Delete(apiVersion, kind, namespace, name string) error
- func (m *MockHelper) EXPECT() *MockHelperMockRecorder
- func (m *MockHelper) Info(obj []byte) (*resource.Info, error)
- func (m *MockHelper) Patch(name types.NamespacedName, kind, apiVersion string, patch []byte, ...) error
- type MockHelperMockRecorder
- func (mr *MockHelperMockRecorder) Apply(obj interface{}) *gomock.Call
- func (mr *MockHelperMockRecorder) ApplyRuntimeObject(obj, scheme interface{}) *gomock.Call
- func (mr *MockHelperMockRecorder) Create(obj interface{}) *gomock.Call
- func (mr *MockHelperMockRecorder) CreateOrUpdate(obj interface{}) *gomock.Call
- func (mr *MockHelperMockRecorder) CreateOrUpdateRuntimeObject(obj, scheme interface{}) *gomock.Call
- func (mr *MockHelperMockRecorder) CreateRuntimeObject(obj, scheme interface{}) *gomock.Call
- func (mr *MockHelperMockRecorder) Delete(apiVersion, kind, namespace, name interface{}) *gomock.Call
- func (mr *MockHelperMockRecorder) Info(obj interface{}) *gomock.Call
- func (mr *MockHelperMockRecorder) Patch(name, kind, apiVersion, patch, patchType interface{}) *gomock.Call
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