Documentation
¶
Overview ¶
Package manifest describes Kubernetes objects added to or removed from Git.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Desired ¶
func Desired(obj *unstructured.Unstructured) *unstructured.Unstructured
Desired copies obj without server metadata or known controller tracking keys. User-authored controller settings are preserved. It cannot reconstruct the original source manifest or distinguish defaulted fields in a live object.
Types ¶
type Change ¶
type Change struct {
// Apply are the objects whose manifests are created or updated.
Apply []*unstructured.Unstructured
// Remove identifies the objects whose manifests are removed from Git.
Remove []*unstructured.Unstructured
// Prune reports whether the controller deletes the removed objects.
// It must match the resolved controller's policy.
Prune bool
}
Change describes repository changes and the controller's pruning policy.