v1alpha1

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EngramCustomDefaulter

type EngramCustomDefaulter struct {
}

EngramCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind Engram when those are created or updated.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*EngramCustomDefaulter) Default

Default implements webhook.CustomDefaulter so a webhook will be registered for the Kind Engram.

type EngramCustomValidator

type EngramCustomValidator struct {
	Client client.Client
	Config *config.ControllerConfig
}

EngramCustomValidator struct is responsible for validating the Engram resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*EngramCustomValidator) ValidateCreate

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

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

func (*EngramCustomValidator) ValidateDelete

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

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

func (*EngramCustomValidator) ValidateUpdate

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

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

type EngramWebhook

type EngramWebhook struct {
	client.Client
	Config *config.ControllerConfig
}

func (*EngramWebhook) SetupWebhookWithManager

func (wh *EngramWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager registers the webhook for Engram in the manager.

type ImpulseCustomDefaulter

type ImpulseCustomDefaulter struct {
}

ImpulseCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind Impulse when those are created or updated.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*ImpulseCustomDefaulter) Default

Default implements webhook.CustomDefaulter so a webhook will be registered for the Kind Impulse.

type ImpulseCustomValidator

type ImpulseCustomValidator struct {
	Client client.Client
	Config *config.ControllerConfig
}

ImpulseCustomValidator struct is responsible for validating the Impulse resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*ImpulseCustomValidator) ValidateCreate

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

func (*ImpulseCustomValidator) ValidateDelete

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

func (*ImpulseCustomValidator) ValidateUpdate

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

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

type ImpulseWebhook

type ImpulseWebhook struct {
	client.Client
	Config *config.ControllerConfig
}

func (*ImpulseWebhook) SetupWebhookWithManager

func (wh *ImpulseWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager registers the webhook for Impulse in the manager.

type StoryCustomDefaulter

type StoryCustomDefaulter struct {
}

StoryCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind Story when those are created or updated.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*StoryCustomDefaulter) Default

Default implements webhook.CustomDefaulter so a webhook will be registered for the Kind Story.

type StoryCustomValidator

type StoryCustomValidator struct {
	Client client.Client
	Config *config.ControllerConfig
}

StoryCustomValidator struct is responsible for validating the Story resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*StoryCustomValidator) ValidateCreate

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

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

func (*StoryCustomValidator) ValidateDelete

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

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

func (*StoryCustomValidator) ValidateUpdate

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

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

type StoryWebhook

type StoryWebhook struct {
	client.Client
	Config *config.ControllerConfig
}

StoryWebhook sets up the webhook for Story in the manager.

func (*StoryWebhook) SetupWebhookWithManager

func (wh *StoryWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager registers the webhook for Story in the manager.

Jump to

Keyboard shortcuts

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