Documentation ¶
Index ¶
- func RegisterBackingImageDataSourceGeneratingHandler(ctx context.Context, controller BackingImageDataSourceController, ...)
- func RegisterBackingImageDataSourceStatusHandler(ctx context.Context, controller BackingImageDataSourceController, ...)
- func RegisterBackingImageGeneratingHandler(ctx context.Context, controller BackingImageController, apply apply.Apply, ...)
- func RegisterBackingImageStatusHandler(ctx context.Context, controller BackingImageController, ...)
- func RegisterBackupBackingImageGeneratingHandler(ctx context.Context, controller BackupBackingImageController, ...)
- func RegisterBackupBackingImageStatusHandler(ctx context.Context, controller BackupBackingImageController, ...)
- func RegisterBackupGeneratingHandler(ctx context.Context, controller BackupController, apply apply.Apply, ...)
- func RegisterBackupStatusHandler(ctx context.Context, controller BackupController, condition condition.Cond, ...)
- func RegisterEngineGeneratingHandler(ctx context.Context, controller EngineController, apply apply.Apply, ...)
- func RegisterEngineStatusHandler(ctx context.Context, controller EngineController, condition condition.Cond, ...)
- func RegisterReplicaGeneratingHandler(ctx context.Context, controller ReplicaController, apply apply.Apply, ...)
- func RegisterReplicaStatusHandler(ctx context.Context, controller ReplicaController, condition condition.Cond, ...)
- func RegisterSettingGeneratingHandler(ctx context.Context, controller SettingController, apply apply.Apply, ...)
- func RegisterSettingStatusHandler(ctx context.Context, controller SettingController, condition condition.Cond, ...)
- func RegisterSnapshotGeneratingHandler(ctx context.Context, controller SnapshotController, apply apply.Apply, ...)
- func RegisterSnapshotStatusHandler(ctx context.Context, controller SnapshotController, condition condition.Cond, ...)
- func RegisterVolumeGeneratingHandler(ctx context.Context, controller VolumeController, apply apply.Apply, ...)
- func RegisterVolumeStatusHandler(ctx context.Context, controller VolumeController, condition condition.Cond, ...)
- type BackingImageCache
- type BackingImageClient
- type BackingImageController
- type BackingImageDataSourceCache
- type BackingImageDataSourceClient
- type BackingImageDataSourceController
- type BackingImageDataSourceGeneratingHandler
- type BackingImageDataSourceStatusHandler
- type BackingImageGeneratingHandler
- type BackingImageStatusHandler
- type BackupBackingImageCache
- type BackupBackingImageClient
- type BackupBackingImageController
- type BackupBackingImageGeneratingHandler
- type BackupBackingImageStatusHandler
- type BackupCache
- type BackupClient
- type BackupController
- type BackupGeneratingHandler
- type BackupStatusHandler
- type EngineCache
- type EngineClient
- type EngineController
- type EngineGeneratingHandler
- type EngineStatusHandler
- type Interface
- type ReplicaCache
- type ReplicaClient
- type ReplicaController
- type ReplicaGeneratingHandler
- type ReplicaStatusHandler
- type SettingCache
- type SettingClient
- type SettingController
- type SettingGeneratingHandler
- type SettingStatusHandler
- type SnapshotCache
- type SnapshotClient
- type SnapshotController
- type SnapshotGeneratingHandler
- type SnapshotStatusHandler
- type VolumeCache
- type VolumeClient
- type VolumeController
- type VolumeGeneratingHandler
- type VolumeStatusHandler
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 RegisterBackupBackingImageGeneratingHandler ¶ added in v1.4.0
func RegisterBackupBackingImageGeneratingHandler(ctx context.Context, controller BackupBackingImageController, apply apply.Apply, condition condition.Cond, name string, handler BackupBackingImageGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterBackupBackingImageGeneratingHandler configures a BackupBackingImageController to execute a BackupBackingImageGeneratingHandler 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 RegisterBackupBackingImageStatusHandler ¶ added in v1.4.0
func RegisterBackupBackingImageStatusHandler(ctx context.Context, controller BackupBackingImageController, condition condition.Cond, name string, handler BackupBackingImageStatusHandler)
RegisterBackupBackingImageStatusHandler configures a BackupBackingImageController to execute a BackupBackingImageStatusHandler 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 RegisterSnapshotGeneratingHandler ¶ added in v1.4.0
func RegisterSnapshotGeneratingHandler(ctx context.Context, controller SnapshotController, apply apply.Apply, condition condition.Cond, name string, handler SnapshotGeneratingHandler, opts *generic.GeneratingHandlerOptions)
RegisterSnapshotGeneratingHandler configures a SnapshotController to execute a SnapshotGeneratingHandler 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 RegisterSnapshotStatusHandler ¶ added in v1.4.0
func RegisterSnapshotStatusHandler(ctx context.Context, controller SnapshotController, condition condition.Cond, name string, handler SnapshotStatusHandler)
RegisterSnapshotStatusHandler configures a SnapshotController to execute a SnapshotStatusHandler 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 BackupBackingImageCache ¶ added in v1.4.0
type BackupBackingImageCache interface { generic.CacheInterface[*v1beta2.BackupBackingImage] }
BackupBackingImageCache interface for retrieving BackupBackingImage resources in memory.
type BackupBackingImageClient ¶ added in v1.4.0
type BackupBackingImageClient interface { generic.ClientInterface[*v1beta2.BackupBackingImage, *v1beta2.BackupBackingImageList] }
BackupBackingImageClient interface for managing BackupBackingImage resources in Kubernetes.
type BackupBackingImageController ¶ added in v1.4.0
type BackupBackingImageController interface { generic.ControllerInterface[*v1beta2.BackupBackingImage, *v1beta2.BackupBackingImageList] }
BackupBackingImageController interface for managing BackupBackingImage resources.
type BackupBackingImageGeneratingHandler ¶ added in v1.4.0
type BackupBackingImageGeneratingHandler func(obj *v1beta2.BackupBackingImage, status v1beta2.BackupBackingImageStatus) ([]runtime.Object, v1beta2.BackupBackingImageStatus, error)
BackupBackingImageGeneratingHandler is the top-level handler that is executed for every BackupBackingImage event. It extends BackupBackingImageStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type BackupBackingImageStatusHandler ¶ added in v1.4.0
type BackupBackingImageStatusHandler func(obj *v1beta2.BackupBackingImage, status v1beta2.BackupBackingImageStatus) (v1beta2.BackupBackingImageStatus, error)
BackupBackingImageStatusHandler is executed for every added or modified BackupBackingImage. 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 BackupBackingImage() BackupBackingImageController Engine() EngineController Replica() ReplicaController Setting() SettingController Snapshot() SnapshotController 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 SnapshotCache ¶ added in v1.4.0
type SnapshotCache interface { generic.CacheInterface[*v1beta2.Snapshot] }
SnapshotCache interface for retrieving Snapshot resources in memory.
type SnapshotClient ¶ added in v1.4.0
type SnapshotClient interface { generic.ClientInterface[*v1beta2.Snapshot, *v1beta2.SnapshotList] }
SnapshotClient interface for managing Snapshot resources in Kubernetes.
type SnapshotController ¶ added in v1.4.0
type SnapshotController interface { generic.ControllerInterface[*v1beta2.Snapshot, *v1beta2.SnapshotList] }
SnapshotController interface for managing Snapshot resources.
type SnapshotGeneratingHandler ¶ added in v1.4.0
type SnapshotGeneratingHandler func(obj *v1beta2.Snapshot, status v1beta2.SnapshotStatus) ([]runtime.Object, v1beta2.SnapshotStatus, error)
SnapshotGeneratingHandler is the top-level handler that is executed for every Snapshot event. It extends SnapshotStatusHandler by a returning a slice of child objects to be passed to apply.Apply
type SnapshotStatusHandler ¶ added in v1.4.0
type SnapshotStatusHandler func(obj *v1beta2.Snapshot, status v1beta2.SnapshotStatus) (v1beta2.SnapshotStatus, error)
SnapshotStatusHandler is executed for every added or modified Snapshot. 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