svc

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2021 License: Apache-2.0 Imports: 15 Imported by: 2

Documentation

Index

Constants

View Source
const (
	// ConfigMapTaskHostFmt key in config map
	ConfigMapTaskHostFmt = "%s.host"
	// EnvTaskHostFmt is the key for host list in environment
	EnvTaskHostFmt = "VC_%s_HOSTS"
	// EnvHostNumFmt is the key for host number in environment
	EnvHostNumFmt = "VC_%s_NUM"

	// ConfigMapMountPath mount path
	ConfigMapMountPath = "/etc/volcano"
)

Variables

This section is empty.

Functions

func GenerateHosts added in v0.4.1

func GenerateHosts(job *batch.Job) map[string]string

GenerateHosts generates hostnames per task.

func New

New creates service plugin.

Types

This section is empty.

Jump to

Keyboard shortcuts

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