Documentation
¶
Index ¶
Constants ¶
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>
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 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 ¶
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