v1alpha1

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NodePoolHostNetworkLabelKey       = "nodepool.openyurt.io/hostnetwork"
	NodePoolHostNetworkLabelForbidden = "true"
)
View Source
const (
	WebhookName = "pod"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PodHandler

type PodHandler struct {
}

PodHandler implements a validating and defaulting webhook for Cluster.

func (*PodHandler) Default

func (webhook *PodHandler) Default(ctx context.Context, obj runtime.Object) error

Default implements builder.CustomDefaulter.

func (*PodHandler) SetupWebhookWithManager

func (webhook *PodHandler) SetupWebhookWithManager(mgr ctrl.Manager) (string, string, error)

SetupWebhookWithManager sets up Cluster webhooks. mutate path, validate path, error

Jump to

Keyboard shortcuts

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