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

# Functions

NewController returns a builder struct for constructing the command you want to run.
NewControllerConfig returns a new ControllerCommandConfig which can be used to wire up all the boiler plate of a controller TODO add more methods around wiring health checks and the like.
NewControllerFlags returns flags with default values set.
ReadYAML decodes a runtime.Object from the provided scheme TODO versions goes away with more complete scheme in 1.11.
ReadYAMLFile read a file and decodes a runtime.Object from the provided scheme.

# Structs

ControllerBuilder allows the construction of an controller in optional pieces.
ControllerCommandConfig holds values required to construct a command to run.
No description provided by the author
ControllerFlags provides the "normal" controller flags.

# Interfaces

No description provided by the author

# Type aliases

StartFunc is the function to call on leader election start.