launcher

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2020 License: MPL-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var GenerateName = generateName

Generate unique name shared by run and configmap resources (and run ctrl will spawn a pod with this name, too)

Functions

This section is empty.

Types

type Launcher

type Launcher struct {
	Name           string
	Workspace      string
	Namespace      string
	Command        string
	Path           string
	Args           []string
	TimeoutClient  time.Duration
	TimeoutPod     time.Duration
	TimeoutQueue   time.Duration
	TimeoutEnqueue time.Duration

	Debug bool
}

func (*Launcher) Run

func (t *Launcher) Run(ctx context.Context) error

type WorkspaceHandler

type WorkspaceHandler func(*v1alpha1.Workspace) (bool, error)

Jump to

Keyboard shortcuts

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