version

package
v0.5.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Aug 12, 2019 License: Apache-2.0 Imports: 3 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Info

type Info struct {
	Major        string `json:"major"`
	Minor        string `json:"minor"`
	GitVersion   string `json:"gitVersion"`
	GitCommit    string `json:"gitCommit"`
	GitTreeState string `json:"gitTreeState"`
	BuildDate    string `json:"buildDate"`
	GoVersion    string `json:"goVersion"`
	Compiler     string `json:"compiler"`
	Platform     string `json:"platform"`
}

Info stores information about a component's version

func GetFirecracker

func GetFirecracker() Info

GetFirecracker returns firecracker's version

func GetIgnite

func GetIgnite() Info

GetIgnite gets ignite's version

func (Info) ImageTag added in v0.4.0

func (info Info) ImageTag() string

ImageTag returns .GitVersion, but without "+" signs which are disallowed in docker image tags Also, if the binary was built from a dirty commit, always use the :dev tag of the ignite-spawn image

func (Info) String

func (info Info) String() string

String returns info as a human-friendly version string.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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