v1beta2

package
v1.4.0-dev-20240802 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterBackingImageDataSourceGeneratingHandler

func RegisterBackingImageDataSourceGeneratingHandler(ctx context.Context, controller BackingImageDataSourceController, apply apply.Apply,
	condition condition.Cond, name string, handler BackingImageDataSourceGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterBackingImageDataSourceGeneratingHandler configures a BackingImageDataSourceController to execute a BackingImageDataSourceGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterBackingImageDataSourceStatusHandler

func RegisterBackingImageDataSourceStatusHandler(ctx context.Context, controller BackingImageDataSourceController, condition condition.Cond, name string, handler BackingImageDataSourceStatusHandler)

RegisterBackingImageDataSourceStatusHandler configures a BackingImageDataSourceController to execute a BackingImageDataSourceStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterBackingImageGeneratingHandler

func RegisterBackingImageGeneratingHandler(ctx context.Context, controller BackingImageController, apply apply.Apply,
	condition condition.Cond, name string, handler BackingImageGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterBackingImageGeneratingHandler configures a BackingImageController to execute a BackingImageGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterBackingImageStatusHandler

func RegisterBackingImageStatusHandler(ctx context.Context, controller BackingImageController, condition condition.Cond, name string, handler BackingImageStatusHandler)

RegisterBackingImageStatusHandler configures a BackingImageController to execute a BackingImageStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterBackupGeneratingHandler

func RegisterBackupGeneratingHandler(ctx context.Context, controller BackupController, apply apply.Apply,
	condition condition.Cond, name string, handler BackupGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterBackupGeneratingHandler configures a BackupController to execute a BackupGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterBackupStatusHandler

func RegisterBackupStatusHandler(ctx context.Context, controller BackupController, condition condition.Cond, name string, handler BackupStatusHandler)

RegisterBackupStatusHandler configures a BackupController to execute a BackupStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterEngineGeneratingHandler added in v1.3.0

func RegisterEngineGeneratingHandler(ctx context.Context, controller EngineController, apply apply.Apply,
	condition condition.Cond, name string, handler EngineGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterEngineGeneratingHandler configures a EngineController to execute a EngineGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterEngineStatusHandler added in v1.3.0

func RegisterEngineStatusHandler(ctx context.Context, controller EngineController, condition condition.Cond, name string, handler EngineStatusHandler)

RegisterEngineStatusHandler configures a EngineController to execute a EngineStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterReplicaGeneratingHandler

func RegisterReplicaGeneratingHandler(ctx context.Context, controller ReplicaController, apply apply.Apply,
	condition condition.Cond, name string, handler ReplicaGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterReplicaGeneratingHandler configures a ReplicaController to execute a ReplicaGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterReplicaStatusHandler

func RegisterReplicaStatusHandler(ctx context.Context, controller ReplicaController, condition condition.Cond, name string, handler ReplicaStatusHandler)

RegisterReplicaStatusHandler configures a ReplicaController to execute a ReplicaStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterSettingGeneratingHandler added in v1.4.0

func RegisterSettingGeneratingHandler(ctx context.Context, controller SettingController, apply apply.Apply,
	condition condition.Cond, name string, handler SettingGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterSettingGeneratingHandler configures a SettingController to execute a SettingGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterSettingStatusHandler added in v1.4.0

func RegisterSettingStatusHandler(ctx context.Context, controller SettingController, condition condition.Cond, name string, handler SettingStatusHandler)

RegisterSettingStatusHandler configures a SettingController to execute a SettingStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterVolumeGeneratingHandler

func RegisterVolumeGeneratingHandler(ctx context.Context, controller VolumeController, apply apply.Apply,
	condition condition.Cond, name string, handler VolumeGeneratingHandler, opts *generic.GeneratingHandlerOptions)

RegisterVolumeGeneratingHandler configures a VolumeController to execute a VolumeGeneratingHandler for every events observed, passing the returned objects to the provided apply.Apply. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

func RegisterVolumeStatusHandler

func RegisterVolumeStatusHandler(ctx context.Context, controller VolumeController, condition condition.Cond, name string, handler VolumeStatusHandler)

RegisterVolumeStatusHandler configures a VolumeController to execute a VolumeStatusHandler for every events observed. If a non-empty condition is provided, it will be updated in the status conditions for every handler execution

Types

type BackingImageCache

type BackingImageCache interface {
	generic.CacheInterface[*v1beta2.BackingImage]
}

BackingImageCache interface for retrieving BackingImage resources in memory.

type BackingImageClient

type BackingImageClient interface {
	generic.ClientInterface[*v1beta2.BackingImage, *v1beta2.BackingImageList]
}

BackingImageClient interface for managing BackingImage resources in Kubernetes.

type BackingImageController

type BackingImageController interface {
	generic.ControllerInterface[*v1beta2.BackingImage, *v1beta2.BackingImageList]
}

BackingImageController interface for managing BackingImage resources.

type BackingImageDataSourceCache

type BackingImageDataSourceCache interface {
	generic.CacheInterface[*v1beta2.BackingImageDataSource]
}

BackingImageDataSourceCache interface for retrieving BackingImageDataSource resources in memory.

type BackingImageDataSourceClient

type BackingImageDataSourceClient interface {
	generic.ClientInterface[*v1beta2.BackingImageDataSource, *v1beta2.BackingImageDataSourceList]
}

BackingImageDataSourceClient interface for managing BackingImageDataSource resources in Kubernetes.

type BackingImageDataSourceController

type BackingImageDataSourceController interface {
	generic.ControllerInterface[*v1beta2.BackingImageDataSource, *v1beta2.BackingImageDataSourceList]
}

BackingImageDataSourceController interface for managing BackingImageDataSource resources.

type BackingImageDataSourceGeneratingHandler

type BackingImageDataSourceGeneratingHandler func(obj *v1beta2.BackingImageDataSource, status v1beta2.BackingImageDataSourceStatus) ([]runtime.Object, v1beta2.BackingImageDataSourceStatus, error)

BackingImageDataSourceGeneratingHandler is the top-level handler that is executed for every BackingImageDataSource event. It extends BackingImageDataSourceStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type BackingImageDataSourceStatusHandler

type BackingImageDataSourceStatusHandler func(obj *v1beta2.BackingImageDataSource, status v1beta2.BackingImageDataSourceStatus) (v1beta2.BackingImageDataSourceStatus, error)

BackingImageDataSourceStatusHandler is executed for every added or modified BackingImageDataSource. Should return the new status to be updated

type BackingImageGeneratingHandler

type BackingImageGeneratingHandler func(obj *v1beta2.BackingImage, status v1beta2.BackingImageStatus) ([]runtime.Object, v1beta2.BackingImageStatus, error)

BackingImageGeneratingHandler is the top-level handler that is executed for every BackingImage event. It extends BackingImageStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type BackingImageStatusHandler

type BackingImageStatusHandler func(obj *v1beta2.BackingImage, status v1beta2.BackingImageStatus) (v1beta2.BackingImageStatus, error)

BackingImageStatusHandler is executed for every added or modified BackingImage. Should return the new status to be updated

type BackupCache

type BackupCache interface {
	generic.CacheInterface[*v1beta2.Backup]
}

BackupCache interface for retrieving Backup resources in memory.

type BackupClient

type BackupClient interface {
	generic.ClientInterface[*v1beta2.Backup, *v1beta2.BackupList]
}

BackupClient interface for managing Backup resources in Kubernetes.

type BackupController

type BackupController interface {
	generic.ControllerInterface[*v1beta2.Backup, *v1beta2.BackupList]
}

BackupController interface for managing Backup resources.

type BackupGeneratingHandler

type BackupGeneratingHandler func(obj *v1beta2.Backup, status v1beta2.BackupStatus) ([]runtime.Object, v1beta2.BackupStatus, error)

BackupGeneratingHandler is the top-level handler that is executed for every Backup event. It extends BackupStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type BackupStatusHandler

type BackupStatusHandler func(obj *v1beta2.Backup, status v1beta2.BackupStatus) (v1beta2.BackupStatus, error)

BackupStatusHandler is executed for every added or modified Backup. Should return the new status to be updated

type EngineCache added in v1.3.0

type EngineCache interface {
	generic.CacheInterface[*v1beta2.Engine]
}

EngineCache interface for retrieving Engine resources in memory.

type EngineClient added in v1.3.0

type EngineClient interface {
	generic.ClientInterface[*v1beta2.Engine, *v1beta2.EngineList]
}

EngineClient interface for managing Engine resources in Kubernetes.

type EngineController added in v1.3.0

type EngineController interface {
	generic.ControllerInterface[*v1beta2.Engine, *v1beta2.EngineList]
}

EngineController interface for managing Engine resources.

type EngineGeneratingHandler added in v1.3.0

type EngineGeneratingHandler func(obj *v1beta2.Engine, status v1beta2.EngineStatus) ([]runtime.Object, v1beta2.EngineStatus, error)

EngineGeneratingHandler is the top-level handler that is executed for every Engine event. It extends EngineStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type EngineStatusHandler added in v1.3.0

type EngineStatusHandler func(obj *v1beta2.Engine, status v1beta2.EngineStatus) (v1beta2.EngineStatus, error)

EngineStatusHandler is executed for every added or modified Engine. Should return the new status to be updated

type Interface

type Interface interface {
	BackingImage() BackingImageController
	BackingImageDataSource() BackingImageDataSourceController
	Backup() BackupController
	Engine() EngineController
	Replica() ReplicaController
	Setting() SettingController
	Volume() VolumeController
}

func New

func New(controllerFactory controller.SharedControllerFactory) Interface

type ReplicaCache

type ReplicaCache interface {
	generic.CacheInterface[*v1beta2.Replica]
}

ReplicaCache interface for retrieving Replica resources in memory.

type ReplicaClient

type ReplicaClient interface {
	generic.ClientInterface[*v1beta2.Replica, *v1beta2.ReplicaList]
}

ReplicaClient interface for managing Replica resources in Kubernetes.

type ReplicaController

type ReplicaController interface {
	generic.ControllerInterface[*v1beta2.Replica, *v1beta2.ReplicaList]
}

ReplicaController interface for managing Replica resources.

type ReplicaGeneratingHandler

type ReplicaGeneratingHandler func(obj *v1beta2.Replica, status v1beta2.ReplicaStatus) ([]runtime.Object, v1beta2.ReplicaStatus, error)

ReplicaGeneratingHandler is the top-level handler that is executed for every Replica event. It extends ReplicaStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type ReplicaStatusHandler

type ReplicaStatusHandler func(obj *v1beta2.Replica, status v1beta2.ReplicaStatus) (v1beta2.ReplicaStatus, error)

ReplicaStatusHandler is executed for every added or modified Replica. Should return the new status to be updated

type SettingCache

type SettingCache interface {
	generic.CacheInterface[*v1beta2.Setting]
}

SettingCache interface for retrieving Setting resources in memory.

type SettingClient

type SettingClient interface {
	generic.ClientInterface[*v1beta2.Setting, *v1beta2.SettingList]
}

SettingClient interface for managing Setting resources in Kubernetes.

type SettingController

type SettingController interface {
	generic.ControllerInterface[*v1beta2.Setting, *v1beta2.SettingList]
}

SettingController interface for managing Setting resources.

type SettingGeneratingHandler added in v1.4.0

type SettingGeneratingHandler func(obj *v1beta2.Setting, status v1beta2.SettingStatus) ([]runtime.Object, v1beta2.SettingStatus, error)

SettingGeneratingHandler is the top-level handler that is executed for every Setting event. It extends SettingStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type SettingStatusHandler added in v1.4.0

type SettingStatusHandler func(obj *v1beta2.Setting, status v1beta2.SettingStatus) (v1beta2.SettingStatus, error)

SettingStatusHandler is executed for every added or modified Setting. Should return the new status to be updated

type VolumeCache

type VolumeCache interface {
	generic.CacheInterface[*v1beta2.Volume]
}

VolumeCache interface for retrieving Volume resources in memory.

type VolumeClient

type VolumeClient interface {
	generic.ClientInterface[*v1beta2.Volume, *v1beta2.VolumeList]
}

VolumeClient interface for managing Volume resources in Kubernetes.

type VolumeController

type VolumeController interface {
	generic.ControllerInterface[*v1beta2.Volume, *v1beta2.VolumeList]
}

VolumeController interface for managing Volume resources.

type VolumeGeneratingHandler

type VolumeGeneratingHandler func(obj *v1beta2.Volume, status v1beta2.VolumeStatus) ([]runtime.Object, v1beta2.VolumeStatus, error)

VolumeGeneratingHandler is the top-level handler that is executed for every Volume event. It extends VolumeStatusHandler by a returning a slice of child objects to be passed to apply.Apply

type VolumeStatusHandler

type VolumeStatusHandler func(obj *v1beta2.Volume, status v1beta2.VolumeStatus) (v1beta2.VolumeStatus, error)

VolumeStatusHandler is executed for every added or modified Volume. Should return the new status to be updated

Jump to

Keyboard shortcuts

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