# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
GetBearerToken reads the serviceaccount token.
GetCertificateAuthority loads the issuing certificate authority.
GetCertificates loads the certificate and the private key.
IsServiceAccountTokenAvailable returns if a service account token is available on disk.
ParseCronJobForJob gets the cronjob name from a job, or returns an empty string if no parent cronjob is found.
ParseDeploymentForReplicaSet gets the deployment name from a replicaset, or returns an empty string if no parent deployment is found.
TimeWithoutWall fixes the `wall` issue in unit tests.
# Constants
CronJobKind represents the CronJob object kind.
CronJobTagName represents the CronJob tag name.
DaemonSetKind represents the DaemonSet object kind.
DaemonSetTagName represents the DaemonSet tag name.
Kubernetes constants.
Kubernetes constants.
Kubernetes constants.
DeploymentKind represents the Deployment object kind.
DeploymentTagName represents the Deployment tag name.
Digits holds the digits used for naming replicasets in kubenetes < 1.8.
EnvTagEnvVar is the environment variable of the env standard tag.
EnvTagLabelKey is the label key of the env standard tag.
JobKind represents the Job object kind.
JobTagName represents the Job tag name.
KubeAllowedEncodeStringAlphaNums holds the charactes allowed in replicaset names from as parent deployment Taken from https://github.com/kow3ns/kubernetes/blob/96067e6d7b24a05a6a68a0d94db622957448b5ab/staging/src/k8s.io/apimachinery/pkg/util/rand/rand.go#L76.
KubeAppComponentLabelKey is the label key of the component within the architecture.
KubeAppInstanceLabelKey is the label key of unique name identifying the instance of an application.
KubeAppManagedByLabelKey is the label key of the tool being used to manage the operation of an application.
KubeAppNameLabelKey is the label key of the name of the application.
KubeAppPartOfLabelKey is the label key of the name of a higher level application one's part of.
KubeAppVersionLabelKey is the label key of the current version of the application.
KubeNodeRoleTagName is the role label tag name.
NamespaceKind represents the NamespaceKind object kind.
NamespaceTagName represents the Namespace tag name.
OwnerRefKindTagName represents any owner ref kind.
OwnerRefNameTagName represents any owner ref tag name.
PodKind represents the Pod object kind.
PodTagName represents the pods tag name.
ReplicaSetKind represents the ReplicaSet object kind.
ReplicaSetTagName represents the ReplicaSet tag name.
ReplicationControllerKind represents the ReplicaSetController object kind.
ReplicationControllerTagName represents the ReplicationController tag name.
ResourceKindTagName represents any resource kind.
ResourceNameTagName represents any resource tag name.
ServiceKind represents the ServiceKind object kind.
ServiceTagEnvVar is the environment variable of the service standard tag.
ServiceTagLabelKey is the label key of the service standard tag.
ServiceTagName represents the ServiceTagName tag name.
StatefulSetKind represents the StatefulSet object kind.
StatefulSetTagName represents the StatefulSet tag name.
VersionTagEnvVar is the environment variable of the version standard tag.
VersionTagLabelKey is the label key of the version standard tag.
# Variables
KindToTagName returns the tag name for a given kubernetes object name.