Documentation
¶
Index ¶
- func AptInstall(pkgname string) (*cmd.Status, error)
- func AptInstallOrExit(pkgname string) error
- func AptRemove(pkgname string) (*cmd.Status, error)
- func AptRemoveOrExit(pkgname string) error
- func AptUpdate() error
- func AreRoot() bool
- func DebFilenameMatchesVersion(debname string, ver string) bool
- func GetKeyFromPackagePB(p *zoopb.Package, varname string) (string, string)
- func InitDaemon() *zoopb.Machine
- func InitMachine() *zoopb.Machine
- func InitWitMirrors(m *zoopb.Machine) error
- func MakeControlFile(pb *zoopb.Package) string
- func MakePackagesFile(all *zoopb.Packages) string
- func ParseDpkgOutputIntoPB(pb *zoopb.Package, all string)
- func RunDpkg(p *zoopb.Package, filename string) error
- func SetDebInfoString(pb proto.Message, varname string, varvalue string) error
- func SetString(pb proto.Message, varname string, varvalue string) (bool, error)
- func UpdatePackages(me *zoopb.Machine) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AptInstallOrExit ¶
func AptRemoveOrExit ¶
func AptUpdate ¶
func AptUpdate() error
apt-get update \
-o Dir::Etc::sourcelist=/etc/apt/sources.list.d/wit.list \
-o Dir::Etc::sourceparts=/dev/null \
-o APT::Get::List-Cleanup=0
func DebFilenameMatchesVersion ¶ added in v0.0.2
func GetKeyFromPackagePB ¶ added in v0.0.11
returns the standard .deb string from a package PB
func InitDaemon ¶ added in v0.0.2
func InitMachine ¶ added in v0.0.2
func InitWitMirrors ¶ added in v0.0.2
obviously a hack at this point read the package list file from mirrors.wit.com
func MakeControlFile ¶ added in v0.0.15
func MakePackagesFile ¶ added in v0.0.13
make a list of the newest .deb files
func ParseDpkgOutputIntoPB ¶ added in v0.0.11
PARSES "dpkg -I <p.Filename>" panic() on anything missing or unknown
func SetDebInfoString ¶ added in v0.0.8
func UpdatePackages ¶ added in v0.0.2
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.