webhook

package
v0.0.0-...-1c48c90 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd() *cobra.Command

NewCmd creates the webhook management command.

Types

type GlobalFlags

type GlobalFlags struct {
	Organization string
	ConfigFile   string
	Token        string
	DryRun       bool
	Verbose      bool
	Parallel     int
	Timeout      string
}

GlobalFlags represents global flags for all repo-config commands.

type WebhookFlags

type WebhookFlags struct {
	GlobalFlags
	Repository   string
	URL          string
	Events       []string
	Active       bool
	Secret       string
	ContentType  string
	ID           int64
	OutputFormat string
}

WebhookFlags represents webhook command flags.

Jump to

Keyboard shortcuts

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