plugin

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2017 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFlagnameWithSuffix

func CreateFlagnameWithSuffix(name string, suffix int) (flagname string)

CreateFlagnameWithSuffix - creates a CLI flag with flagname-index pattern

Types

type Plugin added in v1.0.0

type Plugin struct {
	PluginVersion string
}

Plugin --

func (*Plugin) GetCloudConfig added in v1.0.0

func (s *Plugin) GetCloudConfig(args []string) ([]byte, error)

GetCloudConfig - get a serialized form of AWS cloud configuration

func (*Plugin) GetContext added in v1.0.0

func (s *Plugin) GetContext(args []string) (c *cli.Context)

GetContext -

func (*Plugin) GetFlags added in v1.0.0

func (s *Plugin) GetFlags() []pcli.Flag

GetFlags - Get flags associated with plugin

func (*Plugin) GetMeta added in v1.0.0

func (s *Plugin) GetMeta() v1.Meta

GetMeta - Get metadata of the plugin

Jump to

Keyboard shortcuts

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