Documentation ¶
Index ¶
- Constants
- func CopyFiles(ssh ssh.Interface, isRegistry bool, ip, src, target string) error
- type FileSystem
- func (c *FileSystem) Clean(cluster *v2.Cluster) error
- func (c *FileSystem) MountImage(cluster *v2.Cluster) error
- func (c *FileSystem) MountRootfs(cluster *v2.Cluster, hosts []string, initFlag bool) error
- func (c *FileSystem) UnMountImage(cluster *v2.Cluster) error
- func (c *FileSystem) UnMountRootfs(cluster *v2.Cluster) error
- type Interface
Constants ¶
View Source
const (
RemoteChmod = "cd %s && chmod +x scripts/* && cd scripts && bash init.sh"
)
Variables ¶
This section is empty.
Functions ¶
Types ¶
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
func (*FileSystem) MountImage ¶
func (c *FileSystem) MountImage(cluster *v2.Cluster) error
func (*FileSystem) MountRootfs ¶
func (*FileSystem) UnMountImage ¶
func (c *FileSystem) UnMountImage(cluster *v2.Cluster) error
func (*FileSystem) UnMountRootfs ¶
func (c *FileSystem) UnMountRootfs(cluster *v2.Cluster) error
Click to show internal directories.
Click to hide internal directories.