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

func (*Factory) BindFlags

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

BindFlags provides a mock function with given fields: flags

func (*Factory) Client

func (_m *Factory) Client() (versioned.Interface, error)

Client provides a mock function with given fields:

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