Documentation
¶
Index ¶
Constants ¶
View Source
const ( ServiceMonitorCrdName = "servicemonitors.monitoring.coreos.com" PodMonitorCrdName = "podmonitors.monitoring.coreos.com" MonitorServiceMonitorNameSuffix = "-exporter-svcmon" EnvNameUnitName = "UNIT_NAME" LastUnitBelongNodeAnnotation = "last.unit.belong.node" )
View Source
const (
//Version = "1.1.0"
VersionPrerelease = ""
)
Variables ¶
View Source
var ( UnitAgentName = "unit-agent" UnitAgentImage string UnitAgentHostType = "domain" ManagerNamespace = "upm-system" ProjectName = "unit-operator" IpFamily = "IPv4" )
View Source
var ( // GITCOMMIT will be overwritten automatically by the build system with short commit hash GITCOMMIT = "HEAD" // BUILDTIME will be overwritten automatically by the build system BUILDTIME = "<unknown>" // VERSION will be overwritten automatically by the build system if tag exists at current commit VERSION = "" // GITBRANCH will be overwritten automatically by the build system with the current branch GITBRANCH string // GOVERSION will be overwritten automatically by the build system with the go version in build image GOVERSION string )
Functions ¶
func GetVersion ¶
func GetVersion() string
Types ¶
Click to show internal directories.
Click to hide internal directories.