Documentation ¶
Overview ¶
Package mock_k8s_utils is a generated GoMock package.
Index ¶
- type MockClientInt
- func (m *MockClientInt) ApplyCrd(crd v1.CustomResourceDefinition) error
- func (m *MockClientInt) DeleteCrd(name string) error
- func (m *MockClientInt) EXPECT() *MockClientIntMockRecorder
- func (m *MockClientInt) FetchCrds() error
- func (m *MockClientInt) FetchGroup(groupPath string) error
- func (m *MockClientInt) GetCrd(name string) *v1.CustomResourceDefinition
- func (m *MockClientInt) GetCrds() []v1.CustomResourceDefinition
- func (m *MockClientInt) GetGroup() string
- func (m *MockClientInt) ListResources(crd v1.CustomResourceDefinition) ([]unstructured.Unstructured, error)
- type MockClientIntMockRecorder
- func (mr *MockClientIntMockRecorder) ApplyCrd(crd interface{}) *gomock.Call
- func (mr *MockClientIntMockRecorder) DeleteCrd(name interface{}) *gomock.Call
- func (mr *MockClientIntMockRecorder) FetchCrds() *gomock.Call
- func (mr *MockClientIntMockRecorder) FetchGroup(crd interface{}) *gomock.Call
- func (mr *MockClientIntMockRecorder) GetCrd(name interface{}) *gomock.Call
- func (mr *MockClientIntMockRecorder) GetCrds() *gomock.Call
- func (mr *MockClientIntMockRecorder) GetGroup() *gomock.Call
- func (mr *MockClientIntMockRecorder) ListResources(crd interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClientInt ¶
type MockClientInt struct {
// contains filtered or unexported fields
}
MockClientInt is a mock of ClientInt interface.
func NewMockClientInt ¶
func NewMockClientInt(ctrl *gomock.Controller) *MockClientInt
NewMockClientInt creates a new mock instance.
func (*MockClientInt) ApplyCrd ¶
func (m *MockClientInt) ApplyCrd(crd v1.CustomResourceDefinition) error
ApplyCrd mocks base method.
func (*MockClientInt) DeleteCrd ¶
func (m *MockClientInt) DeleteCrd(name string) error
DeleteCrd mocks base method.
func (*MockClientInt) EXPECT ¶
func (m *MockClientInt) EXPECT() *MockClientIntMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockClientInt) FetchCrds ¶
func (m *MockClientInt) FetchCrds() error
FetchCrds mocks base method.
func (*MockClientInt) FetchGroup ¶
func (m *MockClientInt) FetchGroup(groupPath string) error
ListResources mocks base method.
func (*MockClientInt) GetCrd ¶
func (m *MockClientInt) GetCrd(name string) *v1.CustomResourceDefinition
GetCrd mocks base method.
func (*MockClientInt) GetCrds ¶
func (m *MockClientInt) GetCrds() []v1.CustomResourceDefinition
GetCrds mocks base method.
func (*MockClientInt) GetGroup ¶
func (m *MockClientInt) GetGroup() string
GetGroup mocks base method.
func (*MockClientInt) ListResources ¶
func (m *MockClientInt) ListResources(crd v1.CustomResourceDefinition) ([]unstructured.Unstructured, error)
ListResources mocks base method.
type MockClientIntMockRecorder ¶
type MockClientIntMockRecorder struct {
// contains filtered or unexported fields
}
MockClientIntMockRecorder is the mock recorder for MockClientInt.
func (*MockClientIntMockRecorder) ApplyCrd ¶
func (mr *MockClientIntMockRecorder) ApplyCrd(crd interface{}) *gomock.Call
ApplyCrd indicates an expected call of ApplyCrd.
func (*MockClientIntMockRecorder) DeleteCrd ¶
func (mr *MockClientIntMockRecorder) DeleteCrd(name interface{}) *gomock.Call
DeleteCrd indicates an expected call of DeleteCrd.
func (*MockClientIntMockRecorder) FetchCrds ¶
func (mr *MockClientIntMockRecorder) FetchCrds() *gomock.Call
FetchCrds indicates an expected call of FetchCrds.
func (*MockClientIntMockRecorder) FetchGroup ¶
func (mr *MockClientIntMockRecorder) FetchGroup(crd interface{}) *gomock.Call
ListResources indicates an expected call of ListResources.
func (*MockClientIntMockRecorder) GetCrd ¶
func (mr *MockClientIntMockRecorder) GetCrd(name interface{}) *gomock.Call
GetCrd indicates an expected call of GetCrd.
func (*MockClientIntMockRecorder) GetCrds ¶
func (mr *MockClientIntMockRecorder) GetCrds() *gomock.Call
GetCrds indicates an expected call of GetCrds.
func (*MockClientIntMockRecorder) GetGroup ¶
func (mr *MockClientIntMockRecorder) GetGroup() *gomock.Call
GetGroup indicates an expected call of GetGroup.
func (*MockClientIntMockRecorder) ListResources ¶
func (mr *MockClientIntMockRecorder) ListResources(crd interface{}) *gomock.Call
ListResources indicates an expected call of ListResources.