webhook

package
v0.36.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClusterCatalog

type ClusterCatalog struct{}

ClusterCatalog wraps the external v1alpha1.ClusterCatalog type and implements admission.Defaulter

func (*ClusterCatalog) Default

func (r *ClusterCatalog) Default(ctx context.Context, obj runtime.Object) error

Default is the method that will be called by the webhook to apply defaults.

func (*ClusterCatalog) SetupWebhookWithManager

func (r *ClusterCatalog) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager sets up the webhook with the manager

Jump to

Keyboard shortcuts

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