spoketesting

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAppliedManifestWork

func NewAppliedManifestWork(hash string, index int, uid types.UID) *workapiv1.AppliedManifestWork

func NewFakeRestMapper

func NewFakeRestMapper() meta.RESTMapper

func NewManifestWork

func NewManifestWork(index int, objects ...*unstructured.Unstructured) (*workapiv1.ManifestWork, string)

func NewSecret

func NewSecret(name, namespace string, content string) *corev1.Secret

func NewSecretWithType

func NewSecretWithType(name, namespace string, content string, t corev1.SecretType) *corev1.Secret

func NewUnstructured

func NewUnstructured(apiVersion, kind, namespace, name string, owners ...metav1.OwnerReference) *unstructured.Unstructured

func NewUnstructuredSecret

func NewUnstructuredSecret(namespace, name string, terminated bool, uid string, owners ...metav1.OwnerReference) *unstructured.Unstructured

func NewUnstructuredWithContent

func NewUnstructuredWithContent(
	apiVersion, kind, namespace, name string, content map[string]interface{}) *unstructured.Unstructured

Types

This section is empty.

Jump to

Keyboard shortcuts

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