constants

package
v0.1.1-rc.202403131338 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2024 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ConfigKeyVersion = "main.version"
	ConfigKeyCommit  = "main.commit"
	ConfigKeyDate    = "main.date"
	ConfigKeyBuiltBy = "main.builtBy"

	LocalBuild = DefaultBuiltBy
)
View Source
const (
	DefaultVersion = "0.0.0"
	DefaultCommit  = "none"
	DefaultDate    = "unknown"
	DefaultBuiltBy = "local"
)
View Source
const (
	PowerpipeShortDescription = "Powerpipe: Dashboards for DevOps."
	PowerpipeLongDescription  = `` /* 590-byte string literal not displayed */

)
View Source
const (
	EnvListen = "POWERPIPE_LISTEN"
	EnvPort   = "POWERPIPE_PORT"
	// EnvConfigDump is an undocumented variable is subject to change in the future
	EnvConfigDump = "POWERPIPE_CONFIG_DUMP"
)
View Source
const (
	DatabaseDefaultQueryTimeout = 300
)

Variables

Functions

func FlagValues

func FlagValues[T comparable](mappings map[T][]string) []string

Types

type CheckOutputMode

type CheckOutputMode enumflag.Flag
const (
	CheckOutputModeText  CheckOutputMode = iota
	CheckOutputModeBrief CheckOutputMode = iota
	CheckOutputModeCsv
	CheckOutputModeHTM
	CheckOutputModeJSON
	CheckOutputModeMd
	CheckOutputModeTest
	CheckOutputModeSnapshot
	CheckOutputModeSnapshotShort
	CheckOutputModeNone
)

type DashboardOutputMode

type DashboardOutputMode enumflag.Flag
const (
	DashboardOutputModeSnapshot DashboardOutputMode = iota
	DashboardOutputModeSnapshotShort
	DashboardOutputModeNone
)

type ErrorNoModDefinition

type ErrorNoModDefinition struct{}

func (ErrorNoModDefinition) Error

func (e ErrorNoModDefinition) Error() string

type OutputMode

type OutputMode enumflag.Flag
const (
	OutputModePretty OutputMode = iota
	OutputModePlain
	OutputModeYaml
	OutputModeJson
)

type QueryOutputMode

type QueryOutputMode enumflag.Flag
const (
	QueryOutputModeCsv QueryOutputMode = iota
	QueryOutputModeJson
	QueryOutputModeLine
	QueryOutputModeSnapshot
	QueryOutputModeSnapshotShort
	QueryOutputModeTable
	QueryOutputModeNone
)

Jump to

Keyboard shortcuts

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