Documentation
¶
Overview ¶
Package volume implements the docker host-container volume mounting
Index ¶
- func Copy(src string, dst string) error
- func DefaultCacheDirHost() (string, error)
- func DefaultWorkDirHost() (string, error)
- func JoinPathContainer(elem ...string) string
- func JoinPathHost(elem ...string) string
- func Zip(source string, archive string) error
- type Volume
- func (l Volume) BinDirContainer() string
- func (l Volume) BinDirHost() string
- func (l Volume) CacheDirContainer() string
- func (l Volume) CacheDirHost() string
- func (l Volume) DistDirContainer() string
- func (l Volume) DistDirHost() string
- func (l Volume) GoCacheDirContainer() string
- func (l Volume) TmpDirContainer() string
- func (l Volume) TmpDirHost() string
- func (l Volume) WorkDirContainer() string
- func (l Volume) WorkDirHost() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultCacheDirHost ¶
DefaultCacheDirHost returns the default cache dir on the host
func DefaultWorkDirHost ¶
DefaultWorkDirHost returns the default work dir on the host
func JoinPathContainer ¶
JoinPathContainer joins any number of path elements into a single path, separating them with the Container OS specific Separator.
func JoinPathHost ¶
JoinPathHost joins any number of path elements into a single path, separating them with the Host OS specific Separator.
Types ¶
type Volume ¶
type Volume struct {
// contains filtered or unexported fields
}
Volume represents the fyne-cross projec layout
func (Volume) BinDirContainer ¶
BinDirContainer returns the fyne-cross bin dir on the container
func (Volume) BinDirHost ¶
BinDirHost returns the fyne-cross bin dir on the host
func (Volume) CacheDirContainer ¶
CacheDirContainer returns the fyne-cross cache dir on the container
func (Volume) CacheDirHost ¶
CacheDirHost returns the fyne-cross cache dir on the host
func (Volume) DistDirContainer ¶
DistDirContainer returns the fyne-cross distribution dir on the container
func (Volume) DistDirHost ¶
DistDirHost returns the fyne-cross distribution dir on the host
func (Volume) GoCacheDirContainer ¶
GoCacheDirContainer returns the fyne-cross Go cache dir on the container
func (Volume) TmpDirContainer ¶
TmpDirContainer returns the fyne-cross temporary dir on the container
func (Volume) TmpDirHost ¶
TmpDirHost returns the fyne-cross temporary dir on the host
func (Volume) WorkDirContainer ¶
WorkDirContainer returns the working dir on the host
func (Volume) WorkDirHost ¶
WorkDirHost returns the working dir on the host