Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultConfig = &Config{ Filter: filters.DefaultFilter, } )
View Source
var DefaultExecDeleteConfig = &ExecDeleteConfig{}
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Filter filters.Filters `json:"filter" pflag:","` Details bool `` /* 127-byte string literal not displayed */ NodeID string `json:"nodeID" pflag:",get task executions for given node name."` }
Config stores the flags required by get execution
type ExecDeleteConfig ¶ added in v0.2.31
type ExecDeleteConfig struct {
DryRun bool `json:"dryRun" pflag:",execute command without making any modifications."`
}
ExecutionDeleteConfig stores the flags required by delete execution
func (ExecDeleteConfig) GetPFlagSet ¶ added in v0.2.31
func (cfg ExecDeleteConfig) GetPFlagSet(prefix string) *pflag.FlagSet
GetPFlagSet will return strongly types pflags for all fields in ExecDeleteConfig and its nested types. The format of the flags is json-name.json-sub-name... etc.
Click to show internal directories.
Click to hide internal directories.