mocks

package
v0.0.0-...-44822b5 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 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 ConfigMapProber

type ConfigMapProber struct {
	mock.Mock
}

ConfigMapProber is an autogenerated mock type for the ConfigMapProber type

func NewConfigMapProber

func NewConfigMapProber(t mockConstructorTestingTNewConfigMapProber) *ConfigMapProber

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

func (*ConfigMapProber) IsPresent

func (_m *ConfigMapProber) IsPresent(ctx context.Context, name types.NamespacedName) (map[string]interface{}, error)

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

type DeploymentProber

type DeploymentProber struct {
	mock.Mock
}

DeploymentProber is an autogenerated mock type for the DeploymentProber type

func NewDeploymentProber

func NewDeploymentProber(t mockConstructorTestingTNewDeploymentProber) *DeploymentProber

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

func (*DeploymentProber) IsReady

func (_m *DeploymentProber) 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