Plugin #
A Plugin is a resource managing endpoints of the plugin instances deployed. If there is a plugin instance that does not work properly, the Plugin requests the Supervisor to redeploy the instance.
Package : spaceone.api.plugin.v1
Plugin #
Plugin Methods:
| Method | Request | Response |
|---|---|---|
| get_plugin_endpoint | PluginEndpointRequest | PluginEndpoint |
| get_plugin_metadata | PluginMetadataRequest | PluginMetadata |
| notify_failure | PluginFailureRequest | Empty |
get_plugin_endpoint #
Gets the endpoint of a specific plugin instance. A Plugin returns only a single endpoint by determining labels and priority. If the requested plugin instance is already deployed, the endpoint is returned. If not, the endpoint is returned after deploying the plugin instance.
plugin_id (string)
Requireddomain_id (string)
Requiredversion (string)
upgrade_mode (UpgradeMode)
labels (Struct)
{
"plugin_id": "plugin-aws-sns-mon-webhook",
"version": "1.2.2"
}endpoint (string)
Requiredaccess_token (string)
Requiredupdated_version (string)
{
"endpoint": "grpc://endpoint-url:50051"
}get_plugin_metadata #
POST /plugin/v1/plugin/get-plugin-metadata
notify_failure #
Message #
PluginEndpoint #
endpoint (string)
Requiredaccess_token (string)
Requiredupdated_version (string)
PluginEndpointRequest #
plugin_id (string)
Requireddomain_id (string)
Requiredversion (string)
upgrade_mode (UpgradeMode)
labels (Struct)
PluginFailureRequest #
supervisor_id (string)
Requiredversion (string)
Requireddomain_id (string)
Requiredplugin_id (string)
Required
PluginMetadata #
metadata (Struct)
Required
PluginMetadataRequest #
plugin_id (string)
Requiredversion (string)
upgrade_mode (UpgradeMode)
options (Struct)