package
2.12.2+incompatible
Repository: https://github.com/openebs/maya.git
Documentation: pkg.go.dev

# Functions

BuilderForObject returns a new instance of builder when a patch obj and patch type is given.
BuilderForRuntask returns a new instance of builder for runtask when a runtask patch yaml is given.
IsValidType returns a predicate for checking valid patch type.
NewBuilder returns a new instance of builder.

# Constants

PatchTypeJSON refers to a generic json patch type that is understood by Kubernetes API as well.
PatchTypeMerge refers to a generic json merge patch type that is understood by Kubernetes API as well.
PatchTypeStrategic refers to a patch type that is understood by Kubernetes API only.

# Structs

Builder returns a new instance of builder.
Patch will consist of patch that gets applied against a particular resource.

# Type aliases

PatchType is a custom type that holds the patch type.
Predicate abstracts conditional logic w.r.t the patch instance NOTE: Predicate is a functional approach versus traditional approach to mix conditions such as *if-else* within blocks of business logic NOTE: Predicate approach enables clear separation of conditionals from imperatives i.e.