alibabacloud

package
v1.4.12 Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CloudConfig

type CloudConfig struct {
	Global GlobalConfig `json:"Global"`
}

CloudConfig wraps the settings for the Alibaba Cloud provider. ref: https://github.com/kubernetes/cloud-provider-alibaba-cloud/blob/d6d0962b4be051c7dc536dc7e49ad0aff018ef3b/cloud-controller-manager/alicloud.go#L90

func (CloudConfig) JSON

func (params CloudConfig) JSON() (string, error)

JSON generates the cloud provider json config for the Alibaba Cloud platform. managed resource names are matching the convention defined by capz

type GlobalConfig

type GlobalConfig struct {
	KubernetesClusterTag string `json:"kubernetesClusterTag"`
	NodeMonitorPeriod    int64  `json:"nodeMonitorPeriod"`
	NodeAddrSyncPeriod   int64  `json:"nodeAddrSyncPeriod"`
	UID                  string `json:"uid"`
	VpcID                string `json:"vpcid"`
	Region               string `json:"region"`
	ZoneID               string `json:"zoneid"`
	VswitchID            string `json:"vswitchid"`
	ClusterID            string `json:"clusterID"`
	RouteTableIDs        string `json:"routeTableIDs"`
	ServiceBackendType   string `json:"serviceBackendType"`

	DisablePublicSLB bool `json:"disablePublicSLB"`

	AccessKeyID     string `json:"accessKeyID"`
	AccessKeySecret string `json:"accessKeySecret"`
}

GlobalConfig wraps the settings 'Global' for the Alibaba Cloud provider .

Jump to

Keyboard shortcuts

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