version

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2021 License: Apache-2.0 Imports: 5 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCurrentRuntime added in v0.6.1

func GetCurrentRuntime() igniteruntime.Name

GetCurrentRuntime returns the current configured runtime

Types

type Image added in v0.7.0

type Image struct {
	Name      string `json:"name"`
	Tag       string `json:"tag"`
	Delimeter string `json:"delimeter"`
}

Image represents an OCI image TODO: use a shared or upstream OCI Image type

func (Image) String added in v0.7.0

func (image Image) String() string

String returns Image{} as a human-friendly version string.

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"`
	SandboxImage Image  `json:"sandboxImage"`
	KernelImage  Image  `json:"kernelImage"`
}

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) 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