Help us shape the future of Go! Take the 2026 Go Developer Survey

options

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddConfigFlags added in v1.7.0

func AddConfigFlags(fs *pflag.FlagSet, c *config.WebhookConfiguration)

func AddGlobalFlags added in v1.7.0

func AddGlobalFlags(fs *pflag.FlagSet)

func NewWebhookConfiguration added in v1.7.0

func NewWebhookConfiguration() (*config.WebhookConfiguration, error)

func ValidateWebhookFlags added in v1.7.0

func ValidateWebhookFlags(f *WebhookFlags) error

Types

type WebhookFlags added in v1.7.0

type WebhookFlags struct {
	// Path to a file containing a WebhookConfiguration resource
	Config string
}

WebhookFlags defines options that can only be configured via flags.

func NewWebhookFlags added in v1.7.0

func NewWebhookFlags() *WebhookFlags

func (*WebhookFlags) AddFlags added in v1.7.0

func (f *WebhookFlags) AddFlags(fs *pflag.FlagSet)

Jump to

Keyboard shortcuts

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