Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Types = map[AddonType]platform.ClusterAddonType{ 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(), }, 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(), }, 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(), }, }
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 ( // PersistentEvent is type for persistent event addon. PersistentEvent AddonType = "PersistentEvent" // TappController is type for TappController TappController AddonType = "TappController" // CSIOperator is type for CSIOperator CSIOperator AddonType = "CSIOperator" // CronHPA is type for CronHPA CronHPA AddonType = "CronHPA" )
These are valid type of addon.
Click to show internal directories.
Click to hide internal directories.