Documentation
¶
Index ¶
- Constants
- func IsValidCNI(value string) bool
- type AttachedClusterWebhook
- func (wh *AttachedClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (wh *AttachedClusterWebhook) ValidateCreate(_ context.Context, obj runtime.Object) error
- func (wh *AttachedClusterWebhook) ValidateDelete(_ context.Context, obj runtime.Object) error
- func (wh *AttachedClusterWebhook) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) error
- type ClusterWebhook
- func (wh *ClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (wh *ClusterWebhook) ValidateCreate(_ context.Context, obj runtime.Object) error
- func (wh *ClusterWebhook) ValidateDelete(_ context.Context, obj runtime.Object) error
- func (wh *ClusterWebhook) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) error
- type CustomClusterWebhook
- func (wh *CustomClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (wh *CustomClusterWebhook) ValidateCreate(_ context.Context, obj runtime.Object) error
- func (wh *CustomClusterWebhook) ValidateDelete(_ context.Context, obj runtime.Object) error
- func (wh *CustomClusterWebhook) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) error
Constants ¶
View Source
const (
AWSMaxDataVolumeCount = 25
)
Variables ¶
This section is empty.
Functions ¶
func IsValidCNI ¶ added in v0.4.0
Types ¶
type AttachedClusterWebhook ¶ added in v0.4.0
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 (*AttachedClusterWebhook) ValidateDelete ¶ added in v0.4.0
func (*AttachedClusterWebhook) ValidateUpdate ¶ added in v0.4.0
type ClusterWebhook ¶
func (*ClusterWebhook) SetupWebhookWithManager ¶
func (wh *ClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ClusterWebhook) ValidateCreate ¶
func (*ClusterWebhook) ValidateDelete ¶
func (*ClusterWebhook) ValidateUpdate ¶
type CustomClusterWebhook ¶ added in v0.4.0
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 (*CustomClusterWebhook) ValidateDelete ¶ added in v0.4.0
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.
Click to show internal directories.
Click to hide internal directories.