upgrade

package
v0.13.1 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2018 License: Apache-2.0 Imports: 11 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckUpgrade added in v0.13.0

func CheckUpgrade(a app.App, out io.Writer, pl PackageLister, dryRun bool) (bool, error)

CheckUpgrade checks whether an app should be upgraded.

func Upgrade

func Upgrade(a app.App, out io.Writer, pl PackageLister, dryRun bool) error

Upgrade upgrades an application to the current version.

Types

type PackageLister

type PackageLister interface {
	Packages() ([]pkg.Package, error)
}

PackageLister lists installed packages.

Jump to

Keyboard shortcuts

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