Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagDefaultDir = "/var/local/pullrun" FlagDefaultDirPerm = 0750 )
View Source
const ( FlagConfig = "config" FlagDeleteConfig = "delete-config" FlagDir = "dir" FlagDirPerm = "dir-perm" )
Variables ¶
View Source
var Config = flag.String(FlagConfig, "", "configuration file or json configuration between single quotes")
View Source
var ConfigDelete = flag.Bool(FlagDeleteConfig, false, "delete the configuration once loaded")
View Source
var Dir = flag.String(FlagDir, FlagDefaultDir, "download dir, created if missing")
View Source
var DirPerm = flag.Uint(FlagDirPerm, FlagDefaultDirPerm, "download dir permission")
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.