Documentation ¶
Index ¶
- Constants
- func AddObjectHash(obj metav1.Object)
- func DeleteWithPropagationBackground() *metav1.DeleteOptions
- func DeleteWithPropagationForeground() *metav1.DeleteOptions
- func Hash(objs ...interface{}) string
- func HashEqual(obj1 metav1.Object, obj2 metav1.Object) bool
- func UnionMaps(maps ...map[string]string) map[string]string
Constants ¶
View Source
const ( // https://github.com/istio/istio/blob/master/install/kubernetes/helm/istio/templates/sidecar-injector-configmap.yaml IstioSidecarInjectAnnotationKey = "sidecar.istio.io/inject" LastAppliedHashAnnotationKey = mesh.GroupName + "/last-applied-hash" CellDependenciesAnnotationKey = mesh.GroupName + "/cell-dependencies" // Original GW service for advanced routing CellOriginalGatewaySvcKey = mesh.GroupName + "/original-gw-svc" CompositeOriginalComponentSvcKey = mesh.GroupName + "/original-component-svcs" )
View Source
const ( AppLabelKey = "app" VersionLabelKey = "version" // Cellery Labels CellLabelKey = mesh.GroupName + "/cell" CompositeLabelKey = mesh.GroupName + "/composite" ComponentLabelKey = mesh.GroupName + "/component" GatewayLabelKey = mesh.GroupName + "/gateway" TokenServiceLabelKey = mesh.GroupName + "/token-service" TelepresenceLabelKey = mesh.GroupName + "/telepresence" VolumeLabelKey = mesh.GroupName + "/volume" // Cellery observability labels ObservabilityGroupPrefix = "observability." ObservabilityInstanceLabelKey = ObservabilityGroupPrefix + mesh.GroupName + "/instance" ObservabilityInstanceKindLabelKey = ObservabilityGroupPrefix + mesh.GroupName + "/instance-kind" ObservabilityWorkloadTypeLabelKey = ObservabilityGroupPrefix + mesh.GroupName + "/workload-type" ObservabilityComponentLabelKey = ObservabilityGroupPrefix + mesh.GroupName + "/component" ObservabilityGatewayLabelKey = ObservabilityGroupPrefix + mesh.GroupName + "/gateway" // tmp fix for avoid pilot validation https://github.com/istio/istio/issues/14797 CellLabelKeySource = mesh.GroupName + ".cell" CompositeLabelKeySource = mesh.GroupName + ".composite" ComponentLabelKeySource = mesh.GroupName + ".component" CompositeTokenServiceLabelKey = mesh.GroupName + "/composite-sts" )
Variables ¶
This section is empty.
Functions ¶
func AddObjectHash ¶
func DeleteWithPropagationBackground ¶
func DeleteWithPropagationBackground() *metav1.DeleteOptions
func DeleteWithPropagationForeground ¶
func DeleteWithPropagationForeground() *metav1.DeleteOptions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.