netpol

package
v0.0.0-...-d526987 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Webhook

type Webhook struct {
	webhook.ValidatingWebhook
}

Webhook to validate netpols.

func (*Webhook) SetupWithManager

func (w *Webhook) SetupWithManager(mgr ctrl.Manager) error

SetupWithManager sets up the webhook with the Manager.

func (*Webhook) Validate

func (w *Webhook) Validate(ctx context.Context, req admission.Request) admission.Response

Validate validates admission.Request for a netpol object.

Jump to

Keyboard shortcuts

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