Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChoriaPlugin ¶
ChoriaPlugin creates the choria plugin hooks
Types ¶
type DDLRequest ¶
type DDLRequest struct { Name string `json:"name"` PluginType string `json:"plugin_type" validate:"enum=agent"` Format string `json:"format" validate:"enum=ddl,json"` }
DDLRequest is a request for a DDL file for plugin type Type and name Name
type DDLResponse ¶
type DDLResponse struct { Name string `json:"name"` PluginType string `json:"plugin_type"` Version string `json:"version"` DDL string `json:"ddl"` }
DDLResponse is the response to a DDL request
type NamesRequest ¶ added in v0.25.0
type NamesRequest struct {
PluginType string `json:"plugin_type" validate:"enum=agent"`
}
type NamesResponse ¶ added in v0.25.0
Click to show internal directories.
Click to hide internal directories.