Documentation ¶
Overview ¶
Package version contains all build time metadata (version, build time, git commit, etc).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Version ¶
type Version struct { Version string `json:"version"` // application semantic version SyftVersion string `json:"syftVersion"` // the version of syft being used by the docker-sbom-cli-plugin GitCommit string `json:"gitCommit"` // git SHA at build-time GitDescription string `json:"gitDescription"` // output of 'git describe --dirty --always --tags' GoVersion string `json:"goVersion"` // go runtime version at build-time Compiler string `json:"compiler"` // compiler used at build-time Platform string `json:"platform"` // GOOS and GOARCH at build-time }
Version defines the application version details (generally from build information)
Click to show internal directories.
Click to hide internal directories.