Documentation ¶
Index ¶
- Constants
- func CompileTemplateFromMap(tmplt string, configMap interface{}) (string, error)
- type AwsVMPluginsConfig
- type AwsVPCCNIConfig
- type CNICalicoConfig
- type CNIYunionConfig
- type CSIRancherLocalPathConfig
- type CSIYunionConfig
- type CloudProviderAwsConfig
- type CloudProviderYunionConfig
- type HelmPluginConfig
- type IngressControllerYunionConfig
- type MetricsPluginConfig
- type YunionAuthConfig
- type YunionCommonPluginsConfig
- type YunionHostPluginsConfig
- type YunionVMPluginsConfig
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 ¶
Types ¶
type AwsVMPluginsConfig ¶
type AwsVMPluginsConfig struct { *YunionCommonPluginsConfig *AwsVPCCNIConfig *CloudProviderAwsConfig }
func (*AwsVMPluginsConfig) GenerateYAML ¶
func (c *AwsVMPluginsConfig) GenerateYAML() (string, error)
type AwsVPCCNIConfig ¶
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 ¶
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 ¶
type YunionCommonPluginsConfig struct { *MetricsPluginConfig // *HelmPluginConfig *CloudProviderYunionConfig *CSIYunionConfig *IngressControllerYunionConfig *CSIRancherLocalPathConfig }
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)
Source Files ¶
Click to show internal directories.
Click to hide internal directories.