Documentation ¶
Index ¶
- func HandleError(ctx context.Context, result *ctrl.Result, err error) (ctrl.Result, error)
- func RequeueAfter(d time.Duration) error
- func RequeueAfterWithError(d time.Duration, err error) error
- func ResultFromError(err error) (*ctrl.Result, error)
- type ReconcileHandler
- type RequeueError
- type SubReconciler
- func NewDeploymentReconciler[T runtime.Object](fn ReconcileHandler[T]) SubReconciler[T]
- func NewPVCReconciler[T runtime.Object](fn ReconcileHandler[T]) SubReconciler[T]
- func NewServiceReconciler[T runtime.Object](fn ReconcileHandler[T]) SubReconciler[T]
- func NewStatefulSetReconciler[T runtime.Object](fn ReconcileHandler[T]) SubReconciler[T]
- type SubReconcilers
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleError ¶
func RequeueAfter ¶
Types ¶
type ReconcileHandler ¶
type RequeueError ¶
type RequeueError struct {
// contains filtered or unexported fields
}
func (*RequeueError) Error ¶
func (r *RequeueError) Error() string
func (*RequeueError) Result ¶
func (r *RequeueError) Result() reconcile.Result
type SubReconciler ¶
func NewDeploymentReconciler ¶
func NewDeploymentReconciler[T runtime.Object](fn ReconcileHandler[T]) SubReconciler[T]
func NewPVCReconciler ¶
func NewPVCReconciler[T runtime.Object](fn ReconcileHandler[T]) SubReconciler[T]
func NewServiceReconciler ¶
func NewServiceReconciler[T runtime.Object](fn ReconcileHandler[T]) SubReconciler[T]
func NewStatefulSetReconciler ¶
func NewStatefulSetReconciler[T runtime.Object](fn ReconcileHandler[T]) SubReconciler[T]
type SubReconcilers ¶
type SubReconcilers[T runtime.Object] []SubReconciler[T]
func NewSubReconcilers ¶
func NewSubReconcilers[T runtime.Object](reconcilers ...SubReconciler[T]) SubReconcilers[T]
Click to show internal directories.
Click to hide internal directories.