Versions in this module Expand all Collapse all v0 v0.4.0 Jan 27, 2017 v0.3.0 Jan 12, 2017 Changes in this version + const AuthHeader + const MaxTries + const RequestTimeout + const RequestedWithHeader + const RequestedWithValue + var Handshake = plugin.HandshakeConfig + var Trace *log.Logger + func Serve(a Interface) + func SetTrace(traceHandle io.Writer) + type ApplyOptions struct + AppName string + Params MapVar + ProjKey string + func NewApplyOptions(proj, app string, params Parameters) ApplyOptions + func (o ApplyOptions) ApplicationName() string + func (o ApplyOptions) Parameters() MapVar + func (o ApplyOptions) ProjetKey() string + type CDSTemplateExtension struct + func (a CDSTemplateExtension) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error) + func (a CDSTemplateExtension) PluginName() string + func (a CDSTemplateExtension) Server(*plugin.MuxBroker) (interface{}, error) + type Client struct + func NewClient(name, binary, id, url string, tlsSkipVerify bool) *Client + func (p Client) Instance() (Interface, error) + type Common struct + func (p *Common) Init(o plugin.IOptions) string + type IApplyOptions interface + ApplicationName func() string + Parameters func() MapVar + ProjetKey func() string + type Interface interface + ActionsNeeded func() []string + Apply func(opts IApplyOptions) (sdk.Application, error) + Author func() string + Description func() string + Identifier func() string + Init func(plugin.IOptions) string + Name func() string + Parameters func() []sdk.TemplateParam + Type func() string + type MapVar interface + All func() map[string]string + Get func(string) string + type Parameters struct + Data map[string]string + func NewParameters(d map[string]string) *Parameters + func (d Parameters) All() map[string]string + func (d Parameters) Get(k string) string + type RPCClient struct + func (c *RPCClient) ActionsNeeded() []string + func (c *RPCClient) Apply(opts IApplyOptions) (sdk.Application, error) + func (c *RPCClient) Author() string + func (c *RPCClient) Description() string + func (c *RPCClient) Identifier() string + func (c *RPCClient) Init(opts plugin.IOptions) string + func (c *RPCClient) Name() string + func (c *RPCClient) Parameters() []sdk.TemplateParam + func (c *RPCClient) Type() string + type RPCServer struct + Impl Interface + func (s *RPCServer) ActionsNeeded(args interface{}, resp *[]string) error + func (s *RPCServer) Apply(args interface{}, resp *sdk.Application) error + func (s *RPCServer) Author(args interface{}, resp *string) error + func (s *RPCServer) Description(args interface{}, resp *string) error + func (s *RPCServer) Identifier(args interface{}, resp *string) error + func (s *RPCServer) Init(args interface{}, resp *string) error + func (s *RPCServer) Name(args interface{}, resp *string) error + func (s *RPCServer) Parameters(args interface{}, resp *[]sdk.TemplateParam) error + func (s *RPCServer) Type(args interface{}, resp *string) error