breakingchange

package
v0.9.1-beta.13 Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2024 License: AGPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetMajorMinorVersion added in v0.9.0

func GetMajorMinorVersion(version string) string

func ValidateUpgradeVersion

func ValidateUpgradeVersion(fromVersion, toVersion string) error

ValidateUpgradeVersion verifies the legality of the upgraded version.

Types

type Upgrader

type Upgrader struct {
	Dynamic      dynamic.Interface
	FromVersion  string
	ToVersion    string
	ResourcesMap map[string][]unstructured.Unstructured
}

func (*Upgrader) SaveOldResources

func (u *Upgrader) SaveOldResources() error

func (*Upgrader) TransformResourcesAndClear

func (u *Upgrader) TransformResourcesAndClear() error

Jump to

Keyboard shortcuts

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