package
4.14.0+incompatible
Repository: https://github.com/devspace-cloud/devspace.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
No description provided by the author
No description provided by the author
# Functions
GetPodStatus returns the pod status as a string Taken from https://github.com/kubernetes/kubernetes/pkg/printers/internalversion/printers.go.
GroupVersionExist checks if the given group version exists.
IsLocalKubernetes returns true if the context belongs to a local Kubernetes cluster.
IsPrivateIP checks if a given ip is private.
NewClientBySelect creates a new kubernetes client by user select @Factory.
NewClientFromContext creates a new kubernetes client from given context @Factory.
NewDefaultClient creates the new default kube client from the active context @Factory.
ResourceExist checks if the given resource exists in the group version.
# Constants
ClusterRoleBindingName is the name of the cluster role binding that ensures that the user has enough rights.
SubResourceAttach attaches to the top process of the container.
SubResourceExec creates a new process in the container and attaches to that.
# Variables
CriticalStatus container status.
OkayStatus container status.
WaitStatus are the status to wait.
# Structs
ExecStreamOptions are the options for ExecStream.
ExecStreamWithTransportOptions are the options used for executing a stream.
GenericRequestOptions are the options for the request.
# Interfaces
Client holds all kubect functions.
UpgraderWrapper wraps the upgrader and adds a connections array.
# Type aliases
SubResource specifies with sub resources should be used for the container connection (exec or attach).