Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsErrVersionMismatch ¶ added in v0.3.0
IsErrVersionMismatch return true if the error is from mismatched api versions.
Types ¶
type Client ¶
type Client interface { // Call invokes an RPC method with an argument and a pointer to a result that will hold the return value. Call(method string, arg interface{}, result interface{}) error }
Client allows execution of RPCs.
type InfoClient ¶ added in v0.2.0
type InfoClient struct {
// contains filtered or unexported fields
}
InfoClient is the client for retrieving plugin info
func NewPluginInfoClient ¶ added in v0.2.0
func NewPluginInfoClient(socketPath string) *InfoClient
NewPluginInfoClient returns a plugin informer that can give metadata about a plugin
func (*InfoClient) GetFunctions ¶ added in v0.3.1
func (i *InfoClient) GetFunctions() (map[string][]template.Function, error)
GetFunctions returns metadata about the plugin's template functions, if the plugin supports templating.
Click to show internal directories.
Click to hide internal directories.