collaset

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Add

func Add(mgr ctrl.Manager) error

func AddToMgr

func AddToMgr(mgr ctrl.Manager, r reconcile.Reconciler) error

func NewReconciler

func NewReconciler(mgr ctrl.Manager) reconcile.Reconciler

NewReconciler returns a new reconcile.Reconciler

func NewRevisionOwnerAdapter added in v0.3.0

func NewRevisionOwnerAdapter(podControl podcontrol.Interface) revision.OwnerAdapter

Types

type CollaSetReconciler

type CollaSetReconciler struct {
	*mixin.ReconcilerMixin
	// contains filtered or unexported fields
}

CollaSetReconciler reconciles a CollaSet object

func (*CollaSetReconciler) DoReconcile

func (*CollaSetReconciler) Reconcile

func (r *CollaSetReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

Reconcile is part of the main kubernetes reconciliation loop which aims to move the current state of the cluster closer to the desired state.

type PodPredicate

type PodPredicate struct {
}

func (*PodPredicate) Create

func (p *PodPredicate) Create(e event.CreateEvent) bool

Create returns true if the Create event should be processed

func (*PodPredicate) Delete

func (p *PodPredicate) Delete(e event.DeleteEvent) bool

Delete returns true if the Delete event should be processed

func (*PodPredicate) Generic

func (p *PodPredicate) Generic(e event.GenericEvent) bool

Generic returns true if the Generic event should be processed

func (*PodPredicate) Update

func (p *PodPredicate) Update(e event.UpdateEvent) bool

Update returns true if the Update event should be processed

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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