Documentation ¶
Index ¶
- func CallFakeSnapRefreshAll(c *check.C, snaps []string, changeFunc ChangeFakeUpdateSnap, ...) string
- func CallFakeSnapRefreshForSnap(c *check.C, snap string, changeFunc ChangeFakeUpdateSnap, ...) string
- func MakeFakeRefreshForSnap(c *check.C, snap, targetDir string, changeFunc ChangeFakeUpdateSnap) error
- func NoOp(snapPath string) error
- type ChangeFakeUpdateSnap
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CallFakeSnapRefreshAll ¶
func CallFakeSnapRefreshAll(c *check.C, snaps []string, changeFunc ChangeFakeUpdateSnap, fakeStore *store.Store) string
func CallFakeSnapRefreshForSnap ¶
func CallFakeSnapRefreshForSnap(c *check.C, snap string, changeFunc ChangeFakeUpdateSnap, fakeStore *store.Store) string
CallFakeSnapRefresh 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 MakeFakeRefreshForSnap ¶
func MakeFakeRefreshForSnap(c *check.C, snap, targetDir string, changeFunc ChangeFakeUpdateSnap) error
Types ¶
type ChangeFakeUpdateSnap ¶
ChangeFakeUpdateSnap is the type of the functions used to modify a snap before it is served as a fake update.
Click to show internal directories.
Click to hide internal directories.