actions

package
v0.0.0-...-8ff1004 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 15, 2019 License: AGPL-3.0 Imports: 1 Imported by: 0

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: {
		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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL