types

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const ClusterNamespaceAnnotationKey = "kube-bind.io/cluster-namespace"

ClusterNamespaceAnnotationKey is the annotation key to identify the cluster namespace that any synced object on the provider side belongs to. This annotation is set on all synced objects, regardless of scope or isolation mode.

View Source
const ConsumerNamespaceAnnotationKey = "kube-bind.io/consumer-namespace"

ConsumerNamespaceAnnotationKey is the annotation key set on provider-side objects to identify the consumer namespace the source object lives in.

View Source
const ConsumerUIDAnnotationKey = "kube-bind.io/consumer-uid"

ConsumerUIDAnnotationKey is the annotation key set on provider-side objects to uniquely identify the consumer source object.

View Source
const ProviderNamespaceAnnotationKey = "kube-bind.io/provider-namespace"

ProviderNamespaceAnnotationKey is the annotation key set on consumer-side objects to identify the provider namespace the source object lives in.

View Source
const ProviderUIDAnnotationKey = "kube-bind.io/provider-uid"

ProviderUIDAnnotationKey is the annotation key set on consumer-side objects to uniquely identify the provider source object.

Variables

This section is empty.

Functions

func SetSourceMetadataAnnotations added in v0.8.0

func SetSourceMetadataAnnotations(obj *unstructured.Unstructured, sourceNS, sourceUID, nsKey, uidKey string)

SetSourceMetadataAnnotations sets source metadata annotations on a synced object so the receiving side can trace where the object came from.

Types

This section is empty.

Jump to

Keyboard shortcuts

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