Documentation
¶
Index ¶
- func FetchContainer(imageRef, cacheDir, authFile string, skipCache bool) error
- func MountBind(source, target string) error
- func MountProc(newroot string) error
- func MountTmpfs(path string, size int64, allowExec bool) error
- func PivotRoot(newroot string) error
- func PrepContainer(imageRef, cacheDir, rootFS string) (string, *v1.Config, error)
- type AuthHelper
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchContainer ¶
func PivotRoot ¶
Reference: https://github.com/teddyking/ns-process/blob/master/rootfs.go
Types ¶
type AuthHelper ¶
type AuthHelper struct {
AuthFile string
}
func (*AuthHelper) Add ¶
func (a *AuthHelper) Add(serverUrl, username, secret string) error
Click to show internal directories.
Click to hide internal directories.