testobj

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2020 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 WithApprovals

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

func WithBackendConfig

func WithBackendConfig(cfg map[string]string) func(*v1alpha1.Workspace)

func WithBackendType

func WithBackendType(t string) func(*v1alpha1.Workspace)

func WithConfigMapPath

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

func WithExitCode

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

func WithHandshake

func WithHandshake(timeout string) func(*v1alpha1.Workspace)

func WithPhase

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

func WithPrivilegedCommands

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

func WithQueue

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

func WithRunPhase

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

func WithSecret

func WithSecret(secret string) func(*v1alpha1.Workspace)

func WithServiceAccount

func WithServiceAccount(account string) func(*v1alpha1.Workspace)

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