Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Types = map[AddonType]platform.ClusterAddonType{ Helm: { ObjectMeta: metav1.ObjectMeta{ Name: strings.ToLower(string(Helm)), }, Type: string(Helm), Level: platform.LevelEnhance, LatestVersion: helm.LatestVersion, Description: description("Helm.md"), CompatibleClusterType: cluster.Providers(), }, PersistentEvent: { ObjectMeta: metav1.ObjectMeta{ Name: strings.ToLower(string(PersistentEvent)), }, Type: string(PersistentEvent), Level: platform.LevelEnhance, LatestVersion: persistentevent.LatestVersion, Description: description("PersistentEvent.md"), CompatibleClusterType: cluster.Providers(), }, LogCollector: { ObjectMeta: metav1.ObjectMeta{ Name: strings.ToLower(string(LogCollector)), }, Type: string(LogCollector), Level: platform.LevelEnhance, LatestVersion: logcollector.LatestVersion, Description: description("LogCollector.md"), CompatibleClusterType: cluster.Providers(), }, TappController: { ObjectMeta: metav1.ObjectMeta{ Name: strings.ToLower(string(TappController)), }, Type: string(TappController), Level: platform.LevelEnhance, LatestVersion: tappcontroller.LatestVersion, Description: description("TappController.md"), CompatibleClusterType: cluster.Providers(), }, CSIOperator: { ObjectMeta: metav1.ObjectMeta{ Name: strings.ToLower(string(CSIOperator)), }, Type: string(CSIOperator), Level: platform.LevelBasic, LatestVersion: csioperator.LatestVersion, Description: description("CSIOperator.md"), CompatibleClusterType: cluster.Providers(), }, VolumeDecorator: { ObjectMeta: metav1.ObjectMeta{ Name: strings.ToLower(string(VolumeDecorator)), }, Type: string(VolumeDecorator), Level: platform.LevelEnhance, LatestVersion: volumedecorator.LatestVersion, Description: description("VolumeDecorator.md"), CompatibleClusterType: cluster.Providers(), }, CronHPA: { ObjectMeta: metav1.ObjectMeta{ Name: strings.ToLower(string(CronHPA)), }, Type: string(CronHPA), Level: platform.LevelEnhance, LatestVersion: cronhpa.LatestVersion, Description: description("CronHPA.md"), CompatibleClusterType: cluster.Providers(), }, Prometheus: { ObjectMeta: metav1.ObjectMeta{ Name: strings.ToLower(string(Prometheus)), }, Type: string(Prometheus), Level: platform.LevelBasic, LatestVersion: prometheus.LatestVersion, Description: description("Prometheus.md"), CompatibleClusterType: cluster.Providers(), }, IPAM: { ObjectMeta: metav1.ObjectMeta{ Name: strings.ToLower(string(IPAM)), }, Type: string(IPAM), Level: platform.LevelEnhance, LatestVersion: ipam.LatestVersion, Description: description("IPAM.md"), CompatibleClusterType: cluster.Providers(), }, LBCF: { ObjectMeta: metav1.ObjectMeta{ Name: strings.ToLower(string(LBCF)), }, Type: string(LBCF), Level: platform.LevelBasic, LatestVersion: lbcf.LatestVersion, Description: description("LBCF.md"), CompatibleClusterType: cluster.Providers(), }, }
Types defines the type of each plugin and the mapping table of the latest version number.
Functions ¶
This section is empty.
Types ¶
type AddonType ¶
type AddonType string
AddonType is a alias name of string.
const ( // Helm is type for helm addon. Helm AddonType = "Helm" // PersistentEvent is type for persistent event addon. PersistentEvent AddonType = "PersistentEvent" // LogCollector is type for log collector. LogCollector AddonType = "LogCollector" // TappController is type for TappController TappController AddonType = "TappController" // CSIOperator is type for CSIOperator CSIOperator AddonType = "CSIOperator" // VolumeDecorator is type for VolumeDecorator VolumeDecorator AddonType = "VolumeDecorator" // CronHPA is type for CronHPA CronHPA AddonType = "CronHPA" // Prometheus is type for prometheus addon. Prometheus AddonType = "Prometheus" // Galaxy-IPAM IPAM AddonType = "IPAM" // LBCF is type for LBCF LBCF AddonType = "LBCF" )
These are valid type of addon.
Click to show internal directories.
Click to hide internal directories.