Documentation ¶
Index ¶
Constants ¶
View Source
const ( //PluginPort - default plugin port PluginPort = int(1984) //PluginMeta - default plugin arg to show meta data PluginMeta = "plugin-meta" //PluginActivityRestore - activity keyname PluginActivityRestore = "restore" //PluginActivityBackup - activity keyname PluginActivityBackup = "backup" //PluginActivityExecute - activity keyname PluginActivityExecute = "execute" )
Variables ¶
View Source
var ( //UIOutput - a function to control UIOutput UIOutput = fmt.Print //PluginArgs - cli args given to the plugin PluginArgs = os.Args )
View Source
var IsPluginMetaCall atomic.Value
IsPluginMetaCall - determines if the call to the plugin is for meta data or execution
Functions ¶
Types ¶
type PivotalCF ¶
type PivotalCF interface { GetActivity() string GetProducts() []Product GetCredentials() []Credential }
PivotalCF - interface representing a pivotalcf
func NewPivotalCF ¶
NewPivotalCF - creates a pivotalcf from a given object and registers the gob
type PluginTile ¶
type PluginTile struct { OpsManager *opsmanager.OpsManager FilePath string Meta Meta }
PluginTile - tile implementation of a plugin
func (*PluginTile) Backup ¶
func (s *PluginTile) Backup() (err error)
Backup - backup method for plugin tile wrapper
func (*PluginTile) Restore ¶
func (s *PluginTile) Restore() (err error)
Restore - restore method for plugin tile wrapper
type PluginTileBuilder ¶
PluginTileBuilder - factory for a tile wrapped plugin
func (*PluginTileBuilder) New ¶
func (s *PluginTileBuilder) New(tileSpec tileregistry.TileSpec) (tile tileregistry.Tile, err error)
New - method to create a plugin tile
Source Files ¶
Click to show internal directories.
Click to hide internal directories.