Documentation
¶
Index ¶
- func NewEventListCommand(commandName string, c 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, c client.API, w io.Writer) *cobra.Command
- func NewListSecretCommand(commandName string, client client.API, w io.Writer) *cobra.Command
- type EventListOptions
- type ListOptions
- type ListSecretOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewEventListCommand ¶
NewListCommand creates a new command to deal with listing events
func NewEventTypeCommand ¶
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.
Types ¶
type EventListOptions ¶
EventListOptions is the options for the listing events for a subscription command.
type ListOptions ¶
type ListOptions struct {
Args []string
WorkspaceID string
Enabled bool
Disabled bool
Limit int
Offset int
}
ListOptions is the options for the listing hooks command.
type ListSecretOptions ¶
ListOptions is the options for the listing secrets command.
Click to show internal directories.
Click to hide internal directories.