Documentation ¶
Index ¶
- func CreateAndWaitUntilCrdIsReady(crd *apiextv1.CustomResourceDefinition, timeout time.Duration) error
- func DefineCrdWithStatusSubresource(kind, group string) *apiextv1.CustomResourceDefinition
- func DefineCrdWithoutStatusSubresource(kind, group string) *apiextv1.CustomResourceDefinition
- func DefineDaemonSetWithStdoutBuffers(name, namespace string, stdoutBuffers []string) *appsv1.DaemonSet
- func DefineDaemonSetWithTerminationMsgPolicies(name, namespace string, policies []corev1.TerminationMessagePolicy) *appsv1.DaemonSet
- func DefineDeploymentWithStdoutBuffers(name, namespace string, replicas int, stdoutBuffers []string) *appsv1.Deployment
- func DefineDeploymentWithTerminationMsgPolicies(name, namespace string, replicas int, ...) *appsv1.Deployment
- func DefineDeploymentWithoutTargetLabels(name, namespace string) *appsv1.Deployment
- func DefinePodWithStdoutBuffer(name, namespace string, stdoutBuffer string) *corev1.Pod
- func DefineStatefulSetWithStdoutBuffers(name, namespace string, replicas int, stdoutBuffers []string) *appsv1.StatefulSet
- func DefineStatefulSetWithTerminationMsgPolicies(name, namespace string, replicas int, ...) *appsv1.StatefulSet
- func DeleteCrdAndWaitUntilIsRemoved(crd string, timeout time.Duration)
- func GetCertsuiteTargetPodLabelsSlice() []string
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 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 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 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.
Click to show internal directories.
Click to hide internal directories.