Documentation ¶
Index ¶
- func NewServerResourcesInterface(t mockConstructorTestingTnewServerResourcesInterface) *serverResourcesInterface
- type Helper
- func (_m *Helper) APIGroups() []v1.APIGroup
- func (_m *Helper) KindFor(input schema.GroupVersionKind) (schema.GroupVersionResource, v1.APIResource, error)
- func (_m *Helper) Refresh() error
- func (_m *Helper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, v1.APIResource, error)
- func (_m *Helper) Resources() []*v1.APIResourceList
- func (_m *Helper) ServerVersion() *version.Info
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServerResourcesInterface ¶
func NewServerResourcesInterface(t mockConstructorTestingTnewServerResourcesInterface) *serverResourcesInterface
NewServerResourcesInterface creates a new instance of serverResourcesInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
Types ¶
type Helper ¶
Helper is an autogenerated mock type for the Helper type
func NewHelper ¶
NewHelper creates a new instance of Helper. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Helper) KindFor ¶
func (_m *Helper) KindFor(input schema.GroupVersionKind) (schema.GroupVersionResource, v1.APIResource, error)
KindFor provides a mock function with given fields: input
func (*Helper) ResourceFor ¶
func (_m *Helper) ResourceFor(input schema.GroupVersionResource) (schema.GroupVersionResource, v1.APIResource, error)
ResourceFor provides a mock function with given fields: input
func (*Helper) Resources ¶
func (_m *Helper) Resources() []*v1.APIResourceList
Resources provides a mock function with given fields:
func (*Helper) ServerVersion ¶
ServerVersion provides a mock function with given fields: