mocks

package
v0.0.0-...-438ebf8 Latest Latest
Warning

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

Go to latest
Published: Apr 9, 2024 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 K8sClientProvider

type K8sClientProvider struct {
	mock.Mock
}

K8sClientProvider is an autogenerated mock type for the K8sClientProvider type

func NewK8sClientProvider

func NewK8sClientProvider(t interface {
	mock.TestingT
	Cleanup(func())
}) *K8sClientProvider

NewK8sClientProvider creates a new instance of K8sClientProvider. 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 (*K8sClientProvider) CreateK8SClient

func (_m *K8sClientProvider) CreateK8SClient(kubeconfigRaw string) (kubernetes.Interface, apperrors.AppError)

CreateK8SClient provides a mock function with given fields: kubeconfigRaw

Jump to

Keyboard shortcuts

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