package
1.0.3
Repository: https://github.com/gocardless/theatre.git
Documentation: pkg.go.dev

# Functions

CreateOrUpdate takes a Kubernetes object and a "diff function" and attempts to ensure that the the object exists in the cluster with the correct state.
DirectoryRoleBindingDiff is a DiffFunc for DirectoryRoleBindings.
ResolveAndReconcile helps avoid boilerplate where you would normally attempt to fetch your modified object at the start of a reconciliation loop, and instead calls an inner reconciliation function with the already resolved object.
RoleDiff is a DiffFunc for Roles.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

ObjWithMeta describes a Kubernetes resource with a metadata field.

# Type aliases

DiffFunc takes two Kubernetes resources: expected and existing.
ObjectReconcileFunc defines the expected interface for the reconciliation of a single object type- it can be used to avoid boilerplate for finding and initializing objects at the start of traditional reconciliation loops.
Outcome describes the operation performed by CreateOrUpdate.