fixture

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HaveSameUIDs

func HaveSameUIDs(pods1 []corev1.Pod, pods2 []corev1.Pod) bool

HaveSameUIDs returns if pods1 and pods2 are same based on their UIDs

func NewCommonNginxDeployment

func NewCommonNginxDeployment(name, namespace string, replicas int32) *appsv1.Deployment

NewCommonNginxDeployment would create a nginx deployment

func NewCommonNginxPod

func NewCommonNginxPod(name, namespace string) *corev1.Pod

NewCommonNginxPod describe that we use common nginx pod to be tested in our chaos-operator test

func NewTimerDeployment

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

NewTimerDeployment would create a timer deployment

Types

This section is empty.

Jump to

Keyboard shortcuts

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