Documentation ¶
Index ¶
- 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 ¶
This section is empty.
Types ¶
type Helper ¶
Helper is an autogenerated mock type for the Helper type
func NewHelper ¶
func NewHelper(t mockConstructorTestingTNewHelper) *Helper
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.
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:
Click to show internal directories.
Click to hide internal directories.