operation

package
v0.3.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OperationMode

type OperationMode string
const (
	RELEASE     OperationMode = "release"
	CMDLINE     OperationMode = "cmdline"
	DEVELOPMENT OperationMode = "development"
)

func GetOperationMode

func GetOperationMode() OperationMode

GetOperationMode returns the operation mode specified via the env var M8_OPERATION_MODE. (default is RELEASE)

Jump to

Keyboard shortcuts

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