webhooks

package
v0.34.10 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ConversionResource = map[schema.GroupKind]conversion.GroupKindConversion{
		v1beta1.SchemeGroupVersion.WithKind("EC2NodeClass").GroupKind(): {
			DefinitionName: "ec2nodeclasses.karpenter.k8s.aws",
			HubVersion:     "v1",
			Zygotes: map[string]conversion.ConvertibleObject{
				"v1":      &v1.EC2NodeClass{},
				"v1beta1": &v1beta1.EC2NodeClass{},
			},
		},
	}
)

Functions

func NewCRDConversionWebhook added in v0.34.7

func NewCRDConversionWebhook(ctx context.Context, _ configmap.Watcher) *controller.Impl

func NewCRDDefaultingWebhook

func NewCRDDefaultingWebhook(ctx context.Context, _ configmap.Watcher) *controller.Impl

func NewCRDValidationWebhook

func NewCRDValidationWebhook(ctx context.Context, _ configmap.Watcher) *controller.Impl

Types

This section is empty.

Jump to

Keyboard shortcuts

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