Documentation ¶
Index ¶
- func GetBaseDomain() (string, error)
- func Platform() (*alibabacloud.Platform, error)
- func Validate(client *Client, ic *types.InstallConfig) error
- func ValidateForProvisioning(client *Client, ic *types.InstallConfig, metadata *Metadata) error
- type Client
- func (client *Client) DescribeAvailableInstanceType(zoneID string, instanceType string) (response *ecs.DescribeAvailableResourceResponse, err error)
- func (client *Client) DescribeAvailableResource(destinationResource string) (response *ecs.DescribeAvailableResourceResponse, err error)
- func (client *Client) DescribeAvailableZoneByInstanceType(instanceType string) (response *ecs.DescribeAvailableResourceResponse, err error)
- func (client *Client) DescribeRegions() (response *ecs.DescribeRegionsResponse, err error)
- func (client *Client) GetAvailableZonesByInstanceType(instanceType string) ([]string, error)
- func (client *Client) GetOSSObjectSignURL(bucketName string, objectName string) (signedURL string, err error)
- func (client *Client) ListDNSDomain() (response *alidns.DescribeDomainsResponse, err error)
- func (client *Client) ListEnhanhcedNatGatewayAvailableZones() (response *vpc.ListEnhanhcedNatGatewayAvailableZonesResponse, err error)
- func (client *Client) ListPrivateZoneRegions() (response *pvtz.DescribeRegionsResponse, err error)
- func (client *Client) ListPrivateZones(zoneName string, queryVpcID string) (response *pvtz.DescribeZonesResponse, err error)
- func (client *Client) ListPrivateZonesByName(zoneName string) (response *pvtz.DescribeZonesResponse, err error)
- func (client *Client) ListPrivateZonesByVPC(queryVpcID string) (response *pvtz.DescribeZonesResponse, err error)
- func (client *Client) ListResourceGroups(resourceGroupID string) (response *resourcemanager.ListResourceGroupsResponse, err error)
- func (client *Client) ListVSwitches(vswitchID string) (response *vpc.DescribeVSwitchesResponse, err error)
- func (client *Client) ListVpcs(vpcID string) (response *vpc.DescribeVpcsResponse, err error)
- type Metadata
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBaseDomain ¶
GetBaseDomain returns a base domain chosen from among the account's domains.
func Platform ¶
func Platform() (*alibabacloud.Platform, error)
Platform collects AlibabaCloud-specific configuration.
func Validate ¶
func Validate(client *Client, ic *types.InstallConfig) error
Validate executes platform-specific validation.
func ValidateForProvisioning ¶
func ValidateForProvisioning(client *Client, ic *types.InstallConfig, metadata *Metadata) error
ValidateForProvisioning validates if the install config is valid for provisioning the cluster.
Types ¶
type Client ¶
Client makes calls to the Alibaba Cloud API.
func (*Client) DescribeAvailableInstanceType ¶
func (client *Client) DescribeAvailableInstanceType(zoneID string, instanceType string) (response *ecs.DescribeAvailableResourceResponse, err error)
DescribeAvailableInstanceType query available instance type of ECS.
func (*Client) DescribeAvailableResource ¶
func (client *Client) DescribeAvailableResource(destinationResource string) (response *ecs.DescribeAvailableResourceResponse, err error)
DescribeAvailableResource query available resources.
func (*Client) DescribeAvailableZoneByInstanceType ¶
func (client *Client) DescribeAvailableZoneByInstanceType(instanceType string) (response *ecs.DescribeAvailableResourceResponse, err error)
DescribeAvailableZoneByInstanceType queries available zone by instance type of ECS.
func (*Client) DescribeRegions ¶
func (client *Client) DescribeRegions() (response *ecs.DescribeRegionsResponse, err error)
DescribeRegions gets the list of regions.
func (*Client) GetAvailableZonesByInstanceType ¶
GetAvailableZonesByInstanceType returns a list of available zones with the specified instance type is available and stock
func (*Client) GetOSSObjectSignURL ¶
func (client *Client) GetOSSObjectSignURL(bucketName string, objectName string) (signedURL string, err error)
GetOSSObjectSignURL returns a presigned URL for a OSS object
func (*Client) ListDNSDomain ¶
func (client *Client) ListDNSDomain() (response *alidns.DescribeDomainsResponse, err error)
ListDNSDomain get the list of domains.
func (*Client) ListEnhanhcedNatGatewayAvailableZones ¶
func (client *Client) ListEnhanhcedNatGatewayAvailableZones() (response *vpc.ListEnhanhcedNatGatewayAvailableZonesResponse, err error)
ListEnhanhcedNatGatewayAvailableZones query available zone for enhanhced NAT gateway.
func (*Client) ListPrivateZoneRegions ¶
func (client *Client) ListPrivateZoneRegions() (response *pvtz.DescribeRegionsResponse, err error)
ListPrivateZoneRegions gets the list of regions for privatzone.
func (*Client) ListPrivateZones ¶
func (client *Client) ListPrivateZones(zoneName string, queryVpcID string) (response *pvtz.DescribeZonesResponse, err error)
ListPrivateZones gets the list of privatzones.
func (*Client) ListPrivateZonesByName ¶
func (client *Client) ListPrivateZonesByName(zoneName string) (response *pvtz.DescribeZonesResponse, err error)
ListPrivateZonesByName gets the list of privatezones with the specified name.
func (*Client) ListPrivateZonesByVPC ¶
func (client *Client) ListPrivateZonesByVPC(queryVpcID string) (response *pvtz.DescribeZonesResponse, err error)
ListPrivateZonesByVPC gets the list of privatezones attached to the specified VPC.
func (*Client) ListResourceGroups ¶
func (client *Client) ListResourceGroups(resourceGroupID string) (response *resourcemanager.ListResourceGroupsResponse, err error)
ListResourceGroups gets the list of resource groups.
func (*Client) ListVSwitches ¶
func (client *Client) ListVSwitches(vswitchID string) (response *vpc.DescribeVSwitchesResponse, err error)
ListVSwitches gets the list of VSwitches.
type Metadata ¶
type Metadata struct { VSwitchIDs []string Region string `json:"region,omitempty"` // contains filtered or unexported fields }
Metadata holds additional metadata for InstallConfig resources that does not need to be user-supplied (e.g. because it can be retrieved from external APIs).
func NewMetadata ¶
NewMetadata initializes a new Metadata object.