manager

package
v0.2.24 Latest Latest
Warning

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

Go to latest
Published: Oct 23, 2026 License: MIT Imports: 32 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

View Source
const (
	IdxCompositionsBySynthesizer = ".spec.synthesizer"
	IdxCompositionsBySymphony    = ".compositionsBySymphony"
	IdxCompositionsByBinding     = ".compositionsByBinding"
	IdxSynthesizersByRef         = ".synthesizersByRef"
	IdxCompositionsByDependency  = ".spec.dependsOn"
)
View Source
const (
	ManagerLabelKey     = "app.kubernetes.io/managed-by"
	ManagerLabelValue   = "eno"
	SynthesisIDLabelKey = "eno.azure.io/synthesis-uuid"
)

Variables

This section is empty.

Functions

func New

func New(logger logr.Logger, opts *Options) (ctrl.Manager, error)

func NewLogConstructor

func NewLogConstructor(mgr ctrl.Manager, controllerName string) func(*reconcile.Request) logr.Logger

func NewReconciler

func NewReconciler(logger logr.Logger, opts *Options) (ctrl.Manager, error)

func NewTest added in v0.0.2

func NewTest(logger logr.Logger, opts *Options) (ctrl.Manager, error)

func NewTypedLogConstructor added in v0.0.48

func NewTypedLogConstructor[T any](mgr ctrl.Manager, controllerName string) func(T) logr.Logger

func SingleEventHandler added in v0.0.10

func SingleEventHandler() handler.EventHandler

Types

type Options

type Options struct {
	leaderelection.Options
	ElectionLeaseDuration      time.Duration
	ElectionLeaseRenewDeadline time.Duration
	ElectionLeaseRetryPeriod   time.Duration

	Rest                    *rest.Config
	HealthProbeAddr         string
	MetricsAddr             string
	SynthesizerPodNamespace string // set in cmd from synthesis config

	// Only set by cmd in reconciler process
	CompositionNamespace string
	CompositionSelector  labels.Selector
	// contains filtered or unexported fields
}

func (*Options) Bind

func (o *Options) Bind(set *flag.FlagSet)

Jump to

Keyboard shortcuts

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