env

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2018 License: Apache-2.0 Imports: 4 Imported by: 18

Documentation

Index

Constants

View Source
const (
	Separator = ":"
)

Variables

This section is empty.

Functions

func GetBaseNamespace added in v0.2.0

func GetBaseNamespace() string

GetBaseNamespace returns default namespace when user set empty one

func SplitCommand added in v0.2.0

func SplitCommand() []string

Types

type Dependency added in v0.2.0

type Dependency struct {
	Name      string
	Namespace string
}

func SplitEnvToDeps added in v0.2.0

func SplitEnvToDeps(env string) (envList []Dependency)

SplitEnvToDeps returns list of namespaces and names pairs

type JobDependency added in v0.3.1

type JobDependency struct {
	Name      string
	Labels    map[string]string
	Namespace string
}

func SplitJobEnvToDeps added in v0.3.1

func SplitJobEnvToDeps(env string, jsonEnv string) []JobDependency

SplitJobEnvToDeps returns list of JobDependency

type PodDependency added in v0.3.0

type PodDependency struct {
	Labels          map[string]string
	Namespace       string
	RequireSameNode bool
}

func SplitPodEnvToDeps added in v0.3.0

func SplitPodEnvToDeps(env string) []PodDependency

SplitPodEnvToDeps returns list of PodDependency

Jump to

Keyboard shortcuts

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