Resources plugin.
More...
Resources plugin.
Configuration schema:
Examples
resources: name # Given resource name type "type" # Requested type tags [ "tag", "tag" ] # Requested matching tags (optional)
◆ __init__()
def etr.plugins.resources.Plugin.__init__ |
( |
|
self, |
|
|
|
ctx |
|
) |
| |
Initialize and configure resoures plugin.
◆ add_options()
def etr.plugins.resources.Plugin.add_options |
( |
|
parser | ) |
|
|
static |
Add --resource-host
option.
◆ setup()
def etr.plugins.resources.Plugin.setup |
( |
|
self, |
|
|
|
ctx |
|
) |
| |
◆ teardown()
def etr.plugins.resources.Plugin.teardown |
( |
|
self, |
|
|
|
ctx |
|
) |
| |
Release allocated resources.
◆ config_schema
string etr.plugins.resources.Plugin.config_schema |
|
static |
Initial value:= """
type: object
additionalProperties: False
patternProperties:
"^[a-zA-Z][a-zA-Z0-9_-]*$":
type: object
additionalProperties: false
required: [ "type" ]
properties:
type:
type: string
tags:
type: array
items:
type: string
uniqueItems: True
"""
◆ order
int etr.plugins.resources.Plugin.order = 100 |
|
static |
The documentation for this class was generated from the following file: