Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type InputExample ¶ added in v0.2.0
type InputExample interface { // ExampleProperties returns an example JSON raw message that the vendor plugin understands. // This is an example of what the user will configure and what will be used as the opaque // blob in all the plugin methods where raw JSON messages are referenced. ExampleProperties() *types.Any }
InputExample interface is an optional interface implemented by the plugin that will provide example input struct to document the vendor-specific api of the plugin. An example of this is to provide a sample JSON for all the Properties field in the plugin API.
type InterfaceSpec ¶
type InterfaceSpec struct { // Name of the interface. Name string // Version is the identifier for the API version. Version string }
InterfaceSpec is metadata about an API.
type Vendor ¶ added in v0.2.0
type Vendor interface { // VendorInfo returns a vendor-defined interface spec VendorInfo() *VendorInfo }
Vendor is an optional interface that has vendor-specific information methods
type VendorInfo ¶ added in v0.2.0
type VendorInfo struct { InterfaceSpec // vendor-defined name / version // URL is the informational url for the plugin. It can container help and docs, etc. URL string }
VendorInfo provides vendor-specific information
Click to show internal directories.
Click to hide internal directories.