Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CNSource = map[string]bool{ V310.String(): true, V311.String(): true, V320.String(): true, V321.String(): true, V330.String(): true, V331.String(): true, V332.String(): true, }
View Source
var KsV211 = &KsInstaller{ Version: V211.String(), CRDTemplate: templates.KsInstaller, ClusterConfigurationTemplate: templates.V211, K8sSupportVersions: []string{ "v1.15", "v1.16", "v1.17", "v1.18", }, UpgradeSupportVersions: []string{ V211.String(), }, }
View Source
var KsV300 = &KsInstaller{ Version: V300.String(), CRDTemplate: templates.KsInstaller, ClusterConfigurationTemplate: templates.V300, K8sSupportVersions: []string{ "v1.15", "v1.16", "v1.17", "v1.18", }, UpgradeSupportVersions: []string{ V211.String(), }, }
View Source
var KsV310 = &KsInstaller{ Version: V310.String(), CRDTemplate: templates.KsInstaller, ClusterConfigurationTemplate: templates.V310, K8sSupportVersions: []string{ "v1.15", "v1.16", "v1.17", "v1.18", "v1.19", "v1.20", }, UpgradeSupportVersions: []string{ V300.String(), }, }
View Source
var KsV311 = &KsInstaller{ Version: V311.String(), CRDTemplate: templates.KsInstaller, ClusterConfigurationTemplate: templates.V311, K8sSupportVersions: []string{ "v1.15", "v1.16", "v1.17", "v1.18", "v1.19", "v1.20", }, UpgradeSupportVersions: []string{ V300.String(), V310.String(), }, }
View Source
var KsV320 = &KsInstaller{ Version: V320.String(), CRDTemplate: templates.KsInstaller, ClusterConfigurationTemplate: templates.V320, K8sSupportVersions: []string{ "v1.19", "v1.20", "v1.21", "v1.22", }, UpgradeSupportVersions: []string{ V310.String(), V311.String(), }, }
View Source
var KsV321 = &KsInstaller{ Version: V321.String(), CRDTemplate: templates.KsInstaller, ClusterConfigurationTemplate: templates.V321, K8sSupportVersions: []string{ "v1.19", "v1.20", "v1.21", "v1.22", }, UpgradeSupportVersions: []string{ V310.String(), V311.String(), V320.String(), }, }
View Source
var KsV330 = &KsInstaller{ Version: V330.String(), CRDTemplate: templates.KsInstaller, ClusterConfigurationTemplate: templates.V330, K8sSupportVersions: []string{ "v1.19", "v1.20", "v1.21", "v1.22", "v1.23", }, UpgradeSupportVersions: []string{ V320.String(), V321.String(), }, }
View Source
var KsV331 = &KsInstaller{ Version: V331.String(), CRDTemplate: templates.KsInstaller, ClusterConfigurationTemplate: templates.V331, K8sSupportVersions: []string{ "v1.19", "v1.20", "v1.21", "v1.22", "v1.23", "v1.24", }, UpgradeSupportVersions: []string{ V330.String(), V320.String(), V321.String(), }, }
View Source
var KsV332 = &KsInstaller{ Version: V332.String(), CRDTemplate: templates.KsInstaller, ClusterConfigurationTemplate: templates.V332, K8sSupportVersions: []string{ "v1.19", "v1.20", "v1.21", "v1.22", "v1.23", "v1.24", }, UpgradeSupportVersions: []string{ V331.String(), V330.String(), V320.String(), V321.String(), }, }
Functions ¶
func VersionsStringArr ¶
func VersionsStringArr() []string
Types ¶
type KsInstaller ¶
type KsInstaller struct { Version string CRDTemplate *template.Template ClusterConfigurationTemplate *template.Template K8sSupportVersions []string UpgradeSupportVersions []string }
func DevRelease ¶
func DevRelease(version string) (*KsInstaller, bool)
func Latest ¶
func Latest() *KsInstaller
func LatestRelease ¶
func LatestRelease(version string) (*KsInstaller, bool)
func StabledVersionSupport ¶
func StabledVersionSupport(version string) (*KsInstaller, bool)
func (*KsInstaller) CCToString ¶
func (k *KsInstaller) CCToString() string
func (*KsInstaller) K8sSupport ¶
func (k *KsInstaller) K8sSupport(version string) bool
func (*KsInstaller) UpgradeSupport ¶
func (k *KsInstaller) UpgradeSupport(version string) bool
Click to show internal directories.
Click to hide internal directories.