Documentation
¶
Index ¶
- func ConfigDir() string
- func Connect(network, path string) (net.Conn, error)
- func ConnectAndWait(network, path string) (net.Conn, error)
- func CopyFile(src, dst string) *exec.Cmd
- func FileInfoHeader() string
- func GenerateMAC() (net.HardwareAddr, error)
- func HomePath() string
- func ID() string
- func IsDirectIOSupported(path string) bool
- func IsRemoteImage(repo_url, name string) (bool, error)
- func ListImagesRemote(repo_url string, search string) error
- func ParseMemSize(memory string) (int64, error)
- func RawTerm() error
- func ResetTerm()
- func SearchInstance(name string) (instanceName, instancePlatform string)
- type Contents
- type FileInfo
- type FilesInfo
- type ImageInfo
- type Query
- type Repo
- func (r *Repo) DefaultImage() string
- func (r *Repo) DownloadFile(repo_url string, name string) error
- func (r *Repo) DownloadImage(repo_url, hypervisor string, path string) error
- func (r *Repo) ImageExists(hypervisor, image string) bool
- func (r *Repo) ImagePath(hypervisor string, image string) string
- func (r *Repo) ImportImage(imageName string, file string, version string, created string, ...) error
- func (r *Repo) ListImages()
- func (r *Repo) PullImage(image string) error
- func (r *Repo) RemoveImage(image string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FileInfoHeader ¶
func FileInfoHeader() string
func IsDirectIOSupported ¶
func IsRemoteImage ¶
func ListImagesRemote ¶
func ParseMemSize ¶
func SearchInstance ¶
Types ¶
type FileInfo ¶
type FileInfo struct { Namespace string Name string Description string Version string Created string }
func MakeFileInfo ¶
func RemoteFileInfo ¶
type Repo ¶
func (*Repo) DefaultImage ¶
func (*Repo) DownloadImage ¶
func (*Repo) ImageExists ¶
func (*Repo) ImportImage ¶
func (*Repo) ListImages ¶
func (r *Repo) ListImages()
func (*Repo) RemoveImage ¶
Click to show internal directories.
Click to hide internal directories.