shadowpodctrl

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2026 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Overview

Package shadowpodctrl contains Shadowpod Controller logic.

Index

Constants

View Source
const (
	// EventReasonFailedUpdatePod is the event reason when failing to update a pod.
	EventReasonFailedUpdatePod = "FailedUpdatePod"
	// EventReasonFailedCreatePod is the event reason when failing to create a pod.
	EventReasonFailedCreatePod = "FailedCreatePod"
	// EventReasonCreatedPod is the event reason when successfully creating a pod.
	EventReasonCreatedPod = "CreatedPod"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Reconciler

type Reconciler struct {
	client.Client
	Scheme   *runtime.Scheme
	Recorder record.EventRecorder
}

Reconciler reconciles a ShadowPod object.

func (*Reconciler) Reconcile

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

Reconcile ShadowPods objects.

func (*Reconciler) SetupWithManager

func (r *Reconciler) SetupWithManager(mgr ctrl.Manager, workers int) error

SetupWithManager monitors only updates on ShadowPods.

Jump to

Keyboard shortcuts

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