clusteraddontype

package
v1.9.0-industry.4 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2023 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause, + 8 more Imports: 11 Imported by: 2

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.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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