runtime

package
v1.7.1 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Overview

Package runtime contains the webhook implementation for runtime ExtensionConfig.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExtensionConfig

type ExtensionConfig struct{}

ExtensionConfig is the webhook for runtimev1.ExtensionConfig.

func (*ExtensionConfig) Default

func (webhook *ExtensionConfig) Default(_ context.Context, obj runtime.Object) error

Default implements webhook.Defaulter so a webhook will be registered for the type.

func (*ExtensionConfig) SetupWebhookWithManager

func (webhook *ExtensionConfig) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ExtensionConfig) ValidateCreate

func (webhook *ExtensionConfig) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateCreate implements webhook.Validator so a webhook will be registered for the type.

func (*ExtensionConfig) ValidateDelete

func (webhook *ExtensionConfig) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)

ValidateDelete implements webhook.Validator so a webhook will be registered for the type.

func (*ExtensionConfig) ValidateUpdate

func (webhook *ExtensionConfig) ValidateUpdate(ctx context.Context, old, updated runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.

Jump to

Keyboard shortcuts

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