webhook

package
v0.15.1 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Overview

package webhook contains the managed cluster admission hooks to mutate and validate the ManagedCluster 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
}

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