client

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 27, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL