mocks

package
v1.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory struct {
	mock.Mock
}

Factory is an autogenerated mock type for the Factory type

func NewFactory

func NewFactory(t mockConstructorTestingTNewFactory) *Factory

NewFactory creates a new instance of Factory. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.

func (*Factory) BindFlags

func (_m *Factory) BindFlags(flags *pflag.FlagSet)

BindFlags provides a mock function with given fields: flags

func (*Factory) ClientConfig

func (_m *Factory) ClientConfig() (*rest.Config, error)

ClientConfig provides a mock function with given fields:

func (*Factory) DynamicClient

func (_m *Factory) DynamicClient() (dynamic.Interface, error)

DynamicClient provides a mock function with given fields:

func (*Factory) KubeClient

func (_m *Factory) KubeClient() (kubernetes.Interface, error)

KubeClient provides a mock function with given fields:

func (*Factory) KubebuilderClient

func (_m *Factory) KubebuilderClient() (pkgclient.Client, error)

KubebuilderClient provides a mock function with given fields:

func (*Factory) KubebuilderWatchClient

func (_m *Factory) KubebuilderWatchClient() (pkgclient.WithWatch, error)

KubebuilderWatchClient provides a mock function with given fields:

func (*Factory) Namespace

func (_m *Factory) Namespace() string

Namespace provides a mock function with given fields:

func (*Factory) SetBasename

func (_m *Factory) SetBasename(_a0 string)

SetBasename provides a mock function with given fields: _a0

func (*Factory) SetClientBurst

func (_m *Factory) SetClientBurst(_a0 int)

SetClientBurst provides a mock function with given fields: _a0

func (*Factory) SetClientQPS

func (_m *Factory) SetClientQPS(_a0 float32)

SetClientQPS provides a mock function with given fields: _a0

Jump to

Keyboard shortcuts

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