Help us shape the future of Go! Take the 2026 Go Developer Survey

stemcellversion

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Aug 30, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Sort

func Sort(results []Artifact)

Types

type Artifact

type Artifact struct {
	Datastore string `json:"-"`

	OS         string        `json:"os"`
	Version    string        `json:"version"`
	IaaS       string        `json:"iaas"`
	Hypervisor string        `json:"hypervisor"`
	DiskFormat string        `json:"diskFormat"`
	Flavor     string        `json:"flavor"`
	Tarball    metalink.File `json:"tarball"`

	Labels []string `json:"labels"`
	// contains filtered or unexported fields
}

func (Artifact) FullName

func (r Artifact) FullName() string

func (Artifact) GetDatastoreName

func (s Artifact) GetDatastoreName() string

func (Artifact) GetLabels

func (s Artifact) GetLabels() []string

func (Artifact) MetalinkFile

func (s Artifact) MetalinkFile() metalink.File

func (Artifact) PreferredChecksum

func (s Artifact) PreferredChecksum() checksum.ImmutableChecksum

func (Artifact) Reference

func (s Artifact) Reference() interface{}

func (Artifact) Semver

func (s Artifact) Semver() *semver.Version

func (Artifact) SupportedAnalyzers

func (s Artifact) SupportedAnalyzers() []analysis.AnalyzerName

type Reference

type Reference struct {
	Name       string `json:"name"`
	IaaS       string `json:"iaas"`
	Hypervisor string `json:"hypervisor"`
	OS         string `json:"os"`
	Version    string `json:"version"`
	Flavor     string `json:"flavor"`
	DiskFormat string `json:"disk_format"`
}

func (Reference) FullName

func (r Reference) FullName() string

func (Reference) UniqueID

func (r Reference) UniqueID() string

Jump to

Keyboard shortcuts

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