package
18.9.1+incompatible
Repository: https://github.com/linkerd/linkerd2.git
Documentation: pkg.go.dev

# Functions

CanonicalResourceNameFromFriendlyName returns a canonical name from common shorthands used in command line tools.
CreatedByAnnotationValue returns the value associated with CreatedByAnnotation.
GetPodLabels returns the set of prometheus owner labels for a given pod.
NewAPI validates a Kubernetes config and returns a client for accessing the configured cluster.
NewProxy returns a new KubernetesProxy object and starts listening on a network address.
Return a the shortest name for a k8s canonical name.

# Constants

ControllerComponentLabel identifies this object as a component of Linkerd's control plane (e.g.
ControllerNSLabel is injected into mesh-enabled apps, identifying the namespace of the Linkerd control plane.
CreatedByAnnotation indicates the source of the injected data plane (e.g.
InitContainerName is the name assigned to the injected init container.
ProxyContainerName is the name assigned to the injected proxy container.
ProxyDaemonSetLabel is injected into mesh-enabled apps, identifying the DaemonSet that this proxy belongs to.
ProxyDeploymentLabel is injected into mesh-enabled apps, identifying the deployment that this proxy belongs to.
ProxyJobLabel is injected into mesh-enabled apps, identifying the Job that this proxy belongs to.
ProxyReplicaSetLabel is injected into mesh-enabled apps, identifying the ReplicaSet that this proxy belongs to.
ProxyReplicationControllerLabel is injected into mesh-enabled apps, identifying the ReplicationController that this proxy belongs to.
ProxyStatefulSetLabel is injected into mesh-enabled apps, identifying the StatefulSet that this proxy belongs to.
ProxyVersionAnnotation indicates the version of the injected data plane (e.g.
TLSTrustAnchorConfigMapName is the name of the ConfigMap that holds the trust anchors (trusted root certificates).
TLSTrustAnchorFileName is the name (key) within the trust anchor ConfigMap that contains the actual trust anchor bundle.

# Variables

resources to query in StatSummary when Resource.Type is "all".

# Structs

TLSIdentity is the identity of a pod owner (Deployment, Pod, ReplicationController, etc.).