Documentation ¶
Overview ¶
Helpers to work with an Ubuntu image based Upgrade implementation
Copyright (c) 2013 Canonical Ltd.
Written by Sergio Schvezov <sergio.schvezov@canonical.com>
Helpers to work with an Ubuntu image based Upgrade implementation ¶
Copyright (c) 2013 Canonical Ltd.
Written by Sergio Schvezov <sergio.schvezov@canonical.com>
Helpers to work with an Ubuntu image based Upgrade implementation ¶
Copyright (c) 2013 Canonical Ltd.
Written by Sergio Schvezov <sergio.schvezov@canonical.com>
Helpers to work with an Ubuntu image based Upgrade implementation ¶
Copyright (c) 2013 Canonical Ltd.
Written by Sergio Schvezov <sergio.schvezov@canonical.com>
Index ¶
- Constants
- func GetCacheDir() (cacheDir string)
- func GetUbuntuCommands(files []File, downloadDir string, wipe bool, enable []string) (commandsFile string, err error)
- func TLSSkipVerify()
- type By
- type Channel
- type Channels
- type Device
- type DeviceChannel
- type File
- type Image
- type ImageBy
- type ImageVersion
- type ImageVersions
Constants ¶
const (
FULL_IMAGE = "full"
)
Variables ¶
This section is empty.
Functions ¶
func GetUbuntuCommands ¶
func TLSSkipVerify ¶
func TLSSkipVerify()
TLSSkipVerify turns off validation of server TLS certificates. It allows connecting to HTTPS servers that use self-signed certificates.
Types ¶
type By ¶
By is the type of a "less" function that defines the ordering of its File arguments.
type Channel ¶
type Channels ¶
func (Channels) GetDeviceChannel ¶
func (channels Channels) GetDeviceChannel(server, channel, device string) (deviceChannel DeviceChannel, err error)
type DeviceChannel ¶
func (*DeviceChannel) GetImage ¶
func (deviceChannel *DeviceChannel) GetImage(revision int) (image Image, err error)
func (*DeviceChannel) GetRelativeImage ¶
func (deviceChannel *DeviceChannel) GetRelativeImage(revision int) (image Image, err error)
func (*DeviceChannel) ListImageVersions ¶
func (deviceChannel *DeviceChannel) ListImageVersions() (err error)
type File ¶
type ImageBy ¶
By is the type of a "less" function that defines the ordering of its File arguments.
type ImageVersions ¶
type ImageVersions map[int]ImageVersion