hook

package
v0.0.57 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 6, 2026 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewEventListCommand

func NewEventListCommand(commandName string, c client.API, w io.Writer) *cobra.Command

NewListCommand creates a new command to deal with listing events

func NewEventTypeCommand

func NewEventTypeCommand(commandName string, client client.API, w io.Writer) *cobra.Command

NewEventTypeCommand creates a new `hook event-types` command to give you details about your which events you can register subscriptions for.

func NewHookCommand

func NewHookCommand(client client.API, w io.Writer) *cobra.Command

NewHookCommand creates a new `hook` command

func NewListCommand

func NewListCommand(commandName string, c client.API, w io.Writer) *cobra.Command

NewListCommand creates a new `hook list` command to give you details about your hooks.

func NewListSecretCommand

func NewListSecretCommand(commandName string, client client.API, w io.Writer) *cobra.Command

NewListSecretCommand creates a new `hook secrets` command to give you details about your secrets.

Types

type EventListOptions

type EventListOptions struct {
	Args           []string
	SubscriptionID string
	Limit          int
	Offset         int
}

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

type ListSecretOptions struct {
	Args        []string
	WorkspaceID string
}

ListOptions is the options for the listing secrets command.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL