Documentation
¶
Index ¶
- func CreateOrUpdateWithController[T client.Object](ctx context.Context, client client.Client, scheme *runtime.Scheme, ...) (T, controllerutil.OperationResult, error)
- func DefaultLiveness() *corev1.Probe
- func IsDeleted(meta client.Object) bool
- func Requeue(after ...time.Duration) *controllerruntime.Result
- type Finalizer
- func (f *Finalizer) Add(ctx context.Context, client client.Client, object client.Object) error
- func (f *Finalizer) AssertIsInstalled(ctx context.Context, client client.Client, ob client.Object) error
- func (f *Finalizer) Handle(ctx context.Context, client client.Client, ob client.Object, fn func() error) (bool, error)
- func (f *Finalizer) IsPresent(ob client.Object) bool
- func (f *Finalizer) Remove(ctx context.Context, client client.Client, object client.Object) error
- type Mutator
- type Reconciler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultLiveness ¶
Types ¶
type Finalizer ¶
type Finalizer struct {
// contains filtered or unexported fields
}
func (*Finalizer) AssertIsInstalled ¶
type Reconciler ¶
type Reconciler[T apisv1beta1.Object] struct { client.Client Scheme *runtime.Scheme Mutator Mutator[T] }
Reconciler reconciles a Stack object
func NewReconciler ¶
func NewReconciler[T apisv1beta1.Object](client client.Client, scheme *runtime.Scheme, mutator Mutator[T]) *Reconciler[T]
func (*Reconciler[T]) SetupWithManager ¶
func (r *Reconciler[T]) SetupWithManager(mgr ctrl.Manager) error
SetupWithManager sets up the controller with the Manager.
Click to show internal directories.
Click to hide internal directories.