package
0.0.0-20250228164547-bad2d1bf3a37
Repository: https://github.com/openshift/library-go.git
Documentation: pkg.go.dev

# Functions

NewDeploymentController creates a new instance of DeploymentController, returning it as a factory.Controller interface.
NewDeploymentControllerBuilder initializes and returns a pointer to a minimal DeploymentController.
WithImageHook sets the image associated with the deployment with the value provided for CLI_IMAGE env variable.
WithReplicasHook sets the deployment.Spec.Replicas field according to the number of available nodes.

# Structs

DeploymentController is a generic controller that manages a deployment.

# Type aliases

DeploymentHookFunc is a hook function to modify the Deployment.
ManifestHookFunc is a hook function to modify the manifest in raw format.