huawei

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CCEAPI

type CCEAPI interface {
	ShowCluster(request *cce.ShowClusterRequest) (*cce.ShowClusterResponse, error)
	CreateNode(request *cce.CreateNodeRequest) (*cce.CreateNodeResponse, error)
	DeleteNode(request *cce.DeleteNodeRequest) (*cce.DeleteNodeResponse, error)
	ListNodes(request *cce.ListNodesRequest) (*cce.ListNodesResponse, error)
	ShowNode(request *cce.ShowNodeRequest) (*cce.ShowNodeResponse, error)
	ShowJob(request *cce.ShowJobRequest) (*cce.ShowJobResponse, error)
}

CCEAPI abstracts the subset of Huawei Cloud CCE APIs used by this project.

func NewCCEService

func NewCCEService(region *coreRegion.Region, credential *basic.Credentials, httpConfig *config.HttpConfig) CCEAPI

NewCCEService returns a CCEAPI that defers building the Huawei CCE client until the first request. This avoids calling Huawei IAM APIs (e.g. auto ProjectId discovery) during controller startup.

type ECSAPI

type ECSAPI interface {
	ListServersDetails(request *ecs.ListServersDetailsRequest) (*ecs.ListServersDetailsResponse, error)
	ListFlavors(request *ecs.ListFlavorsRequest) (*ecs.ListFlavorsResponse, error)
	ListServerAzInfo(request *ecs.ListServerAzInfoRequest) (*ecs.ListServerAzInfoResponse, error)
}

ECSAPI abstracts the subset of Huawei Cloud ECS-related APIs used by this project.

func NewECSService

func NewECSService(region *coreRegion.Region, credential *basic.Credentials, httpConfig *config.HttpConfig) ECSAPI

NewECSService returns a ECSAPI that defers building the Huawei ECS client until the first request. This avoids calling Huawei IAM APIs (e.g. auto ProjectId discovery) during controller startup.

type IMSAPI

type IMSAPI interface {
	ListImages(request *ims.ListImagesRequest) (*ims.ListImagesResponse, error)
}

IMSAPI abstracts the subset of Huawei Cloud IMS-related APIs used by this project.

type InstanceType

type InstanceType string

type PricingAPI

type PricingAPI interface {
	ListOnDemandResourceRatings(request *bss.ListOnDemandResourceRatingsRequest) (*bss.ListOnDemandResourceRatingsResponse, error)
}

PricingAPI abstracts the subset of Huawei Cloud BSS pricing APIs used by this project.

func NewBSSService

func NewBSSService(region *coreRegion.Region, credential *global.Credentials, httpConfig *config.HttpConfig) PricingAPI

NewBSSService returns a PricingAPI that defers building the Huawei BSS client until the first request.

type VPCAPI

type VPCAPI interface {
	ListSubnets(request *vpc.ListSubnetsRequest) (*vpc.ListSubnetsResponse, error)
	ListSecurityGroups(request *vpc.ListSecurityGroupsRequest) (*vpc.ListSecurityGroupsResponse, error)
}

VPCAPI abstracts the subset of Huawei Cloud VPC-related APIs used by this project.

func NewVPCService

func NewVPCService(region *coreRegion.Region, credential *basic.Credentials, httpConfig *config.HttpConfig) VPCAPI

NewVPCService returns a VPCAPI that defers building the Huawei VPC client until the first request. This avoids calling Huawei IAM APIs (e.g. auto ProjectId discovery) during controller startup.

Jump to

Keyboard shortcuts

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