instance

package
v0.0.0-...-a355528 Latest Latest
Warning

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

Go to latest
Published: Oct 27, 2017 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Describe

func Describe(name string, services *cli.Services) *cobra.Command

Describe returns the describe command

func Destroy

func Destroy(name string, services *cli.Services) *cobra.Command

Destroy returns the destroy command

func LoadPlugin

func LoadPlugin(plugins discovery.Plugins, name string) (instance.Plugin, error)

LoadPlugin loads the typed plugin

func Provision

func Provision(name string, services *cli.Services) *cobra.Command

Provision returns the provision command

func Validate

func Validate(name string, services *cli.Services) *cobra.Command

Validate returns the validate command

Types

type View

type View struct {
	// contains filtered or unexported fields
}

View is a view of an Instance

func (*View) DefaultMatcher

func (v *View) DefaultMatcher(args []string) func(instance.Description) bool

DefaultMatcher is a matcher of instance ID and logical ID based on a list of allow values

func (*View) FlagSet

func (v *View) FlagSet() *pflag.FlagSet

FlagSet returns a flagset to bind

func (*View) Renderer

func (v *View) Renderer(matcher func(instance.Description) bool) (func(w io.Writer, v interface{}) error, error)

Renderer returns the renderer for the results

func (*View) ShowProperties

func (v *View) ShowProperties() bool

ShowProperties returns true if showing properties

func (*View) TagFilter

func (v *View) TagFilter() map[string]string

TagFilter returns the tag filter for querying

Jump to

Keyboard shortcuts

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