fixtures

package
v0.3.11 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package fixtures implements helpers for setting e2e tests

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildBusyBoxPod

func BuildBusyBoxPod() corev1.Pod

BuildBusyBoxPod returns the definition of a Pod that runs busybox and waits 5min before completing

func BuildGrpcbinService added in v0.2.0

func BuildGrpcbinService() corev1.Service

BuildGrpcbinService returns a Service definition that exposes grpcbin pods at the node port 30000

func BuildGrpcpbinPod added in v0.2.0

func BuildGrpcpbinPod() corev1.Pod

BuildGrpcpbinPod returns the definition for deploying grpcbin as a Pod

func BuildHttpbinPod

func BuildHttpbinPod() corev1.Pod

BuildHttpbinPod returns the definition for deploying Httpbin as a Pod

func BuildHttpbinService

func BuildHttpbinService() corev1.Service

BuildHttpbinService returns a Service definition that exposes httpbin pods

func BuildNginxPod

func BuildNginxPod() corev1.Pod

BuildNginxPod returns the definition of a Pod that runs Nginx

func BuildNginxService

func BuildNginxService() corev1.Service

BuildNginxService returns the definition of a Service that exposes the nginx pod(s)

func BuildPausedPod

func BuildPausedPod() corev1.Pod

BuildPausedPod returns the definition of a Pod that runs the paused image in a container creating a "no-op" dummy Pod.

Types

This section is empty.

Jump to

Keyboard shortcuts

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