mocks

package
v1.12.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

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

type Helper struct {
	mock.Mock
}

Helper is an autogenerated mock type for the Helper type

func NewHelper

func NewHelper(t interface {
	mock.TestingT
	Cleanup(func())
}) *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. The first argument is typically a *testing.T value.

func (*Helper) APIGroups

func (_m *Helper) APIGroups() []v1.APIGroup

APIGroups provides a mock function with given fields:

func (*Helper) KindFor

KindFor provides a mock function with given fields: input

func (*Helper) Refresh

func (_m *Helper) Refresh() error

Refresh provides a mock function with given fields:

func (*Helper) ResourceFor

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

func (_m *Helper) ServerVersion() *version.Info

ServerVersion provides a mock function with given fields:

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL