v1beta2

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Dec 24, 2024 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 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

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

func (*RemoteSyncerCustomValidator) ValidateDelete

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 RemoteSyncerWebhookHandler

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

func (*RemoteSyncerWebhookHandler) Handle

type RemoteUserCustomValidator

type RemoteUserCustomValidator struct {
}

func (*RemoteUserCustomValidator) ValidateCreate

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

func (*RemoteUserCustomValidator) ValidateDelete

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 RemoteUserWebhookHandler

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

func (*RemoteUserWebhookHandler) Handle

Jump to

Keyboard shortcuts

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