webhook

package
v0.13.2 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

package webhook contains the manifestwork admission hook to validate the ManifestWork create and update operations

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Options

type Options struct {
	Port          int
	CertDir       string
	ManifestLimit int
}

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

func NewOptions

func NewOptions() *Options

NewOptions constructs a new set of default options for webhook.

func (*Options) AddFlags

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

func (*Options) RunWebhookServer

func (c *Options) RunWebhookServer() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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