helper

package
v0.0.0-...-bc7bbdc Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateAndWaitUntilCrdIsReady

func CreateAndWaitUntilCrdIsReady(crd *apiextv1.CustomResourceDefinition, timeout time.Duration) error

func DefineCrdWithStatusSubresource

func DefineCrdWithStatusSubresource(kind, group string) *apiextv1.CustomResourceDefinition

func DefineCrdWithoutStatusSubresource

func DefineCrdWithoutStatusSubresource(kind, group string) *apiextv1.CustomResourceDefinition

func DefineDaemonSetWithStdoutBuffers

func DefineDaemonSetWithStdoutBuffers(name, namespace string, stdoutBuffers []string) *appsv1.DaemonSet

func DefineDaemonSetWithTerminationMsgPolicies

func DefineDaemonSetWithTerminationMsgPolicies(name, namespace string,
	policies []corev1.TerminationMessagePolicy) *appsv1.DaemonSet

func DefineDeploymentWithStdoutBuffers

func DefineDeploymentWithStdoutBuffers(name, namespace string, replicas int, stdoutBuffers []string) *appsv1.Deployment

DefineDeploymentWithStdoutBuffers defines a deployment with a given name and replicas number, creating a container spec for each entry in the stdoutBuffers slice. The number of containers is not needed as a parameter, as it will match the number of entries in stdoutBuffers. There are equivalent functions for statefulSets and daemonSets.

func DefineDeploymentWithTerminationMsgPolicies

func DefineDeploymentWithTerminationMsgPolicies(name, namespace string, replicas int,
	policies []corev1.TerminationMessagePolicy) *appsv1.Deployment

func DefineDeploymentWithoutTargetLabels

func DefineDeploymentWithoutTargetLabels(name, namespace string) *appsv1.Deployment

func DefinePodWithStdoutBuffer

func DefinePodWithStdoutBuffer(name, namespace string, stdoutBuffer string) *corev1.Pod

func DefineStatefulSetWithStdoutBuffers

func DefineStatefulSetWithStdoutBuffers(name, namespace string, replicas int, stdoutBuffers []string) *appsv1.StatefulSet

func DefineStatefulSetWithTerminationMsgPolicies

func DefineStatefulSetWithTerminationMsgPolicies(name, namespace string, replicas int,
	policies []corev1.TerminationMessagePolicy) *appsv1.StatefulSet

func DeleteCrdAndWaitUntilIsRemoved

func DeleteCrdAndWaitUntilIsRemoved(crd string, timeout time.Duration)

func GetCertsuiteTargetPodLabelsSlice

func GetCertsuiteTargetPodLabelsSlice() []string

For some reason, there's a function that expects labels' key/values separated by colon instead of the equal char.

Types

This section is empty.

Jump to

Keyboard shortcuts

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