webhook

package
v0.11.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWebhook added in v0.10.0

func NewWebhook() *cobra.Command

Types

type Options added in v0.8.0

type Options struct {
	Port    int
	CertDir string
}

Config contains the server (the webhook) cert and key.

func NewOptions added in v0.8.0

func NewOptions() *Options

NewOptions constructs a new set of default options for webhook.

func (*Options) AddFlags added in v0.8.0

func (c *Options) AddFlags(fs *pflag.FlagSet)

func (*Options) RunWebhookServer added in v0.10.0

func (c *Options) RunWebhookServer() error

Jump to

Keyboard shortcuts

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