Documentation ¶
Index ¶
- func NewTriggerCommand(p *commands.KnParams) *cobra.Command
- func NewTriggerCreateCommand(p *commands.KnParams) *cobra.Command
- func NewTriggerDeleteCommand(p *commands.KnParams) *cobra.Command
- func NewTriggerDescribeCommand(p *commands.KnParams) *cobra.Command
- func NewTriggerListCommand(p *commands.KnParams) *cobra.Command
- func NewTriggerUpdateCommand(p *commands.KnParams) *cobra.Command
- func TriggerListHandlers(h hprinters.PrintHandler)
- type TriggerUpdateFlags
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewTriggerCommand ¶
NewTriggerCommand to create trigger command group
func NewTriggerCreateCommand ¶
NewTriggerCreateCommand to create trigger create command
func NewTriggerDeleteCommand ¶
NewTriggerDeleteCommand represent 'revision delete' command
func NewTriggerDescribeCommand ¶
NewTriggerDescribeCommand returns a new command for describe a trigger
func NewTriggerListCommand ¶
NewTriggerListCommand represents 'kn trigger list' command
func NewTriggerUpdateCommand ¶
NewTriggerUpdateCommand prepares the command for a tigger update
func TriggerListHandlers ¶
func TriggerListHandlers(h hprinters.PrintHandler)
TriggerListHandlers handles printing human readable table for `kn source list-types` command's output
Types ¶
type TriggerUpdateFlags ¶
TriggerUpdateFlags are flags for create and update a trigger
func (*TriggerUpdateFlags) Add ¶
func (f *TriggerUpdateFlags) Add(cmd *cobra.Command)
Add is to set parameters
func (*TriggerUpdateFlags) GetFilters ¶
func (f *TriggerUpdateFlags) GetFilters() (map[string]string, error)
GetFilters to return a map type of filters
func (*TriggerUpdateFlags) GetUpdateFilters ¶
func (f *TriggerUpdateFlags) GetUpdateFilters() (map[string]string, []string, error)
GetUpdateFilters to return a map type of filters
Click to show internal directories.
Click to hide internal directories.