meta

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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 AddObjectHash(obj metav1.Object)

func DeleteWithPropagationBackground

func DeleteWithPropagationBackground() *metav1.DeleteOptions

func DeleteWithPropagationForeground

func DeleteWithPropagationForeground() *metav1.DeleteOptions

func Hash

func Hash(objs ...interface{}) string

func HashEqual

func HashEqual(obj1 metav1.Object, obj2 metav1.Object) bool

func UnionMaps

func UnionMaps(maps ...map[string]string) map[string]string

Types

This section is empty.

Jump to

Keyboard shortcuts

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