addons

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: 5 Imported by: 0

Documentation

Index

Constants

View Source
const AwsVPCCNITemplate = `` /* 7589-byte string literal not displayed */

https://raw.githubusercontent.com/aws/amazon-vpc-cni-k8s/release-1.15/config/master/aws-k8s-cni.yaml

View Source
const CNICalicoTemplate = `` /* 21254-byte string literal not displayed */
View Source
const CNIYunionTemplate = `` /* 2847-byte string literal not displayed */
View Source
const CSIRancherLocalPath = `` /* 3048-byte string literal not displayed */
View Source
const CSIYunionTemplate = `` /* 11546-byte string literal not displayed */
View Source
const CloudProviderAwsTemplate = `` /* 4013-byte string literal not displayed */
View Source
const (
	HelmTemplate = `` /* 1658-byte string literal not displayed */

)
View Source
const MetricsTemplate = `` /* 2571-byte string literal not displayed */
View Source
const (
	YunionCloudProviderTemplate string = `` /* 2594-byte string literal not displayed */

)
View Source
const (
	YunionIngressControllerTemplate string = `` /* 2403-byte string literal not displayed */

)
View Source
const YunionVMManifestTemplate = `` /* 425-byte string literal not displayed */

Variables

This section is empty.

Functions

func CompileTemplateFromMap

func CompileTemplateFromMap(tmplt string, configMap interface{}) (string, error)

Types

type AwsVMPluginsConfig

type AwsVMPluginsConfig struct {
	*YunionCommonPluginsConfig
	*AwsVPCCNIConfig
	*CloudProviderAwsConfig
}

func (*AwsVMPluginsConfig) GenerateYAML

func (c *AwsVMPluginsConfig) GenerateYAML() (string, error)

type AwsVPCCNIConfig

type AwsVPCCNIConfig struct {
	InitImage string
	Image     string
}

func (AwsVPCCNIConfig) GenerateYAML

func (a AwsVPCCNIConfig) GenerateYAML() (string, error)

type CNICalicoConfig

type CNICalicoConfig struct {
	ControllerImage string
	NodeImage       string
	CNIImage        string
	ClusterCIDR     string
	// EnableNativeIPAlloc will deploy with calico node agent
	EnableNativeIPAlloc bool
	NodeAgentImage      string
}

func (CNICalicoConfig) GenerateYAML

func (c CNICalicoConfig) GenerateYAML() (string, error)

type CNIYunionConfig

type CNIYunionConfig struct {
	YunionAuthConfig
	CNIImage    string
	ClusterCIDR string
}

func (CNIYunionConfig) GenerateYAML

func (c CNIYunionConfig) GenerateYAML() (string, error)

type CSIRancherLocalPathConfig

type CSIRancherLocalPathConfig struct {
	Image       string
	HelperImage string
}

func (CSIRancherLocalPathConfig) GenerateYAML

func (c CSIRancherLocalPathConfig) GenerateYAML() (string, error)

type CSIYunionConfig

type CSIYunionConfig struct {
	YunionAuthConfig
	AttacherImage    string
	ProvisionerImage string
	PluginImage      string
	RegistrarImage   string
	Base64Config     string
}

func (CSIYunionConfig) GenerateYAML

func (c CSIYunionConfig) GenerateYAML() (string, error)

type CloudProviderAwsConfig

type CloudProviderAwsConfig struct{}

func (CloudProviderAwsConfig) GenerateYAML

func (c CloudProviderAwsConfig) GenerateYAML() (string, error)

type CloudProviderYunionConfig

type CloudProviderYunionConfig struct {
	YunionAuthConfig
	CloudProviderImage string
}

func (CloudProviderYunionConfig) GenerateYAML

func (c CloudProviderYunionConfig) GenerateYAML() (string, error)

type HelmPluginConfig

type HelmPluginConfig struct {
	TillerImage string
}

func (HelmPluginConfig) GenerateYAML

func (c HelmPluginConfig) GenerateYAML() (string, error)

type IngressControllerYunionConfig

type IngressControllerYunionConfig struct {
	YunionAuthConfig
	Image string
}

func (IngressControllerYunionConfig) GenerateYAML

func (c IngressControllerYunionConfig) GenerateYAML() (string, error)

type MetricsPluginConfig

type MetricsPluginConfig struct {
	MetricsServerImage string
}

func (MetricsPluginConfig) GenerateYAML

func (c MetricsPluginConfig) GenerateYAML() (string, error)

type YunionAuthConfig

type YunionAuthConfig struct {
	AuthUrl       string `json:"auth_url"`
	AdminUser     string `json:"admin_user"`
	AdminPassword string `json:"admin_password"`
	AdminProject  string `json:"admin_project"`
	Cluster       string `json:"cluster"`
	InstanceType  string `json:"instance_type"`
	Region        string `json:"region"` // DEP
}

func (YunionAuthConfig) ToJSONBase64String

func (c YunionAuthConfig) ToJSONBase64String() string

type YunionCommonPluginsConfig

func (*YunionCommonPluginsConfig) GetAllConfig

func (config *YunionCommonPluginsConfig) GetAllConfig() (*yunionConfig, error)

type YunionHostPluginsConfig

type YunionHostPluginsConfig struct {
	*YunionCommonPluginsConfig
	*CNIYunionConfig
}

func (*YunionHostPluginsConfig) GenerateYAML

func (c *YunionHostPluginsConfig) GenerateYAML() (string, error)

type YunionVMPluginsConfig

type YunionVMPluginsConfig struct {
	*YunionCommonPluginsConfig
	*CNICalicoConfig
}

func (*YunionVMPluginsConfig) GenerateYAML

func (c *YunionVMPluginsConfig) GenerateYAML() (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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