webhookhandler

package
v1.14.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2023 License: MPL-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWebhookValidator

func NewWebhookValidator(opts *NewWebhookValidatorOpts) (admission.Handler, error)

NewWebhookValidator will initialize a CoreValidator with the provided k8s Client and set it to the provided mode. Returns error if mode is invalid.

Types

type NewWebhookValidatorOpts added in v1.7.0

type NewWebhookValidatorOpts struct {
	Client            client.Client
	Mode              string
	ScanUrl           string
	Token             string
	IntegrationMrn    string
	ClusterId         string
	IncludeNamespaces []string
	ExcludeNamespaces []string
}

Jump to

Keyboard shortcuts

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