Documentation ¶
Index ¶
- type ManagedClusterWebhook
- func (r *ManagedClusterWebhook) Default(ctx context.Context, obj runtime.Object) error
- func (r *ManagedClusterWebhook) Init(mgr ctrl.Manager) error
- func (r *ManagedClusterWebhook) SetExternalKubeClientSet(client kubernetes.Interface)
- func (r *ManagedClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (r *ManagedClusterWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *ManagedClusterWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *ManagedClusterWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ManagedClusterWebhook ¶
type ManagedClusterWebhook struct {
// contains filtered or unexported fields
}
func (*ManagedClusterWebhook) SetExternalKubeClientSet ¶
func (r *ManagedClusterWebhook) SetExternalKubeClientSet(client kubernetes.Interface)
SetExternalKubeClientSet is function to enable the webhook injecting to kube admssion
func (*ManagedClusterWebhook) SetupWebhookWithManager ¶
func (r *ManagedClusterWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ManagedClusterWebhook) ValidateCreate ¶
func (r *ManagedClusterWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ManagedClusterWebhook) ValidateDelete ¶
func (r *ManagedClusterWebhook) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ManagedClusterWebhook) ValidateUpdate ¶
func (r *ManagedClusterWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) ( admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
Click to show internal directories.
Click to hide internal directories.