controller

package
v0.0.0-...-2def651 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeploymentReconciler

type DeploymentReconciler struct {
	client.Client
	APIReader client.Reader
	Scheme    *runtime.Scheme
}

DeploymentReconciler reconciles a Deployment.

func (*DeploymentReconciler) Reconcile

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

Reconcile delegates Pod ownership to Churnless ReplicaSets.

func (*DeploymentReconciler) SetupWithManager

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

SetupWithManager sets up the controller with the Manager.

type ReplicaSetReconciler

type ReplicaSetReconciler struct {
	client.Client
	APIReader client.Reader
	Scheme    *runtime.Scheme
	// contains filtered or unexported fields
}

ReplicaSetReconciler reconciles a ReplicaSet.

func (*ReplicaSetReconciler) Reconcile

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

Reconcile makes the custom ReplicaSet the sole controller of its Pods.

func (*ReplicaSetReconciler) SetupWithManager

func (r *ReplicaSetReconciler) 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