ctrl

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDeploymentController

func AddDeploymentController(mgr manager.Manager) error

AddDeploymentController adds the Deployment controller to the manager

func AddDeploymentControllerWithName

func AddDeploymentControllerWithName(mgr manager.Manager, name string) error

AddDeploymentControllerWithName adds the Deployment controller to the manager with a custom name

func AddDeploymentControllerWithNameAndNamespaces

func AddDeploymentControllerWithNameAndNamespaces(mgr manager.Manager, name string, namespaces []string) error

AddDeploymentControllerWithNameAndNamespaces adds the Deployment controller to the manager with custom name and namespaces

Types

type DeploymentReconciler

type DeploymentReconciler struct {
	client.Client
	Scheme     *runtime.Scheme
	Namespaces []string // List of namespaces to watch
}

DeploymentReconciler reconciles Deployment objects

func (*DeploymentReconciler) Reconcile

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

Reconcile handles reconciliation of Deployment resources

Jump to

Keyboard shortcuts

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