kubernetes

package
v2.0.0-alpha2 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: BSD-2-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewKubernetesContext

func NewKubernetesContext() *wfl.Context

NewKubernetesContext creates a new Context which executes tasks of the workflow in Kubernetes.

func NewKubernetesContextByCfg

func NewKubernetesContextByCfg(cfg Config) *wfl.Context

NewKubernetesContextByCfg creates a new Context with kubernetes as task execution engine. The KubernetesConfig configures details, like a default container image which is required when Run() is used or no JobCategory is set in the JobTemplate.

Types

type Config

type Config struct {
	DefaultImage    string
	DBFile          string
	DefaultTemplate drmaa2interface.JobTemplate
}

Config describes the default container image to use when no other is specified in the JobCategory of the JobTemplate. This allows to use the Run() method instead of RunT().

Jump to

Keyboard shortcuts

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