Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControllerMetrics ¶
type ControllerMetrics struct { ImageCount *prometheus.GaugeVec PodDeletedTotal *prometheus.CounterVec }
func NewHandlerMetrics ¶
func NewHandlerMetrics(prefix string) *ControllerMetrics
func (ControllerMetrics) MustRegister ¶
func (m ControllerMetrics) MustRegister(reg metrics.RegistererGatherer)
type PodReconciler ¶
type PodReconciler struct { client.Client Registry Registry // contains filtered or unexported fields }
PodReconciler reconciles a Cluster object
func NewPodReconciler ¶
func NewPodReconciler(prefix string, opts ...PodReconcilerOption) *PodReconciler
func (*PodReconciler) SetupWithManager ¶
func (r *PodReconciler) SetupWithManager(mgr ctrl.Manager) error
type PodReconcilerOption ¶
type PodReconcilerOption func(*PodReconciler)
func WithClient ¶
func WithClient(cl client.Client) PodReconcilerOption
func WithMetricsRegistry ¶
func WithMetricsRegistry(reg metrics.RegistererGatherer) PodReconcilerOption
func WithRegistry ¶
func WithRegistry(reg Registry) PodReconcilerOption
Click to show internal directories.
Click to hide internal directories.