reservednames

package
v0.26.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

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 ReservedNames

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

ReservedNames is an admission plugin for checking reserved object names.

func NewReservedNames

func NewReservedNames() *ReservedNames

NewReservedNames constructs a new ReservedNames admission plugin.

func (*ReservedNames) Admit

Admit ensures that the object does not violate reserved name constraints.

Jump to

Keyboard shortcuts

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