Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DefaultTTL is the default cache TTL for Huawei Cloud API calls used during // setup verification and provisioning. Cache hits enable faster provisioning // and reduced API load, which can have a serious impact on performance and // scalability. DO NOT CHANGE THIS VALUE WITHOUT DUE CONSIDERATION. DefaultTTL = time.Minute // DefaultCleanupInterval triggers cache cleanup (lazy eviction) at this interval. DefaultCleanupInterval = time.Minute // AvailableIPAddressTTL is time to drop AvailableIPAddress data if it is not updated within the TTL AvailableIPAddressTTL = 5 * time.Minute // InstanceTypesZonesAndOfferingsTTL is the time before we refresh instance types, zones, and offerings InstanceTypesZonesAndOfferingsTTL = 5 * time.Minute UnavailableOfferingTTL = 5 * time.Minute // if it is not updated by a node creation event or refreshed during controller reconciliation DiscoveredCapacityCacheTTL = 60 * 24 * time.Hour BillingEndpoint = "https://bss.myhuaweicloud.com" BillingEndpointEnv = "HUAWEICLOUD_BSS_ENDPOINT" IgnoreSSLEnv = "HUAWEICLOUD_SDK_IGNORE_SSL_VERIFICATION" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Operator ¶
type Operator struct {
*operator.Operator
VersionProvider *version.DefaultProvider
SubnetProvider subnet.Provider
InstanceTypeProvider *instancetype.DefaultProvider
InstanceProvider instance.Provider
PricingProvider *pricing.DefaultProvider
}
Operator is injected into the HuaweiCloud CloudProvider's factories
Click to show internal directories.
Click to hide internal directories.