buildinfo

package
v0.248.0 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InfoModeEnabled

func InfoModeEnabled() bool

InfoModeEnabled returns true if the plugin should run in build info mode (-buildinfo or -version flags provided).

func RunInfoMode

func RunInfoMode() error

RunInfoMode runs the plugin in build info mode, which prints the build info (or just the version) to stdout and returns. The caller should call os.Exit right after.

Types

This section is empty.

Jump to

Keyboard shortcuts

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