clusterresourceplacement

package
v0.16.3 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2025 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package clusterresourceplacement implements the webhook for v1beta1 ClusterResourcePlacement.

Package clusterresourceplacement implements the webhook for v1beta1 ClusterResourcePlacement.

Index

Constants

This section is empty.

Variables

View Source
var (
	// MutatingPath is the webhook service path for mutating v1beta1 CRP resources.
	MutatingPath = fmt.Sprintf(utils.MutatingPathFmt, v1beta1.GroupVersion.Group, v1beta1.GroupVersion.Version, "clusterresourceplacement")
)
View Source
var (
	// V1Alpha1CRPValidationPath is the webhook service path which admission requests are routed to for v1alpha1 CRP resources.
	V1Alpha1CRPValidationPath = fmt.Sprintf(utils.ValidationPathFmt, fleetv1alpha1.GroupVersion.Group, fleetv1alpha1.GroupVersion.Version, "clusterresourceplacement")
)
View Source
var (
	// ValidationPath is the webhook service path which admission requests are routed to for validating v1beta1 CRP resources.
	ValidationPath = fmt.Sprintf(utils.ValidationPathFmt, placementv1beta1.GroupVersion.Group, placementv1beta1.GroupVersion.Version, "clusterresourceplacement")
)

Functions

func Add

func Add(mgr manager.Manager) error

Add registers the webhook for K8s bulit-in object types.

func AddMutating added in v0.16.2

func AddMutating(mgr manager.Manager) error

AddMutating registers the mutating webhook for v1beta1 CRP.

func AddV1Alpha1 added in v0.7.7

func AddV1Alpha1(mgr manager.Manager) error

AddV1Alpha1 registers the webhook for K8s bulit-in object types.

Types

This section is empty.

Jump to

Keyboard shortcuts

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