container

package
v0.0.0-...-08a6d4d Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchContainer

func FetchContainer(imageRef, cacheDir, authFile string, skipCache bool) error

func MountBind

func MountBind(source, target string) error

func MountProc

func MountProc(newroot string) error

func MountTmpfs

func MountTmpfs(path string, size int64, allowExec bool) error

func PrepContainer

func PrepContainer(imageRef, cacheDir, rootFS string) (string, *v1.Config, error)

Types

type AuthHelper

type AuthHelper struct {
	AuthFile string
}

func (*AuthHelper) Add

func (a *AuthHelper) Add(serverUrl, username, secret string) error

func (*AuthHelper) Get

func (a *AuthHelper) Get(serverURL string) (string, string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL