Documentation
¶
Overview ¶
Package mock_meta is a generated GoMock package.
Index ¶
- type MockRESTMapper
- func (m *MockRESTMapper) EXPECT() *MockRESTMapperMockRecorder
- func (m *MockRESTMapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
- func (m *MockRESTMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
- func (m *MockRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error)
- func (m *MockRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error)
- func (m *MockRESTMapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)
- func (m *MockRESTMapper) ResourceSingularizer(resource string) (string, error)
- func (m *MockRESTMapper) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
- type MockRESTMapperMockRecorder
- func (mr *MockRESTMapperMockRecorder) KindFor(resource any) *gomock.Call
- func (mr *MockRESTMapperMockRecorder) KindsFor(resource any) *gomock.Call
- func (mr *MockRESTMapperMockRecorder) RESTMapping(gk any, versions ...any) *gomock.Call
- func (mr *MockRESTMapperMockRecorder) RESTMappings(gk any, versions ...any) *gomock.Call
- func (mr *MockRESTMapperMockRecorder) ResourceFor(input any) *gomock.Call
- func (mr *MockRESTMapperMockRecorder) ResourceSingularizer(resource any) *gomock.Call
- func (mr *MockRESTMapperMockRecorder) ResourcesFor(input any) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockRESTMapper ¶
type MockRESTMapper struct {
// contains filtered or unexported fields
}
MockRESTMapper is a mock of RESTMapper interface.
func NewMockRESTMapper ¶
func NewMockRESTMapper(ctrl *gomock.Controller) *MockRESTMapper
NewMockRESTMapper creates a new mock instance.
func (*MockRESTMapper) EXPECT ¶
func (m *MockRESTMapper) EXPECT() *MockRESTMapperMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockRESTMapper) KindFor ¶
func (m *MockRESTMapper) KindFor(resource schema.GroupVersionResource) (schema.GroupVersionKind, error)
KindFor mocks base method.
func (*MockRESTMapper) KindsFor ¶
func (m *MockRESTMapper) KindsFor(resource schema.GroupVersionResource) ([]schema.GroupVersionKind, error)
KindsFor mocks base method.
func (*MockRESTMapper) RESTMapping ¶
func (m *MockRESTMapper) RESTMapping(gk schema.GroupKind, versions ...string) (*meta.RESTMapping, error)
RESTMapping mocks base method.
func (*MockRESTMapper) RESTMappings ¶
func (m *MockRESTMapper) RESTMappings(gk schema.GroupKind, versions ...string) ([]*meta.RESTMapping, error)
RESTMappings mocks base method.
func (*MockRESTMapper) ResourceFor ¶
func (m *MockRESTMapper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, error)
ResourceFor mocks base method.
func (*MockRESTMapper) ResourceSingularizer ¶
func (m *MockRESTMapper) ResourceSingularizer(resource string) (string, error)
ResourceSingularizer mocks base method.
func (*MockRESTMapper) ResourcesFor ¶
func (m *MockRESTMapper) ResourcesFor(input schema.GroupVersionResource) ([]schema.GroupVersionResource, error)
ResourcesFor mocks base method.
type MockRESTMapperMockRecorder ¶
type MockRESTMapperMockRecorder struct {
// contains filtered or unexported fields
}
MockRESTMapperMockRecorder is the mock recorder for MockRESTMapper.
func (*MockRESTMapperMockRecorder) KindFor ¶
func (mr *MockRESTMapperMockRecorder) KindFor(resource any) *gomock.Call
KindFor indicates an expected call of KindFor.
func (*MockRESTMapperMockRecorder) KindsFor ¶
func (mr *MockRESTMapperMockRecorder) KindsFor(resource any) *gomock.Call
KindsFor indicates an expected call of KindsFor.
func (*MockRESTMapperMockRecorder) RESTMapping ¶
func (mr *MockRESTMapperMockRecorder) RESTMapping(gk any, versions ...any) *gomock.Call
RESTMapping indicates an expected call of RESTMapping.
func (*MockRESTMapperMockRecorder) RESTMappings ¶
func (mr *MockRESTMapperMockRecorder) RESTMappings(gk any, versions ...any) *gomock.Call
RESTMappings indicates an expected call of RESTMappings.
func (*MockRESTMapperMockRecorder) ResourceFor ¶
func (mr *MockRESTMapperMockRecorder) ResourceFor(input any) *gomock.Call
ResourceFor indicates an expected call of ResourceFor.
func (*MockRESTMapperMockRecorder) ResourceSingularizer ¶
func (mr *MockRESTMapperMockRecorder) ResourceSingularizer(resource any) *gomock.Call
ResourceSingularizer indicates an expected call of ResourceSingularizer.
func (*MockRESTMapperMockRecorder) ResourcesFor ¶
func (mr *MockRESTMapperMockRecorder) ResourcesFor(input any) *gomock.Call
ResourcesFor indicates an expected call of ResourcesFor.