Documentation ¶
Index ¶
- func SetupRemoteSyncerWebhookWithManager(mgr ctrl.Manager) error
- func SetupRemoteUserBindingWebhookWithManager(mgr ctrl.Manager) error
- func SetupRemoteUserWebhookWithManager(mgr ctrl.Manager) error
- type RemoteSyncerCustomValidator
- func (v *RemoteSyncerCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *RemoteSyncerCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *RemoteSyncerCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type RemoteSyncerWebhookHandler
- type RemoteUserCustomValidator
- func (v *RemoteUserCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *RemoteUserCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *RemoteUserCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type RemoteUserWebhookHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRemoteSyncerWebhookWithManager ¶
SetupRemoteSyncerWebhookWithManager registers the webhook for RemoteSyncer in the manager.
func SetupRemoteUserBindingWebhookWithManager ¶
SetupRemoteUserBindingWebhookWithManager registers the webhook for RemoteUserBinding in the manager.
func SetupRemoteUserWebhookWithManager ¶
SetupRemoteUserWebhookWithManager registers the webhook for RemoteUser in the manager.
Types ¶
type RemoteSyncerCustomValidator ¶
type RemoteSyncerCustomValidator struct { }
func (*RemoteSyncerCustomValidator) ValidateCreate ¶
func (v *RemoteSyncerCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type RemoteSyncer.
func (*RemoteSyncerCustomValidator) ValidateDelete ¶
func (v *RemoteSyncerCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type RemoteSyncer.
func (*RemoteSyncerCustomValidator) ValidateUpdate ¶
func (v *RemoteSyncerCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type RemoteSyncer.
type RemoteUserCustomValidator ¶
type RemoteUserCustomValidator struct { }
func (*RemoteUserCustomValidator) ValidateCreate ¶
func (v *RemoteUserCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type RemoteUser.
func (*RemoteUserCustomValidator) ValidateDelete ¶
func (v *RemoteUserCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type RemoteUser.
func (*RemoteUserCustomValidator) ValidateUpdate ¶
func (v *RemoteUserCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type RemoteUser.