Documentation
¶
Index ¶
- func Describe(name string, services *cli.Services) *cobra.Command
- func Destroy(name string, services *cli.Services) *cobra.Command
- func LoadPlugin(plugins discovery.Plugins, name string) (instance.Plugin, error)
- func Provision(name string, services *cli.Services) *cobra.Command
- func Validate(name string, services *cli.Services) *cobra.Command
- type View
- func (v *View) DefaultMatcher(args []string) func(instance.Description) bool
- func (v *View) FlagSet() *pflag.FlagSet
- func (v *View) Renderer(matcher func(instance.Description) bool) (func(w io.Writer, v interface{}) error, error)
- func (v *View) ShowProperties() bool
- func (v *View) TagFilter() map[string]string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadPlugin ¶
LoadPlugin loads the typed plugin
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) 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 ¶
ShowProperties returns true if showing properties
Click to show internal directories.
Click to hide internal directories.