options

package
v1.16.0-alpha.0 Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddConfigFlags

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

func NewWebhookConfiguration

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

Types

type WebhookFlags

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

func NewWebhookFlags() *WebhookFlags

func (*WebhookFlags) AddFlags

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