Documentation ¶
Index ¶
Constants ¶
View Source
const (
KubeGlusterFSPodLabelKey = "glusterfs-node"
)
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"` // Use POD name instead of using label // to access POD UsePodNames bool `json:"use_pod_names"` }
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 (*KubeExecutor) RemoteCommandExecute ¶
type KubernetesClient ¶
type KubernetesClient interface { }
type KubernetesRemoteCommand ¶
type KubernetesRemoteCommand interface { }
type KubernetesRemoteCommandStream ¶
type KubernetesRemoteCommandStream interface { }
Click to show internal directories.
Click to hide internal directories.