package
0.10.0
Repository: https://github.com/authzed/controller-idioms.git
Documentation: pkg.go.dev

# Functions

NewComponentContextHandler creates a new ContextHandler.
NewEnsureComponentByHash returns a new EnsureComponentByHash handler.
NewHashableComponent creates HashableComponent from a Component and a hash.ObjectHasher, plus an annotation key to use to store the hash on the object.
NewIndexedComponent creates a Component from an index.

# Structs

Component represents a KubeObject in the cluster that is "related" to another i.e.
ContextHandler fills the value for a context.Key with the result of fetching a component.
EnsureComponentByHash is a handler.Handler implementation that will create a component object and ensure it has the computed spec.
HashableComponent is a Component with an annotation that stores a hash of the previous configuration written by the controller.

# Interfaces

Annotator is any type that can have annotations added to it.
KubeObject is satisfied by any standard kube object.