testutil

package
v0.0.0-...-c8fcda5 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const ExpectedError string = "expect me"

Variables

This section is empty.

Functions

This section is empty.

Types

type MockConfigMapClient

type MockConfigMapClient struct {
	corev1.ConfigMapInterface
}

func (MockConfigMapClient) Create

func (m MockConfigMapClient) Create(ctx context.Context, configMap *v1.ConfigMap, opts metav1.CreateOptions) (*v1.ConfigMap, error)

func (MockConfigMapClient) Delete

func (MockConfigMapClient) Update

func (m MockConfigMapClient) Update(ctx context.Context, configMap *v1.ConfigMap, opts metav1.UpdateOptions) (*v1.ConfigMap, error)

type MockCoreV1

type MockCoreV1 struct {
	corev1.CoreV1Interface
}

func (MockCoreV1) ConfigMaps

func (m MockCoreV1) ConfigMaps(namespace string) corev1.ConfigMapInterface

type MockErrorConfigMapClient

type MockErrorConfigMapClient struct {
	corev1.ConfigMapInterface
}

func (MockErrorConfigMapClient) Create

func (MockErrorConfigMapClient) Delete

func (MockErrorConfigMapClient) Update

type MockErrorCoreV1

type MockErrorCoreV1 struct {
	corev1.CoreV1Interface
}

func (MockErrorCoreV1) ConfigMaps

func (m MockErrorCoreV1) ConfigMaps(namespace string) corev1.ConfigMapInterface

type MockErrorK8sClient

type MockErrorK8sClient struct {
	kubernetes.Interface
}

func (MockErrorK8sClient) CoreV1

type MockK8sClient

type MockK8sClient struct {
	kubernetes.Interface
}

func (MockK8sClient) CoreV1

Jump to

Keyboard shortcuts

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