slireconciler

package
v4.76.0 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ClaimNamespaceLabel = "crossplane.io/claim-namespace"
	ClaimNameLabel      = "crossplane.io/claim-name"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type ProbeManager

type ProbeManager interface {
	StartProbe(p probes.Prober)
	StopProbe(p probes.ProbeInfo)
}

type Reconciler

type Reconciler struct {
	// contains filtered or unexported fields
}

Reconciler is a generic reconciler logs that acts on xrds.

func New

func New(inst Service, l logr.Logger, pm ProbeManager, serviceKey string, nn types.NamespacedName,
	client client.Client, startupGracePeriod time.Duration, fetchProberFor func(context.Context, Service) (probes.Prober, error)) *Reconciler

New returns a new Reconciler

func (*Reconciler) Reconcile

func (r *Reconciler) Reconcile(ctx context.Context) (ctrl.Result, error)

Reconcile contains the actual reconcilation logic to start the probers. It is designed to act on the xrd, NOT the claims.

type Service

type Service interface {
	client.Object
	resource.Managed
}

Jump to

Keyboard shortcuts

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