v1beta1

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2025 License: GPL-3.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupCrawlerWebhookWithManager

func SetupCrawlerWebhookWithManager(mgr ctrl.Manager) error

SetupCrawlerWebhookWithManager registers the webhook for Crawler in the manager.

func SetupCronSearchWebhookWithManager

func SetupCronSearchWebhookWithManager(mgr ctrl.Manager) error

SetupCronSearchWebhookWithManager registers the webhook for CronSearch in the manager.

func SetupDownloaderWebhookWithManager

func SetupDownloaderWebhookWithManager(mgr ctrl.Manager) error

SetupDownloaderWebhookWithManager registers the webhook for Downloader in the manager.

func SetupPipelineWebhookWithManager

func SetupPipelineWebhookWithManager(mgr ctrl.Manager) error

SetupPipelineWebhookWithManager registers the webhook for Pipeline in the manager.

func SetupProfileWebhookWithManager

func SetupProfileWebhookWithManager(mgr ctrl.Manager) error

SetupProfileWebhookWithManager registers the webhook for Profile in the manager.

func SetupSearchWebhookWithManager

func SetupSearchWebhookWithManager(mgr ctrl.Manager) error

SetupSearchWebhookWithManager registers the webhook for Search in the manager.

func SetupUploaderWebhookWithManager

func SetupUploaderWebhookWithManager(mgr ctrl.Manager) error

SetupUploaderWebhookWithManager registers the webhook for Uploader in the manager.

Types

type CrawlerCustomValidator

type CrawlerCustomValidator struct {
	// contains filtered or unexported fields
}

CrawlerCustomValidator struct is responsible for validating the Crawler resource when it is created, updated, or deleted.

func (*CrawlerCustomValidator) ValidateCreate

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

func (*CrawlerCustomValidator) ValidateDelete

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

func (*CrawlerCustomValidator) ValidateUpdate

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

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

type CronSearchCustomDefaulter

type CronSearchCustomDefaulter struct {
	// Default values for various CronJob fields
	DefaultConcurrencyPolicy          v1beta1.ConcurrencyPolicy
	DefaultSuspend                    bool
	DefaultSuccessfulJobsHistoryLimit int32
	DefaultFailedJobsHistoryLimit     int32
}

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

func (*CronSearchCustomDefaulter) Default

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

type CronSearchCustomValidator

type CronSearchCustomValidator struct{}

CronSearchCustomValidator struct is responsible for validating the CronSearch resource when it is created, updated, or deleted.

func (*CronSearchCustomValidator) ValidateCreate

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

func (*CronSearchCustomValidator) ValidateDelete

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

func (*CronSearchCustomValidator) ValidateUpdate

func (v *CronSearchCustomValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)

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

type DownloaderCustomValidator

type DownloaderCustomValidator struct {
	// contains filtered or unexported fields
}

DownloaderCustomValidator struct is responsible for validating the Downloader resource when it is created, updated, or deleted.

func (*DownloaderCustomValidator) ValidateCreate

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

func (*DownloaderCustomValidator) ValidateDelete

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

func (*DownloaderCustomValidator) ValidateUpdate

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

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

type PipelineCustomDefaulter

type PipelineCustomDefaulter struct {
}

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

func (*PipelineCustomDefaulter) Default

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

type PipelineCustomValidator

type PipelineCustomValidator struct {
	// contains filtered or unexported fields
}

PipelineCustomValidator struct is responsible for validating the Pipeline resource when it is created, updated, or deleted.

func (*PipelineCustomValidator) ValidateCreate

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

func (*PipelineCustomValidator) ValidateDelete

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

func (*PipelineCustomValidator) ValidateUpdate

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

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

type ProfileCustomValidator

type ProfileCustomValidator struct {
	// contains filtered or unexported fields
}

ProfileCustomValidator struct is responsible for validating the Profile resource when it is created, updated, or deleted.

func (*ProfileCustomValidator) ValidateCreate

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

func (*ProfileCustomValidator) ValidateDelete

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

func (*ProfileCustomValidator) ValidateUpdate

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

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

type SearchCustomValidator

type SearchCustomValidator struct {
	// contains filtered or unexported fields
}

SearchCustomValidator struct is responsible for validating the Search resource when it is created, updated, or deleted.

func (*SearchCustomValidator) ValidateCreate

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

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

func (*SearchCustomValidator) ValidateDelete

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

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

func (*SearchCustomValidator) ValidateUpdate

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

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

type UploaderCustomValidator

type UploaderCustomValidator struct {
	// contains filtered or unexported fields
}

UploaderCustomValidator struct is responsible for validating the Uploader resource when it is created, updated, or deleted.

func (*UploaderCustomValidator) ValidateCreate

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

func (*UploaderCustomValidator) ValidateDelete

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

func (*UploaderCustomValidator) ValidateUpdate

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

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

Jump to

Keyboard shortcuts

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