Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExtractManagedFields ¶
func ExtractManagedFields(u *unstructured.Unstructured, manager string) (map[string]interface{}, error)
func NewCachingClient ¶
func NewCachingClient(cache cache.Cache, config *rest.Config, options client.Options, uncachedObjects ...client.Object) (client.Client, error)
NewCachingClient is an alternative implementation of controller-runtime's default client for manager.Manager. https://pkg.go.dev/sigs.k8s.io/controller-runtime/pkg/cluster#DefaultNewClient
The only difference is that this implementation sets `CacheUnstructured` to `true` to cache unstructured objects.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.