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. |
Click to show internal directories.
Click to hide internal directories.