utils

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Expanded object statuses only used in persistent layer.
	PodStopped = "Stopped"
	// JobStopped means the job has been stopped manually by user,
	// a job can be stopped only when job has not reached a final
	// state(Succeed/Failed).
	JobStopped apiv1.JobConditionType = "Stopped"
	// JobStopping is a intermediate state before truly Stopped.
	JobStopping apiv1.JobConditionType = "Stopping"
)

Variables

This section is empty.

Functions

func GetEnvOrDefault

func GetEnvOrDefault(key string, defaultVal string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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