configs

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Config = &ConfigStruct{
	EnvSettings: EnvSettingsStruct{
		BuildDir: "builds",
		RootDir:  "root",
		DevcBin:  "bin",
	},
	CacheDirSettings: CacheDirSettingsStruct{
		ProotCache:       "proot",
		BuildahCache:     "from-builds",
		LoginAuthFile:    "auth.json",
		StorageDriver:    "vfs",
		CommonBuildCache: "build-states",
	},
}

basic config options

Functions

func LoadConfig

func LoadConfig()

Types

type ActivateCmdOptions

type ActivateCmdOptions struct {
	Workdir string
}

type BuildCmdOptions

type BuildCmdOptions struct {
	Containerfile string
	Context       string
	KeepCache     bool
	BuildArgs     []string
}

type CacheDirSettingsStruct

type CacheDirSettingsStruct struct {
	ProotCache    string
	BuildahCache  string // for dumping image data
	LoginAuthFile string

	StorageDriver    string
	CommonBuildCache string // for dumping state dat
}

type ConfigStruct

type ConfigStruct struct {
	Version string
	Proot   struct {
		Url     string `yaml:"url"`
		Version string `yaml:"version"`
	} `yaml:"proot"`

	CacheDir         string  `yaml:"cache-dir"`
	CacheExpiryHrs   float64 `yaml:"cache-expiry-hrs"`
	HomeDir          string
	UserName         string
	EnvSettings      EnvSettingsStruct
	CacheDirSettings CacheDirSettingsStruct

	Buildah struct {
		Path string `yaml:"path"`
	} `yaml:"buildah"`
}

type EnvSettingsStruct

type EnvSettingsStruct struct {
	BuildDir string
	RootDir  string
	DevcBin  string
}

type ImagesCmdOptions

type ImagesCmdOptions struct {
}

type LoginCmdOptions

type LoginCmdOptions struct {
	Username string
	Password string
}

type LogoutCmdOptions

type LogoutCmdOptions struct {
}

type PruneCmdOptions

type PruneCmdOptions struct {
	Wipe bool
}

type PullCmdOptions

type PullCmdOptions struct {
	NoCaching bool
}

type RmiCmdOptions

type RmiCmdOptions struct {
}

type RootOptions

type RootOptions struct {
	Version bool
}

Jump to

Keyboard shortcuts

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