Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Handshake = plugin.HandshakeConfig{
ProtocolVersion: 1,
MagicCookieKey: "AC_PLUGIN_MAGIC_COOKIE",
MagicCookieValue: "secret-cat",
}
Handshake is the HandshakeConfig used to configure clients and servers.
View Source
var PluginMap = map[string]plugin.Plugin{ "action": &ActionProviderPlugin{}, }
Functions ¶
Types ¶
type ActionProvider ¶
ActionProvider is an implementation of terraform.ResourceProvider that communicates over RPC.
func (*ActionProvider) Configure ¶
func (p *ActionProvider) Configure(conf *achieve.ProviderConfig) error
func (*ActionProvider) Execute ¶
func (p *ActionProvider) Execute(action *achieve.Action) error
type ActionProviderConfigureArgs ¶
type ActionProviderConfigureArgs struct {
Config *achieve.ProviderConfig
}
type ActionProviderConfigureResponse ¶
type ActionProviderConfigureResponse struct {
Error *plugin.BasicError
}
type ActionProviderExecuteArgs ¶
type ActionProviderExecuteArgs struct {
Action *achieve.Action
}
type ActionProviderExecuteResponse ¶
type ActionProviderExecuteResponse struct {
Error *plugin.BasicError
}
type ActionProviderPlugin ¶
type ActionProviderPlugin struct {
F achieve.ActionProviderFunc
}
ActionProviderPlugin is the plugin.Plugin implementation.
type ActionProviderServer ¶
func (*ActionProviderServer) Configure ¶
func (s *ActionProviderServer) Configure( args *ActionProviderConfigureArgs, result *ActionProviderConfigureResponse) error
func (*ActionProviderServer) Execute ¶
func (s *ActionProviderServer) Execute( args *ActionProviderExecuteArgs, result *ActionProviderExecuteResponse) error
Click to show internal directories.
Click to hide internal directories.