version

package
v0.0.0-...-ff7c0be Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package version includes the version information for installer.

Index

Constants

This section is empty.

Variables

View Source
var (
	// Raw is the string representation of the version. This will be replaced
	// with the calculated version at build time.
	// set in hack/build.sh
	Raw = "was not built correctly"

	// Commit is the commit hash from which the installer was built.
	// Set in hack/build.sh.
	Commit = ""
)

Functions

func DefaultArch

func DefaultArch() types.Architecture

DefaultArch returns the default release architecture

func String

func String() (string, error)

String returns the human-friendly representation of the version.

func Version

func Version() (string, error)

Version returns the installer/release version.

Types

This section is empty.

Jump to

Keyboard shortcuts

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