selfbuild

package
v0.0.0-...-94e4715 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2024 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAddonYunionAuthConfig

func GetAddonYunionAuthConfig(cluster *models.SCluster) (addons.YunionAuthConfig, error)

func GetCommonAddonsConfig

func GetCommonAddonsConfig(cluster *models.SCluster) (*addons.YunionCommonPluginsConfig, error)

Types

type ISelfBuildDriver

type ISelfBuildDriver interface {
	GetProvider() api.ProviderType
	GetResourceType() api.ClusterResourceType
	GetK8sVersions() []string
	ChangeKubesprayVars(vars *kubespray.KubesprayVars)
	GetAddonsHelmCharts(cluster *models.SCluster, conf *api.ClusterAddonsManifestConfig) ([]*models.ClusterHelmChartInstallOption, error)
	GetAddonsManifest(cluster *models.SCluster, conf *api.ClusterAddonsManifestConfig) (string, error)
	GetKubesprayHostname(info *client.ServerSSHLoginInfo) (string, error)
}

func NewAliyunDriver

func NewAliyunDriver() ISelfBuildDriver

func NewAwsDriver

func NewAwsDriver() ISelfBuildDriver

func NewOnecloudDriver

func NewOnecloudDriver() ISelfBuildDriver

func NewOnecloudKvmDriver

func NewOnecloudKvmDriver() ISelfBuildDriver

Jump to

Keyboard shortcuts

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