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 + var Handshake = plugin.HandshakeConfig + func Serve(name string, s Driver) + type CDSSecretBackendPlugin struct + func (a CDSSecretBackendPlugin) Client(b *plugin.MuxBroker, c *rpc.Client) (interface{}, error) + func (a CDSSecretBackendPlugin) PluginName() string + func (a CDSSecretBackendPlugin) Server(*plugin.MuxBroker) (interface{}, error) + type Client struct + func NewClient(binary string, options map[string]string) *Client + func (p Client) Instance() (Driver, error) + type Driver interface + GetSecrets func() Secrets + Init func(MapVar) error + Name func() string + type MapVar interface + All func() map[string]string + Get func(string) string + type Options struct + Data map[string]string + func NewOptions(d map[string]string) *Options + func (d Options) All() map[string]string + func (d Options) Get(k string) string + type RPCClient struct + func (c *RPCClient) GetSecrets() Secrets + func (c *RPCClient) Init(opts MapVar) error + func (c *RPCClient) Name() string + type RPCServer struct + Impl Driver + func (c *RPCServer) GetSecrets(args interface{}, resp *Secrets) error + func (c *RPCServer) Init(args interface{}, resp *string) error + func (c *RPCServer) Name(args interface{}, resp *string) error + type SecretError string + func Error(err error) *SecretError + func (e SecretError) Error() string + type Secrets struct + Data map[string]string + Error error + func NewSecrets(d map[string]string) *Secrets + func (d Secrets) All() (map[string]string, error) + func (d Secrets) Err() error + func (d Secrets) Get(k string) (string, error)