Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New(action func(p Parameters, d Definition)) *cli.App
Types ¶
type ActionItem ¶
type ActionItem struct {
Name, Kind string
Spec map[interface{}]interface{}
}
type Definition ¶
type Definition []ActionItem
type Parameters ¶
type Parameters struct {
Debug, Verbose, IgnoreError, DryRun bool
Actions string
Target TargetConnection
}
func (*Parameters) HandleEnd ¶
func (cli *Parameters) HandleEnd(kind string, name string, success bool)
func (*Parameters) HandleError ¶
func (cli *Parameters) HandleError(err error)
func (*Parameters) HandleSuccess ¶
func (cli *Parameters) HandleSuccess(resp *resty.Response)
type TargetConnection ¶ added in v0.3.0
Click to show internal directories.
Click to hide internal directories.