Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Info ¶
type Info struct { Version string `json:"version,omitempty"` GitCommit string `json:"gitCommit,omitempty"` GitCommitDate string `json:"gitCommitDate,omitempty"` GitTreeState string `json:"gitTreeState,omitempty"` BuildDate string `json:"buildDate,omitempty"` GoVersion string `json:"goVersion,omitempty"` Compiler string `json:"compiler,omitempty"` Platform string `json:"platform,omitempty"` Libseccomp string `json:"libseccomp,omitempty"` Libbpf string `json:"libbpf,omitempty"` BuildTags string `json:"buildTags,omitempty"` LDFlags string `json:"ldFlags,omitempty"` CGOLDFlags string `json:"cgoLdflags,omitempty"` Dependencies []string `json:"dependencies,omitempty"` }
func (*Info) AsKeyValues ¶ added in v0.4.0
func (i *Info) AsKeyValues() []interface{}
AsKeyValues returns a key value slice of the info.
func (*Info) JSONString ¶
JSONString returns the JSON representation of the version info.
Click to show internal directories.
Click to hide internal directories.