fixture

package
v0.0.0-...-e541717 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2021 License: Apache-2.0 Imports: 8 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 NewE2EService

func NewE2EService(name, namespace string) *corev1.Service

NewE2EService creates a service for the E2E helper deployment

func NewHTTPTestDeployment

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

NewHTTPTestDeployment creates a deployment for e2e test

func NewIOTestDeployment

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

NewIOTestDeployment creates a deployment for e2e test

func NewNetworkTestDeployment

func NewNetworkTestDeployment(name, namespace string, extraLabels map[string]string) *appsv1.Deployment

NewNetworkTestDeployment creates a deployment for e2e test

func NewStressTestDeployment

func NewStressTestDeployment(name, namespace string, extraLabels map[string]string) *appsv1.Deployment

NewStressTestDeployment creates a deployment for e2e test

func NewTimerDeployment

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

NewTimerDeployment creates 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