upgrade

package
v0.3.0-rc2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2021 License: Apache-2.0 Imports: 27 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Register

func Register(ctx context.Context, management *config.Management, options config.Options) error

Types

type CheckUpgradeRequest

type CheckUpgradeRequest struct {
	HarvesterVersion string `json:"harvesterVersion"`
}

type CheckUpgradeResponse

type CheckUpgradeResponse struct {
	Versions []Version `json:"versions"`
}

type Version

type Version struct {
	Name                 string   `json:"name"` // must be in semantic versioning
	ReleaseDate          string   `json:"releaseDate"`
	MinUpgradableVersion string   `json:"minUpgradableVersion,omitempty"`
	Tags                 []string `json:"tags"`
}

Jump to

Keyboard shortcuts

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