# Functions
CheckErr prints a user friendly error to STDERR and exits with a non-zero exit code.
CurrentContext returns the current context.
CurrentNamespace returns the current namespace in the context.
Fatal prints the message (if provided) and then exits.
LoadConfig loads the Kubernetes configuration.
NewFactory creates a factory with the default Kubernetes resources defined.
StandardErrorMessage translates common errors into a human readable message, or returns false if the error is not one of the recognized types.
# Constants
PodNamespaceFile the file path and name for pod namespace.
# Variables
ErrExit may be passed to CheckError to instruct it to output nothing but exit with status code 1.
# Interfaces
Factory is the interface defined for Kubernetes, Jenkins X, and Tekton REST APIsgo:generate pegomock generate github.com/jenkins-x/jx/pkg/jxfactory Factory -o mocks/factory.go.