hydrate

package
v1.19.2 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NamespaceSelectors

func NamespaceSelectors(ctx context.Context, c client.Client, fieldManager string) fileobjects.ScopedVisitor

NamespaceSelectors hydrates the given Scoped objects by performing namespace selection to copy objects into namespaces which match their selector. By default, the target namespaces are those statically declared in the source of truth. If NamespaceSelector uses the dynamic mode, it also copies objects into namespaces that are dynamically present on the cluster. It also sets a default namespace on any namespace-scoped object that does not already have a namespace or namespace selector set.

func UnknownScope

func UnknownScope(objs *fileobjects.Scoped) status.MultiError

UnknownScope hydrates the given Scoped objects by adding an annotation `configsync.gke.io/unknown-scope: true` into every object whose scope is unknown.

Types

This section is empty.

Jump to

Keyboard shortcuts

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