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.