updates

package
v0.0.0-...-921daf7 Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2016 License: GPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CallFakeOSUpdate

func CallFakeOSUpdate(c *check.C) string

CallFakeOSUpdate calls snappy update after faking a new version available for the OS snap.

func CallFakeUpdate

func CallFakeUpdate(c *check.C, snap string, changeFunc ChangeFakeUpdateSnap) string

CallFakeUpdate calls snappy update after faking a new version available for the specified snap. The fake is made copying the currently installed snap. changeFunc can be used to modify the snap before it is built and served.

func NoOp

func NoOp(snapPath string) error

NoOp leaves the snap unchanged.

Types

type ChangeFakeUpdateSnap

type ChangeFakeUpdateSnap func(snapPath string) error

ChangeFakeUpdateSnap is the type of the functions used to modify a snap before it is served as a fake update.

Jump to

Keyboard shortcuts

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