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

opts

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: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Opts

type Opts struct {
	Stemcell   *Stemcell `long:"stemcell" description:"The stemcell name and version"`
	OS         string    `long:"stemcell-os" description:"The stemcell OS"`
	Version    string    `long:"stemcell-version" description:"The stemcell version"`
	IaaS       string    `long:"stemcell-iaas" description:"The stemcell IaaS"`
	Hypervisor string    `long:"stemcell-hypervisor" description:"The stemcell hypervisor"`
	Flavor     string    `long:"stemcell-flavor" description:"The stemcell flavor (e.g. 'light')"`

	Labels []string `long:"stemcell-label" description:"The label(s) to filter stemcells by"`
}

func (*Opts) Artifact

func (o *Opts) Artifact(cfg *provider.Config) (stemcellversion.Artifact, error)

func (Opts) FilterParams

func (o Opts) FilterParams() datastore.FilterParams

type Stemcell

type Stemcell struct {
	Name       string
	IaaS       string
	Hypervisor string
	OS         string
	Version    string
}

func (Stemcell) String

func (r Stemcell) String() string

func (*Stemcell) UnmarshalFlag

func (r *Stemcell) UnmarshalFlag(data string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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