Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // the key used to differentiate translated resources by // the GlooMesh instance which produced them OwnershipLabelKey = fmt.Sprintf("owner.%s", v1alpha2.SchemeGroupVersion.Group) // Annotation key indicating that the resource configures a federated traffic target FederationLabelKey = fmt.Sprintf("federation.%s", v1alpha2.SchemeGroupVersion.Group) )
Functions ¶
func FederatedObjectMeta ¶
func FederatedObjectMeta( sourceObj ezkube.ClusterResourceId, meshInstallation *discoveryv1alpha2.MeshSpec_MeshInstallation, annotations map[string]string, ) metav1.ObjectMeta
construct an ObjectMeta for a resource for a federated source object meshInstallation represents the mesh instance to which the object will be output
func TranslatedObjectLabels ¶
ownership label defaults to current namespace to allow multiple GlooMesh tenancy within a cluster.
func TranslatedObjectMeta ¶
func TranslatedObjectMeta(sourceObj ezkube.ClusterResourceId, annotations map[string]string) metav1.ObjectMeta
construct an ObjectMeta for a discovered resource from a source object (the object from which the resource was discovered)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.