Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Version is the current version of maestro. // Set via -ldflags at build time: -X github.com/uprockcom/maestro/pkg/version.Version=1.2.3 Version = "dev" // Commit is the git commit hash. // Set via -ldflags at build time: -X github.com/uprockcom/maestro/pkg/version.Commit=abc123 Commit = "none" // Date is the build date. // Set via -ldflags at build time: -X github.com/uprockcom/maestro/pkg/version.Date=2025-01-15 Date = "unknown" // BuiltBy indicates who/what built the binary. // Set via -ldflags at build time: -X github.com/uprockcom/maestro/pkg/version.BuiltBy=goreleaser BuiltBy = "unknown" )
Functions ¶
func GetContainerImage ¶
func GetContainerImage() string
GetContainerImage returns the appropriate container image for this version. Production builds use version-tagged images for reproducibility. Development builds use :latest for rapid iteration.
func IsDevelopment ¶
func IsDevelopment() bool
IsDevelopment returns true if this is a development build.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.