Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrBlockedAction indicates that the requested action was not allowed. ErrBlockedAction = errors.New("action not allowed") // ErrUndefinedAction indicates that a bundle does not define this action. ErrUndefinedAction = errors.New("action not defined for bundle") )
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action interface { // Run an action, and record the status in the given claim Run(*claim.Claim, credentials.Set, io.Writer) error }
Action describes one of the primary actions that can be executed in CNAB.
The actions are: - install - upgrade - uninstall - downgrade - status
Click to show internal directories.
Click to hide internal directories.