Documentation ¶
Index ¶
Constants ¶
View Source
const PluginsMapHash = "cloudconfig"
PluginsMapHash is an identifier for plugins registered with the go-plugin library.
Variables ¶
View Source
var HandshakeConfig = plugin.HandshakeConfig{
ProtocolVersion: 2,
MagicCookieKey: "BASIC_PLUGIN",
MagicCookieValue: "hello",
}
HandshakeConfig is the configuration for establishing communication between the CLI plugins.
Functions ¶
Types ¶
type Deployer ¶
type Deployer interface { GetMeta() Meta GetFlags() []pcli.Flag GetCloudConfig(args []string) ([]byte, error) }
Deployer is the interface for cloud config plugins
type Plugin ¶
type Plugin struct {
Plugin Deployer
}
func NewCloudConfigPlugin ¶
type RPC ¶
type RPC struct {
// contains filtered or unexported fields
}
RPC - Here is an implementation that talks over RPC
Directories ¶
Path | Synopsis |
---|---|
This file was generated by counterfeiter
|
This file was generated by counterfeiter |
Click to show internal directories.
Click to hide internal directories.