version

package
v0.0.364 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

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

func NewVersionCmd() *cobra.Command

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)

Jump to

Keyboard shortcuts

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