# Functions
AreAllPodsRunning will return true if all pods in a given namespace are in a Running State.
AreAllPodsSucceeded returns true, false if all pods in a given namespace are in a Running State returns false, true if any one pod is in a Failed state.
CreatePodFromFile will create a Pod from file with a name.
CreatePodFromFileIfNotExist will create a Pod from file with a name.
Get will return a pod with a given name and namespace.
GetAll will return all pods in a given namespace.
GetAllByPrefix will return all pods in a given namespace that match a prefix.
GetTerminated will return a pod with a given name and namespace, including terminated pods.
GetWithRetry gets a pod, allowing for retries.
ReplaceContainerImageFromFile loads in a YAML, finds the image: line, and replaces it with the value of containerImage.
RunCommandMultipleTimes runs the same command 'desiredAttempts' times.
RunLinuxPod will create a pod that runs a bash command --overrides := `"spec": {"nodeSelector":{"beta.kubernetes.io/os":"windows"}}}`.
RunWindowsPod will create a pod that runs a powershell command --overrides := `"spec": {"nodeSelector":{"beta.kubernetes.io/os":"windows"}}}`.
WaitOnReady is used when you dont have a handle on a pod but want to wait until its in a Ready state.
WaitOnSucceeded is used when you dont have a handle on a pod but want to wait until its in a Succeeded state.
# Structs
Container holds information like image and ports.
ContainerState has state of a container.
ContainerStatus has status of a container.
EnvVar holds environment variables.
Limits represents container resource limits.
List is a container that holds all pods returned from doing a kubectl get pods.
Metadata holds information like name, createdat, labels, and namespace.
Pod is used to parse data from kubectl get pods.
Port represents a container port definition.
Requests represents container resource requests.
Resources represents a container resources definition.
Spec holds information like containers.
Status holds information like hostIP and phase.
TerminatedContainerState shows terminated state of a container.