Documentation ¶
Index ¶
- func NewEventListCommand(commandName string, client client.API, w io.Writer) *cobra.Command
- func NewEventTypeCommand(commandName string, client client.API, w io.Writer) *cobra.Command
- func NewHookCommand(client client.API, w io.Writer) *cobra.Command
- func NewListCommand(commandName string, client client.API, w io.Writer) *cobra.Command
- func NewListSecretCommand(commandName string, client client.API, w io.Writer) *cobra.Command
- func RenderEventTypes(client client.API, w io.Writer) error
- func RenderHooks(client client.API, opts ListOptions, w io.Writer) error
- type EventListOptions
- type ListOptions
- type ListSecretOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventListCommand ¶ added in v0.0.17
NewListCommand creates a new command to deal with listing events
func NewEventTypeCommand ¶ added in v0.0.11
NewEventTypeCommand creates a new `hook event-types` command to give you details about your which events you can register subscriptions for.
func NewHookCommand ¶
NewHookCommand creates a new `hook` command
func NewListCommand ¶
NewListCommand creates a new `hook list` command to give you details about your hooks.
func NewListSecretCommand ¶ added in v0.0.13
NewListSecretCommand creates a new `hook secrets` command to give you details about your secrets.
func RenderEventTypes ¶ added in v0.0.11
RenderEventTypes will show all of the event types that can be registered.
func RenderHooks ¶
RenderHooks will show the users subscriptions.
Types ¶
type EventListOptions ¶ added in v0.0.17
EventListOptions is the options for the listing events for a subscription command.
type ListOptions ¶
ListOptions is the options for the listing hooks command.
type ListSecretOptions ¶ added in v0.0.13
ListOptions is the options for the listing secrets command.