Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Plugin = taskplugin.New("apiovh", "0.6", exec, taskplugin.WithConfig(validConfig, APIOVHConfig{}), taskplugin.WithExecutorMetadata(ExecutorMetadata), taskplugin.WithResources(resourcesapiovh), ) )
the apiovh plugin performs signed http calls on the OVH public API
Functions ¶
func ExecutorMetadata ¶
func ExecutorMetadata() string
ExecutorMetadata generates json schema for the metadata returned by the executor
Types ¶
type APIOVHConfig ¶
type APIOVHConfig struct { Credentials string `json:"credentials"` Method string `json:"method"` Path string `json:"path"` Body string `json:"body,omitempty"` }
APIOVHConfig holds the configuration needed to run the apiovh plugin credentials: key to retrieve credentials from configstore method: http method path: http path body: http body (optional)
Click to show internal directories.
Click to hide internal directories.