mocks

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 14, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DaemonSetAnnotator

type DaemonSetAnnotator struct {
	mock.Mock
}

DaemonSetAnnotator is an autogenerated mock type for the DaemonSetAnnotator type

func NewDaemonSetAnnotator

func NewDaemonSetAnnotator(t mockConstructorTestingTNewDaemonSetAnnotator) *DaemonSetAnnotator

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

func (*DaemonSetAnnotator) SetAnnotation

func (_m *DaemonSetAnnotator) SetAnnotation(ctx context.Context, name types.NamespacedName, key string, value string) error

SetAnnotation provides a mock function with given fields: ctx, name, key, value

type DaemonSetProber

type DaemonSetProber struct {
	mock.Mock
}

DaemonSetProber is an autogenerated mock type for the DaemonSetProber type

func NewDaemonSetProber

func NewDaemonSetProber(t mockConstructorTestingTNewDaemonSetProber) *DaemonSetProber

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

func (*DaemonSetProber) IsReady

func (_m *DaemonSetProber) IsReady(ctx context.Context, name types.NamespacedName) (bool, error)

IsReady provides a mock function with given fields: ctx, name

Jump to

Keyboard shortcuts

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