Skip to content

Commit aaa6374

Browse files
authored
Add hwcloud provider and elb plugin (openkruise#201)
* add hwcloud ELB Network Plugin * add hwcloud cloud provider register * fix register error * fix error * add log * fix hwcloud provider regster error * fix health check error * only suuport use exist elb * add docs * add hwcloud elb config * fix docs
1 parent 2ea11c1 commit aaa6374

File tree

8 files changed

+1178
-0
lines changed

8 files changed

+1178
-0
lines changed

cloudprovider/config.go

+3
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ type CloudProviderConfig struct {
4949
AmazonsWebServicesOptions CloudProviderOptions
5050
TencentCloudOptions CloudProviderOptions
5151
JdCloudOptions CloudProviderOptions
52+
HwCloudOptions CloudProviderOptions
5253
}
5354

5455
type tomlConfigs struct {
@@ -58,6 +59,7 @@ type tomlConfigs struct {
5859
AmazonsWebServices options.AmazonsWebServicesOptions `toml:"aws"`
5960
TencentCloud options.TencentCloudOptions `toml:"tencentcloud"`
6061
JdCloud options.JdCloudOptions `toml:"jdcloud"`
62+
HwCloud options.HwCloudOptions `toml:"hwcloud"`
6163
}
6264

6365
func (cf *ConfigFile) Parse() *CloudProviderConfig {
@@ -73,6 +75,7 @@ func (cf *ConfigFile) Parse() *CloudProviderConfig {
7375
AmazonsWebServicesOptions: config.AmazonsWebServices,
7476
TencentCloudOptions: config.TencentCloud,
7577
JdCloudOptions: config.JdCloud,
78+
HwCloudOptions: config.HwCloud,
7679
}
7780
}
7881

0 commit comments

Comments
 (0)