package
0.0.0-20240610103501-74a2a4fd2bae
Repository: https://github.com/stackrox/k8s-overlay-patch.git
Documentation: pkg.go.dev

# Functions

AddSpecRoot adds a root node called "spec" to the given tree and returns the resulting tree.
Delete sets value at path of input untyped tree to nil.
Find returns the value at path from the given tree, or false if the path does not exist.
GetConfigSubtree returns the subtree at the given path.
GetFromStructPath returns the value at path from the given node, or false if the path does not exist.
GetPathContext returns the PathContext for the Node which has the given path from root.
GetSpecSubtree returns the subtree under "spec".
MergeNode merges value to the tree in root at the given path, creating any required missing internal nodes in path.
Set sets out with the value at path from node.
SetFromPath sets out with the value at path from node.
WriteNode writes value to the tree in root at the given path, creating any required missing internal nodes in path.
WritePathContext writes the given value to the Node in the given PathContext.

# Structs

PathContext provides a means for traversing a tree towards the root.