Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateDeployment ¶
CreateDeployment creates a new deployment in the cluster
func DeleteDeployment ¶
DeleteDeployment deletes a deployment from the cluster
func GetKubeClient ¶
func GetKubeClient(kubeconfig string) (*kubernetes.Clientset, *restclient.Config, error)
GetKubeClient is a convenience method for creating kubernetes config and client for a given kubeconfig
Types ¶
type Tunnel ¶ added in v0.4.3
type Tunnel struct { Local int Remote int Namespace string PodName string Out io.Writer // contains filtered or unexported fields }
Tunnel describes a ssh-like tunnel to a kubernetes pod
func NewTunnel ¶ added in v0.4.3
func NewTunnel(client rest.Interface, config *rest.Config, namespace, podName string, remote int) *Tunnel
NewTunnel creates a new tunnel
func (*Tunnel) Close ¶ added in v0.4.3
func (t *Tunnel) Close()
Close disconnects a tunnel connection
func (*Tunnel) ForwardPort ¶ added in v0.4.3
ForwardPort opens a tunnel to a kubernetes pod
Click to show internal directories.
Click to hide internal directories.