modulepackageversion

package
v1.76.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterController

func RegisterController(
	runtimeManager manager.Manager,
	dc dependency.Container,
	logger *log.Logger,
) error

Types

type DowngradeRules added in v1.76.0

type DowngradeRules struct {
	To               string `yaml:"to"`
	AllowSkipPatches uint   `yaml:"allowSkipPatches"`
	AllowSkipMinor   uint   `yaml:"allowSkipMinor"`
	AllowSkipMajor   uint   `yaml:"allowSkipMajor"`
	MaxRollback      uint   `yaml:"maxRollback"`
}

type PackageDefinition added in v1.76.0

type PackageDefinition struct {
	Name         string               `yaml:"name"`
	Description  *PackageDescription  `yaml:"description"`
	Category     string               `yaml:"category"`
	Stage        string               `yaml:"stage"`
	Type         string               `yaml:"type"`
	Version      string               `yaml:"version"`
	Requirements *PackageRequirements `yaml:"requirements"`
	Licensing    *PackageLicensing    `yaml:"licensing"`

	VersionCompatibilityRules *VersionCompatibilityRules `yaml:"versionCompatibilityRules"`
}

PackageDefinition represents the parsed content of package.yaml from v2 module packages.

type PackageDescription added in v1.76.0

type PackageDescription struct {
	Ru string `yaml:"ru"`
	En string `yaml:"en"`
}

type PackageEdition added in v1.76.0

type PackageEdition struct {
	Available bool `yaml:"available"`
}

type PackageLicensing added in v1.76.0

type PackageLicensing struct {
	Editions         map[string]PackageEdition `yaml:"editions"`
	EnabledInBundles []string                  `yaml:"enabledInBundles"`
}

type PackageRequirements added in v1.76.0

type PackageRequirements struct {
	Deckhouse  string            `yaml:"deckhouse"`
	Kubernetes string            `yaml:"kubernetes"`
	Modules    map[string]string `yaml:"modules"`
}

type UpgradeRules added in v1.76.0

type UpgradeRules struct {
	From             string `yaml:"from"`
	AllowSkipPatches uint   `yaml:"allowSkipPatches"`
	AllowSkipMinor   uint   `yaml:"allowSkipMinor"`
	AllowSkipMajor   uint   `yaml:"allowSkipMajor"`
}

type VersionCompatibilityRules added in v1.76.0

type VersionCompatibilityRules struct {
	Upgrade   UpgradeRules   `yaml:"upgrade"`
	Downgrade DowngradeRules `yaml:"downgrade"`
}

Jump to

Keyboard shortcuts

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