colocationprofile

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2025 License: Apache-2.0 Imports: 30 Imported by: 0

Documentation

Index

Constants

View Source
const Name = "colocationprofile"

Variables

View Source
var (
	ReconcileByDefault     = false
	ReconcileInterval      = 30 * time.Second
	ForceUpdatePodDuration = 5 * time.Minute
	ExpirePodCacheDuration = 10 * time.Minute
	MaxUpdatePodQPS        = 10.0
	MaxUpdatePodQPSBurst   = 100
)

Functions

func Add

func Add(mgr ctrl.Manager) error

func InitFlags

func InitFlags(fs *flag.FlagSet)

Types

type ReconcileSummary

type ReconcileSummary struct {
	Time        string
	Profile     string
	Desired     int
	Succeeded   int
	Changed     int
	RateLimited int
	Skipped     int
	Cached      int
}

func (*ReconcileSummary) IsAllSucceeded

func (s *ReconcileSummary) IsAllSucceeded() bool

type Reconciler

type Reconciler struct {
	client.Client
	Recorder record.EventRecorder
	Scheme   *runtime.Scheme
	// contains filtered or unexported fields
}

func (*Reconciler) Reconcile

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

func (*Reconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

Jump to

Keyboard shortcuts

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