Documentation ¶
Index ¶
Constants ¶
View Source
const (
KubeletConfigurationFileName = "config.yaml"
)
Variables ¶
This section is empty.
Functions ¶
func GetDirectoryMountDevice ¶
Types ¶
type DockerInfo ¶
type DockerInfo struct { ID string `json:"ID"` Driver string `json:"Driver"` DockerRootDir string `json:"DockerRootDir"` }
func GetDockerInfoByRemote ¶
func GetDockerInfoByRemote() (*DockerInfo, error)
type KubeletConfig ¶
type KubeletConfig interface { HasDedicatedImageFs() bool GetNodeFsDevice() string GetImageFsDevice() string GetImageFs() string GetEvictionConfig() eviction.Config }
KubeletConfig is a interface abstracts manipulation of kubelet run directory.
func NewKubeletConfigByDirectory ¶
func NewKubeletConfigByDirectory(dir string) (KubeletConfig, error)
Click to show internal directories.
Click to hide internal directories.