ghhook

package
v0.0.0-...-8f1101b Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	GitHubOptions    flagutil.GitHubOptions
	GitHubHookClient github.HookClient

	Repos        flagutil.Strings
	HookURL      string
	HMACValue    string
	HMACPath     string
	Events       flagutil.Strings
	ShouldDelete bool
	Confirm      bool
}

func GetOptions

func GetOptions(fs *flag.FlagSet, args []string) (*Options, error)

func (*Options) HandleWebhookConfigChange

func (o *Options) HandleWebhookConfigChange() error

func (*Options) Validate

func (o *Options) Validate() error

Jump to

Keyboard shortcuts

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