Documentation ¶
Index ¶
Constants ¶
View Source
const JujuRunActionName = "juju-run"
JujuRunActionName defines the action name used by juju-run.
Variables ¶
View Source
var PredefinedActionsSpec = map[string]charm.ActionSpec{ JujuRunActionName: charm.ActionSpec{ Description: "predefined juju-run action", Params: map[string]interface{}{ "type": "object", "title": JujuRunActionName, "description": "predefined juju-run action params", "required": []interface{}{"command", "timeout"}, "properties": map[string]interface{}{ "command": map[string]interface{}{ "type": "string", "description": "command to be ran under juju-run", }, "timeout": map[string]interface{}{ "type": "number", "description": "timeout for command execution", }, }, }, }, }
PredefinedActionsSpec defines a spec for each predefined action.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.