testobj

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2021 License: MPL-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigMap added in v0.0.5

func ConfigMap(namespace, name string, opts ...func(*corev1.ConfigMap)) *corev1.ConfigMap

func PVC added in v0.0.7

func PVC(namespace, name string, opts ...func(*corev1.PersistentVolumeClaim)) *corev1.PersistentVolumeClaim

func Run

func Run(namespace, name string, command string, opts ...func(*v1alpha1.Run)) *v1alpha1.Run

func RunPod

func RunPod(namespace, name string, opts ...func(*corev1.Pod)) *corev1.Pod

func Secret

func Secret(namespace, name string, opts ...func(*corev1.Secret)) *corev1.Secret

func WithAnnotations added in v0.0.7

func WithAnnotations(keyValues ...string) func(*v1alpha1.Workspace)

func WithApprovals

func WithApprovals(run ...string) func(*v1alpha1.Workspace)

func WithArgs added in v0.0.2

func WithArgs(args ...string) func(*v1alpha1.Run)

func WithCombinedQueue added in v0.0.7

func WithCombinedQueue(run ...string) func(*v1alpha1.Workspace)

func WithCompressedDataFromFile added in v0.0.7

func WithCompressedDataFromFile(k, path string) func(*corev1.Secret)

func WithCondition added in v0.0.7

func WithCondition(condition string) func(*v1alpha1.Run)

func WithConfigMapPath

func WithConfigMapPath(path string) func(*v1alpha1.Run)

func WithDataFromFile added in v0.0.7

func WithDataFromFile(k, path string) func(*corev1.Secret)

func WithDeleteTimestamp added in v0.0.7

func WithDeleteTimestamp() func(*v1alpha1.Workspace)

func WithEnvironmentVariables added in v0.0.5

func WithEnvironmentVariables(keyValues ...string) func(*v1alpha1.Workspace)

func WithEphemeral added in v0.0.9

func WithEphemeral() func(*v1alpha1.Workspace)

func WithInstallerExitCode added in v0.0.2

func WithInstallerExitCode(code int32) func(*corev1.Pod)

func WithPVCPhase added in v0.0.7

func WithPhase

func WithPhase(phase corev1.PodPhase) func(*corev1.Pod)

func WithPrivilegedCommands

func WithPrivilegedCommands(cmds ...string) func(*v1alpha1.Workspace)

func WithRunExitCode added in v0.0.7

func WithRunExitCode(code int) func(*v1alpha1.Run)

Set exit code in run status

func WithRunPhase

func WithRunPhase(phase v1alpha1.RunPhase) func(*v1alpha1.Run)

func WithRunnerExitCode added in v0.0.2

func WithRunnerExitCode(code int32) func(*corev1.Pod)

func WithStorageClass

func WithStorageClass(class *string) func(*v1alpha1.Workspace)

func WithStringData

func WithStringData(k, v string) func(*corev1.Secret)

func WithTerraformVersion

func WithTerraformVersion(version string) func(*v1alpha1.Workspace)

func WithVariables added in v0.0.5

func WithVariables(keyValues ...string) func(*v1alpha1.Workspace)

func WithWorkspace

func WithWorkspace(workspace string) func(*v1alpha1.Run)

func Workspace

func Workspace(namespace, name string, opts ...func(*v1alpha1.Workspace)) *v1alpha1.Workspace

func WorkspacePod

func WorkspacePod(namespace, name string, opts ...func(*corev1.Pod)) *corev1.Pod

Types

This section is empty.

Jump to

Keyboard shortcuts

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