Documentation ¶
Overview ¶
Package systemimage is a mimimal wrapper for the system-image dbus API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BusAddress bus.Address = bus.Address{
Interface: "com.canonical.SystemImage",
Path: "/Service",
Name: "com.canonical.SystemImage",
}
system-image service lives on a well-known bus.Address
Functions ¶
This section is empty.
Types ¶
type InfoResult ¶
type InfoResult struct { BuildNumber int32 Device string Channel string // xxx channel_target missing LastUpdate string VersionDetail map[string]string Raw map[string]string }
InfoResult holds the result of the system-image service Info method.
type SystemImage ¶
type SystemImage interface {
Information() (*InfoResult, error)
}
A SystemImage exposes the a subset of system-image service.
Click to show internal directories.
Click to hide internal directories.