Documentation ¶
Overview ¶
Package version allows to capture and store information about Aptomi binary (version, commit, date) so that we know when and how it was built.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuildInfoObject = &runtime.Info{ Kind: "version", Constructor: func() runtime.Object { return &BuildInfo{} }, }
BuildInfoObject is an informational data structure with Kind and Constructor for Version
Functions ¶
This section is empty.
Types ¶
type BuildInfo ¶
type BuildInfo struct { runtime.TypeKind `yaml:",inline"` GitVersion string GitCommit string BuildDate string }
BuildInfo represents version, commit and date for aptomi binary, so that we know when and how it was built
func (*BuildInfo) AsColumns ¶ added in v0.1.6
AsColumns returns PolicyData representation as columns
func (*BuildInfo) GetDefaultColumns ¶ added in v0.1.6
GetDefaultColumns returns default set of columns to be displayed
Click to show internal directories.
Click to hide internal directories.