ghhook

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: May 3, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

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