upgrade

package
v0.0.0-...-42467dd Latest Latest
Warning

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

Go to latest
Published: Jul 24, 2026 License: AGPL-3.0 Imports: 70 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(base *semver.Version, target *semver.Version) error

Types

type MinimumVersionConstraints

type MinimumVersionConstraints VersionConstraints

func (MinimumVersionConstraints) SatisfiedBy

func (c MinimumVersionConstraints) SatisfiedBy(base *semver.Version) (bool, error)

type Module

type Module struct {
	common.KubeModule
	manifest.ManifestModule
	TargetVersion *semver.Version
}

func (*Module) Init

func (m *Module) Init()

type PrecheckModule

type PrecheckModule struct {
	common.KubeModule
}

func (*PrecheckModule) Init

func (m *PrecheckModule) Init()

type VersionConstraints

type VersionConstraints map[string]*semver.Version

type VersionSpec

type VersionSpec struct {
	Version                   string                    `json:"version"`
	Major                     uint64                    `json:"major"`
	Minor                     uint64                    `json:"minor"`
	Patch                     uint64                    `json:"patch"`
	ReleaseType               string                    `json:"releaseType"`
	ReleaseNum                int                       `json:"releaseNum"`
	PreRelease                bool                      `json:"prerelease"`
	AddedBreakingChange       bool                      `json:"addedBreakingChange"`
	NeedRestart               bool                      `json:"needRestart"`
	MinimumUpgradableVersions MinimumVersionConstraints `json:"minimumUpgradableVersions"`
}

func CurrentVersionSpec

func CurrentVersionSpec() (spec *VersionSpec, err error)

Jump to

Keyboard shortcuts

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