Documentation ¶
Overview ¶
Package directory defines the operations on remote instance directory.
Index ¶
Constants ¶
View Source
const ( // TmpDir represents the tmp directory of the remote instance TmpDir = "/tmp/kubekey" // BinDir represents the bin directory of the remote instance BinDir = "/usr/local/bin" // KubeConfigDir represents the normal kubernetes data directory of the remote instance KubeConfigDir = "/etc/kubernetes" // KubeCertDir represents the normal kubernetes cert directory of the remote instance KubeCertDir = "/etc/kubernetes/pki" // KubeManifestDir represents the normal kubernetes manifest directory of the remote instance KubeManifestDir = "/etc/kubernetes/manifests" // KubeScriptDir represents the kubernetes manage tools scripts directory of the remote instance KubeScriptDir = "/usr/local/bin/kube-scripts" // KubeletFlexvolumesPluginsDir represents the kubernetes kubelet plugin volume directory of the remote instance KubeletFlexvolumesPluginsDir = "/usr/libexec/kubernetes/kubelet-plugins/volume/exec" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service holds a collection of interfaces. The interfaces are broken down like this to group functions together.
func NewService ¶
NewService returns a new service given the remote instance directory client.
Click to show internal directories.
Click to hide internal directories.