Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct {
Hostname string
URL string
Events string // comma-separated
Secret string // "-" reads from stdin; @PATH reads from file
Active bool
// Args[0] = PROJECT/REPO
Args []string
// Stdin is overridable in tests; defaults to os.Stdin when nil.
Stdin io.Reader
}
Options holds parsed flags for `webhook create`.
Click to show internal directories.
Click to hide internal directories.