Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatBinaryVersion ¶
func FormatBinaryVersion(out io.Writer, v *storage.NamespaceBinaryVersion)
func FormatVersionInfo ¶
func FormatVersionInfo(out io.Writer, v *VersionInfo)
func NewVersionCmd ¶
Types ¶
type VersionInfo ¶
type VersionInfo struct { Binary *storage.NamespaceBinaryVersion `json:"binary"` GOOS string `json:"GOOS"` GOARCH string `json:"GOARCH"` APIVersion int `json:"api_version"` CacheVersion int `json:"cache_version"` ToolAPIVersion int `json:"tool_api_version"` }
func CollectVersionInfo ¶
func CollectVersionInfo() (*VersionInfo, error)
Click to show internal directories.
Click to hide internal directories.