runner

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2020 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ContainerName = "runner"
)

Variables

This section is empty.

Functions

func Container added in v0.2.12

func Container(r Runner, ws *v1alpha1.Workspace, image string) corev1.Container

func Pod added in v0.2.12

func Pod(r Runner, ws *v1alpha1.Workspace, image string) *corev1.Pod

func RunPod added in v0.2.12

func RunPod(run *v1alpha1.Run, ws *v1alpha1.Workspace, image string) *corev1.Pod

func WorkspacePod added in v0.2.12

func WorkspacePod(ws *v1alpha1.Workspace, image string) *corev1.Pod

Types

type Runner

type Runner interface {
	controllerutil.Object
	ContainerArgs() []string
	GetHandshake() bool
	GetHandshakeTimeout() string
	WorkingDir() string
	PodName() string
}

Jump to

Keyboard shortcuts

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