receiptsmigration

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2019 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

todo(corneliusweig) remove migration code with v0.4

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Done

func Done(newPaths environment.Paths) (bool, error)

Done checks if the krew installation requires a migration. It considers a migration necessary when plugins are installed, but no receipts are present.

func Migrate

func Migrate(newPaths environment.Paths) error

Migrate searches for installed plugins, removes each plugin and reinstalls afterwards. Once started, it keeps going even if there are errors.

Types

This section is empty.

Directories

Path Synopsis
todo(corneliusweig) remove migration code with v0.4 oldenvironment is a copy of the relevant function in environment before the index migration.
todo(corneliusweig) remove migration code with v0.4 oldenvironment is a copy of the relevant function in environment before the index migration.

Jump to

Keyboard shortcuts

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