v1beta3

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2025 License: Apache-2.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupRemoteSyncerWebhookWithManager

func SetupRemoteSyncerWebhookWithManager(mgr ctrl.Manager) error

SetupRemoteSyncerWebhookWithManager registers the webhook for RemoteSyncer in the manager.

func SetupRemoteTargetWebhookWithManager

func SetupRemoteTargetWebhookWithManager(mgr ctrl.Manager) error

SetupRemoteTargetWebhookWithManager registers the webhook for RemoteTarget in the manager.

func SetupRemoteUserBindingWebhookWithManager

func SetupRemoteUserBindingWebhookWithManager(mgr ctrl.Manager) error

SetupRemoteUserBindingWebhookWithManager registers the webhook for RemoteUserBinding in the manager.

func SetupRemoteUserWebhookWithManager

func SetupRemoteUserWebhookWithManager(mgr ctrl.Manager) error

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 RemoteSyncerTargetPatternWebhookHandler

type RemoteSyncerTargetPatternWebhookHandler struct {
	Client  client.Client
	Decoder *admission.Decoder
}

func (*RemoteSyncerTargetPatternWebhookHandler) Handle

func (rsyt *RemoteSyncerTargetPatternWebhookHandler) Handle(ctx context.Context, req admission.Request) admission.Response

type RemoteSyncerWebhookHandler

type RemoteSyncerWebhookHandler struct {
	Client  client.Client
	Decoder *admission.Decoder
}

func (*RemoteSyncerWebhookHandler) Handle

func (rswh *RemoteSyncerWebhookHandler) Handle(ctx context.Context, req admission.Request) admission.Response

type RemoteTargetCustomValidator

type RemoteTargetCustomValidator struct {
}

func (*RemoteTargetCustomValidator) ValidateCreate

func (v *RemoteTargetCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type RemoteTarget.

func (*RemoteTargetCustomValidator) ValidateDelete

func (v *RemoteTargetCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type RemoteTarget.

func (*RemoteTargetCustomValidator) ValidateUpdate

func (v *RemoteTargetCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type RemoteTarget.

type RemoteUserAssociationWebhookHandler

type RemoteUserAssociationWebhookHandler struct {
	Client  client.Client
	Decoder *admission.Decoder
}

func (*RemoteUserAssociationWebhookHandler) Handle

func (ruwh *RemoteUserAssociationWebhookHandler) Handle(ctx context.Context, req admission.Request) admission.Response

type RemoteUserBindingCustomValidator

type RemoteUserBindingCustomValidator struct {
}

func (*RemoteUserBindingCustomValidator) ValidateCreate

func (v *RemoteUserBindingCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type RemoteUserBinding.

func (*RemoteUserBindingCustomValidator) ValidateDelete

func (v *RemoteUserBindingCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)

ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type RemoteUserBinding.

func (*RemoteUserBindingCustomValidator) ValidateUpdate

func (v *RemoteUserBindingCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type RemoteUserBinding.

type RemoteUserBindingPermissionsWebhookHandler

type RemoteUserBindingPermissionsWebhookHandler struct {
	Client  client.Client
	Decoder *admission.Decoder
}

func (*RemoteUserBindingPermissionsWebhookHandler) Handle

func (rubwh *RemoteUserBindingPermissionsWebhookHandler) Handle(ctx context.Context, req admission.Request) admission.Response

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.

type RemoteUserPermissionsWebhookHandler

type RemoteUserPermissionsWebhookHandler struct {
	Client  client.Client
	Decoder *admission.Decoder
}

func (*RemoteUserPermissionsWebhookHandler) Handle

func (ruwh *RemoteUserPermissionsWebhookHandler) Handle(ctx context.Context, req admission.Request) admission.Response

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳