package
0.0.0-20250404145836-eba1861bcf06
Repository: https://github.com/kumahq/kuma.git
Documentation: pkg.go.dev
# Functions
No description provided by the author
ComputeLabels computes labels for a resource based on its type, spec, existing labels, namespace, mesh, mode, k8s and localZone.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
IsReferenced check if `refMeta` references with `refName` the entity `resourceMeta` This is required because in multi-zone policies may have names different from the name they are defined with.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
ZoneOfResource returns zone from which the resource was synced to Global CP There is no information in the resource itself whether the resource is synced or created on the CP.
# Constants
ConsumedByGlobalFlag is a flag that indicates that this resource type is consumed by the global CP, it's synced with KDS only if it's also ProvidedByZoneFlag.
ConsumedByZoneFlag indicate that this resource is used by zone CPs, it's synced with KDS only if it's also ProvidedByGlobalFlag or SyncedAcrossZonesFlag.
No description provided by the author
GlobalToZonesFlag gets sent from Global to Zone.
K8sNameComponent identifies the name component of a resource name on Kubernetes.
K8sNamespaceComponent identifies the namespace component of a resource name on Kubernetes.
KDSDisabledByDefault is a flag that indicates that this resource type is not sent using KDS by default.
KDSDisabledFlag is a flag that indicates that this resource type is not sent using KDS.
NoMesh defines a marker that resource is not bound to a Mesh.
ProvidedByGlobalFlag is a flag that indicates that this resource type can be created, modified and deleted by the global CP.
ProvidedByZoneFlag is a flag that indicates that this resource type can be created, modified and deleted by the zone CPs.
No description provided by the author
No description provided by the author
SyncedAcrossZonesFlag is a flag that indicates that this resource type is synced from one zone to the other ones.
ZoneToGlobalFlag gets sent from Zone to Global.
# Variables
ResourceNameExtensionsUnsupported is a convenience constant that is meant to make source code more readable.
No description provided by the author
# Structs
Namespace type allows to avoid carrying both 'namespace' and 'systemNamespace' around the code base and depend on this type instead.
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
Resource can implement defaulter to provide static default fields.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
No description provided by the author
No description provided by the author
ResourceNameExtensions represents an composite resource name in environments other than Universal.
No description provided by the author
No description provided by the author
No description provided by the author