package
0.0.0-20181016172052-7d558a24b22a
Repository: https://github.com/tnozicka/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

OperatorBuilder allows the construction of an controller in optional pieces.
ControllerCommandConfig holds values required to construct a command to run.
ControllerFlags provides the "normal" controller flags.

# Type aliases

StartFunc is the function to call on leader election start.