apiexport

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const PluginName = "apis.kcp.io/APIExport"

PluginName is the name used to identify this admission webhook.

Variables

This section is empty.

Functions

func Register

func Register(plugins *admission.Plugins)

Register registers the reserved name admission webhook.

Types

type APIExportAdmission

type APIExportAdmission struct {
	*admission.Handler
	// contains filtered or unexported fields
}

APIExportAdmission is an admission plugin for checking APIExport validity.

func NewAPIExportAdmission

func NewAPIExportAdmission(isBuiltIn func(apisv1alpha1.GroupResource) bool) *APIExportAdmission

NewAPIExportAdmission constructs a new APIExportAdmission admission plugin.

func (*APIExportAdmission) Validate

Validate ensures that the APIExport is valid.

Jump to

Keyboard shortcuts

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