Documentation ¶
Index ¶
- func HaveSameUIDs(pods1 []corev1.Pod, pods2 []corev1.Pod) bool
- func NewCommonNginxDeployment(name, namespace string, replicas int32) *appsv1.Deployment
- func NewCommonNginxPod(name, namespace string) *corev1.Pod
- func NewE2EService(name, namespace string) *corev1.Service
- func NewHTTPTestDeployment(name, namespace string) *appsv1.Deployment
- func NewIOTestDeployment(name, namespace string) *appsv1.Deployment
- func NewNetworkTestDeployment(name, namespace string, extraLabels map[string]string) *appsv1.Deployment
- func NewStressTestDeployment(name, namespace string, extraLabels map[string]string) *appsv1.Deployment
- func NewTimerDeployment(name, namespace string) *appsv1.Deployment
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HaveSameUIDs ¶
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 ¶
NewCommonNginxPod describe that we use common nginx pod to be tested in our chaos-operator test
func NewE2EService ¶
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.
Click to show internal directories.
Click to hide internal directories.