upgrade

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2021 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Upgrade

func Upgrade(cfg Config) error

Upgrade the profile installation to a new version

Types

type Config added in v0.9.0

type Config struct {
	ProfileDir     string
	Version        string
	CatalogClient  catalog.CatalogClient
	CatalogManager catalog.CatalogManager
	RepoManager    repo.RepoManager
	WorkingDir     string
	Message        string
	Latest         bool
}

Config holds the fields used during upgrades of an installation

Directories

Path Synopsis
fakes
Code generated by counterfeiter.
Code generated by counterfeiter.

Jump to

Keyboard shortcuts

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