Documentation ¶
Index ¶
- func Exec(kubectlClient *kubernetes.Clientset, pod *k8sv1.Pod, container string, ...) (io.WriteCloser, io.ReadCloser, io.ReadCloser, error)
- func ExecBuffered(kubectlClient *kubernetes.Clientset, pod *k8sv1.Pod, container string, ...) ([]byte, []byte, error)
- func ForwardPorts(kubectlClient *kubernetes.Clientset, pod *k8sv1.Pod, ports []string, ...) error
- func GetClientConfig() (*rest.Config, error)
- func NewClient() (*kubernetes.Clientset, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Exec ¶
func Exec(kubectlClient *kubernetes.Clientset, pod *k8sv1.Pod, container string, command []string, tty bool) (io.WriteCloser, io.ReadCloser, io.ReadCloser, error)
func ExecBuffered ¶
func ForwardPorts ¶
func GetClientConfig ¶
func NewClient ¶
func NewClient() (*kubernetes.Clientset, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.