kubeexec

package
v1.3.0-dev Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 10, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KubeConfig

type KubeConfig struct {
	Host      string `json:"host"`
	Sudo      bool   `json:"sudo"`
	CertFile  string `json:"cert"`
	Insecure  bool   `json:"insecure"`
	User      string `json:"user"`
	Password  string `json:"password"`
	Namespace string `json:"namespace"`
	Fstab     string `json:"fstab"`
}

type KubeExecutor

type KubeExecutor struct {
	// Embed all sshexecutor functions
	sshexec.SshExecutor
	// contains filtered or unexported fields
}

func NewKubeExecutor

func NewKubeExecutor(config *KubeConfig) (*KubeExecutor, error)

func (*KubeExecutor) ConnectAndExec

func (k *KubeExecutor) ConnectAndExec(host, namespace, resource string,
	commands []string,
	timeoutMinutes int) ([]string, error)

func (*KubeExecutor) RemoteCommandExecute

func (k *KubeExecutor) RemoteCommandExecute(host string,
	commands []string,
	timeoutMinutes int) ([]string, error)

type KubernetesClient

type KubernetesClient interface {
}

type KubernetesRemoteCommand

type KubernetesRemoteCommand interface {
}

type KubernetesRemoteCommandStream

type KubernetesRemoteCommandStream interface {
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL