util

package
v1.12.1 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckError

func CheckError(err error)

CheckError prints err to stderr and exits with code 1 if err is not nil. Otherwise, it is a no-op.

func GetOpenEBSNamespace

func GetOpenEBSNamespace() string

GetOpenEBSNamespace gets the openebs namespace set to the OPENEBS_NAMESPACE env

func GetUpgradeTaskLabel added in v1.11.1

func GetUpgradeTaskLabel() string

GetUpgradeTaskLabel gets the upgradeTask label set to the UPGRADE_TASK_LABEL env

Types

This section is empty.

Jump to

Keyboard shortcuts

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