Documentation
¶
Index ¶
Constants ¶
View Source
const ( RemoteNydusdInit = "cd %s && chmod +x *.sh && bash start.sh %s" RemoteNydusdStop = "if [ -f \"%[1]s\" ];then sh %[1]s;fi && rm -rf %s" )
View Source
const (
RemoteChmod = "cd %s && chmod +x scripts/* && cd scripts && bash init.sh /var/lib/docker %s %s"
)
Variables ¶
This section is empty.
Functions ¶
func CleanFilesystem ¶
Types ¶
type Interface ¶
type Interface interface {
// MountRootfs :send cloud rootfs to all hosts.
MountRootfs(cluster *v2.Cluster, hosts []net.IP, initFlag bool) error
// UnMountRootfs :umount rootfs on all hosts.
UnMountRootfs(cluster *v2.Cluster, hosts []net.IP) error
}
func NewNydusFileSystem ¶
func NewOverlayFileSystem ¶
Click to show internal directories.
Click to hide internal directories.