Plugin
A Plugin is a resource containing data of deployable plugins such as container image and registry URL.
Package : spaceone.api.repository.v1
Plugin
Plugin Methods:
register
POST /repository/v1/plugins
Registers a Plugin. The parameter
registry_type
, meaning container registry type, can be eitherDOCKER_HUB
orAWS_PUBLIC_ECR
. The default value of theregistry_type
isDOCKER_HUB
. The parameterregistry_url
is required if theregistry_type
is notDOCKER_HUB
. The parameterimage
is limited to 40 characters.
Request
Response
update
PUT /repository/v1/plugin/{plugin_id}
Updates a specific Plugin registered. A Plugin can be updated only if its Repository's
repository_type
islocal
. You can make changes in Plugin settings, includingtemplate
and its options,schema
.
Request
Response
deregister
DELETE /repository/v1/plugin/{plugin_id}
Deregisters and deletes a specific Plugin. You must specify the
plugin_id
of the Plugin to deregister.
Request
Response
enable
PUT /repository/v1/plugin/{plugin_id}/enable
Enables a specific Plugin. If the Plugin is enabled, the Plugin can be used as its parameter
state
becomesENABLED
.
Request
Response
disable
PUT /repository/v1/plugin/{plugin_id}/disable
Disables a specific Plugin. If the Plugin is disabled, the Plugin cannot be used as its parameter
state
becomesDISABLED
.
Request
Response
get_versions
GET /repository/v1/plugins/{plugin_id}/versions
Request
Response
get
GET /repository/v1/plugins/{plugin_id}
Gets a specific Plugin. Prints detailed information about the Plugin, including
image
,registry_url
, andstate
.
Request
Response
list
GET /repository/v1/plugins
POST /repository/v1/plugins/search
Request
Response
stat
POST /repository/v1/plugins/stat
Request
Response
Message
CreatePluginRequest
name
string
✔
service_type
string
✔
image
string
✔
provider
string
✘
registry_type
NONE_REGISTRY_TYPE
DOCKER_HUB
AWS_PUBLIC_ECR
✘
project_id
string
✘
domain_id
string
✔
GetRepositoryPluginRequest
plugin_id
string
✔
domain_id
string
✔
repository_id
string
✘
only
list of string
✘
PluginInfo
plugin_id
string
name
string
image
string
registry_url
string
state
NONE
ENABLED
DISABLED
service_type
string
provider
string
registry_type
NONE_REGISTRY_TYPE
DOCKER_HUB
AWS_PUBLIC_ECR
project_id
string
domain_id
string
created_at
string
updated_at
string
PluginQuery
plugin_id
string
✘
name
string
✘
state
NONE
ENABLED
DISABLED
✘
service_type
string
✘
provider
string
✘
repository_id
string
✔
domain_id
string
✔
registry_type
NONE_REGISTRY_TYPE
DOCKER_HUB
AWS_PUBLIC_ECR
✘
PluginRequest
plugin_id
string
✔
domain_id
string
✔
PluginStatQuery
PluginsInfo
RepositoryPluginRequest
plugin_id
string
✔
domain_id
string
✔
repository_id
string
✘
UpdatePluginRequest
plugin_id
string
✔
name
string
✘
domain_id
string
✔
VersionsInfo
Last updated