webhooks

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2023 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AWSMaxDataVolumeCount = 25
)

Variables

This section is empty.

Functions

func IsValidCNI added in v0.4.0

func IsValidCNI(value string) bool

Types

type AttachedClusterWebhook added in v0.4.0

type AttachedClusterWebhook struct {
	Client client.Reader
}

func (*AttachedClusterWebhook) SetupWebhookWithManager added in v0.4.0

func (wh *AttachedClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*AttachedClusterWebhook) ValidateCreate added in v0.4.0

func (wh *AttachedClusterWebhook) ValidateCreate(_ context.Context, obj runtime.Object) error

func (*AttachedClusterWebhook) ValidateDelete added in v0.4.0

func (wh *AttachedClusterWebhook) ValidateDelete(_ context.Context, obj runtime.Object) error

func (*AttachedClusterWebhook) ValidateUpdate added in v0.4.0

func (wh *AttachedClusterWebhook) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) error

type ClusterWebhook

type ClusterWebhook struct {
	Client client.Reader
}

func (*ClusterWebhook) SetupWebhookWithManager

func (wh *ClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*ClusterWebhook) ValidateCreate

func (wh *ClusterWebhook) ValidateCreate(_ context.Context, obj runtime.Object) error

func (*ClusterWebhook) ValidateDelete

func (wh *ClusterWebhook) ValidateDelete(_ context.Context, obj runtime.Object) error

func (*ClusterWebhook) ValidateUpdate

func (wh *ClusterWebhook) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) error

type CustomClusterWebhook added in v0.4.0

type CustomClusterWebhook struct {
	Client client.Reader
}

func (*CustomClusterWebhook) SetupWebhookWithManager added in v0.4.0

func (wh *CustomClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error

func (*CustomClusterWebhook) ValidateCreate added in v0.4.0

func (wh *CustomClusterWebhook) ValidateCreate(_ context.Context, obj runtime.Object) error

func (*CustomClusterWebhook) ValidateDelete added in v0.4.0

func (wh *CustomClusterWebhook) ValidateDelete(_ context.Context, obj runtime.Object) error

func (*CustomClusterWebhook) ValidateUpdate added in v0.4.0

func (wh *CustomClusterWebhook) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) error

ValidateUpdate is not checking for changes in parameters such as cni.type, api address, certSANs, and so on. These parameters are set during cluster initialization and are not expected to change during the lifecycle of the cluster. Altering these values does not impact the system because these parameters are not re-checked after cluster creation.

Jump to

Keyboard shortcuts

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