package
0.2.0-alpha.14
Repository: https://github.com/onexstack/onex.git
Documentation: pkg.go.dev

# Functions

CleanUpManagedFieldsForSSAAdoption deletes the managedFields entries on the object that belong to "manager" (Operation=Update) if there is no field yet that is managed by `ssaManager`.
ComputeRequestIdentifier computes a request identifier for the cache.
DropManagedFields modifies the managedFields entries on the object that belong to "manager" (Operation=Update) to drop ownership of the given paths if there is no field yet that is managed by `ssaManager`.
FilterIntent ensures that object only includes the fields and values for which the controller has an opinion, and filter out everything else by removing it from the Value.
FilterObject filter out changes not relevant for the controller.
IsPathAllowed returns true when the Path is one of the AllowedPaths.
IsPathIgnored returns true when the Path is one of the IgnorePaths.
IsPathNotAllowed returns true when the Path is NOT one of the AllowedPaths.
MatchFieldOwnership is a gomega Matcher to check if path is owned by the given manager and operation.
MatchManagedFieldsEntry is a gomega Matcher to check if a ManagedFieldsEntry has the given name and operation.
NewCache creates a new cache.
Patch executes an SSA patch.

# Structs

FilterIntentInput holds info required while filtering the intent for server side apply.
FilterObjectInput holds info required while filtering the object.
Options contains the options for the Patch func.
WithCachingProxy enables caching for the patch request.

# Interfaces

Cache caches SSA request results.
Option is the interface for configuration that modifies Options for a patch request.