internal

package
v0.22.2 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2025 License: Apache-2.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InstallSegment           = "install"
	InstallStandaloneSegment = "install-standalone"
	ReleaseChannelSegment    = "release-channel"
	ModulesSegment           = "modules"
	ModulesExtraSegment      = "extra"
	ModulesReleasesSegment   = "releases"
	// TODO: fix?
	SecurityDatabasesSegment = "security-databases"
)

deckhouse repo structure root-segment:<version> root-segment/install:<version> root-segment/install-standalone:<version> root-segment/release-channel:<version> root-segment/modules/<module-name>:<version> root-segment/modules/<module-name>/releases:<version> root-segment/modules/<module-name>/extra/<module-extra-name>:<version>

View Source
const (
	AlphaChannel       = "alpha"
	BetaChannel        = "beta"
	EarlyAccessChannel = "early-access"
	StableChannel      = "stable"
	RockSolidChannel   = "rock-solid"
	LTSChannel         = "lts"
)

Variables

This section is empty.

Functions

func ChannelIsValid added in v0.20.16

func ChannelIsValid(c string) bool

func GetAllDefaultReleaseChannels added in v0.20.16

func GetAllDefaultReleaseChannels() []string

func InstallSegmentByMirrorType added in v0.22.2

func InstallSegmentByMirrorType(mirrorType MirrorType) string

InstallSegmentByMirrorType returns the path segment for install based on the mirror type.

Types

type EnvVar

type EnvVar struct {
	Name string
}

EnvVar represents an environment variable required by the plugin

type Flag

type Flag struct {
	Name string
}

Flag represents a command-line flag supported by the plugin

type KubernetesRequirement

type KubernetesRequirement struct {
	Constraint string
}

KubernetesRequirement represents Kubernetes version constraint

type MirrorType added in v0.22.2

type MirrorType int
const (
	MirrorTypeDeckhouse MirrorType = iota
	MirrorTypeDeckhouseInstall
	MirrorTypeDeckhouseInstallStandalone
	MirrorTypeDeckhouseReleaseChannels
	MirrorTypeModules
	MirrorTypeModulesReleaseChannels
	MirrorTypeModulesExtra
	MirrorTypeSecurityDatabases
)

type ModuleRequirement

type ModuleRequirement struct {
	Name       string
	Constraint string
}

ModuleRequirement represents a required Deckhouse module

type Plugin

type Plugin struct {
	Name         string
	Version      string
	Description  string
	Env          []EnvVar
	Flags        []Flag
	Requirements Requirements
}

Plugin represents a plugin domain entity

type Requirements

type Requirements struct {
	Kubernetes KubernetesRequirement
	Modules    []ModuleRequirement
}

Requirements represents plugin dependencies

Jump to

Keyboard shortcuts

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