pod_enrichment

package
v0.0.0-...-57d1988 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PodEnrichmentLabelName  = "enrichment.kubedoop.dev/enable"
	PodEnrichmentLabelValue = "true"

	PodenrichmentNodeAddressAnnotationName = "enrichment.kubedoop.dev/node-address"
)

Variables

Functions

This section is empty.

Types

type PodEnrichmentReconciler

type PodEnrichmentReconciler struct {
	client.Client
	Schema *runtime.Scheme
}

func (*PodEnrichmentReconciler) Reconcile

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

func (*PodEnrichmentReconciler) SetupWithManager

func (r *PodEnrichmentReconciler) SetupWithManager(mgr ctrl.Manager) error

type PodHandler

type PodHandler struct {
	Client client.Client
	Pod    *corev1.Pod
}

func NewPodHandler

func NewPodHandler(client client.Client, pod *corev1.Pod) *PodHandler

func (*PodHandler) Reconcile

func (p *PodHandler) Reconcile(ctx context.Context) (ctrl.Result, error)

Jump to

Keyboard shortcuts

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