Documentation
¶
Index ¶
- Variables
- type CreateLoadBalancerResponse
- type CreateLoadBalancersArgs
- type DeleteLoadBalancersArgs
- type DeleteLoadBalancersResponse
- type DescribeInstanceExistsByProviderIDArgs
- type DescribeInstanceExistsByProviderIDResponse
- type DescribeInstancesLabelsAndNodeNameArgs
- type DescribeInstancesLabelsAndNodeNameResponse
- type DescribeLoadBalancersArgs
- type DescribeLoadBalancersResponse
- type DescribeLoadBalancersTaskResultArgs
- type DescribeLoadBalancersTaskResultResponse
- type DescribeZoneByProviderIDArgs
- type DescribeZoneByProviderIDResponse
- type PortMapping
- type Response
- type UpdateLoadBalancerResponse
- type UpdateLoadBalancersArgs
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCloudLoadBalancerNotFound = errors.New("LoadBalancer not found")
)
Functions ¶
This section is empty.
Types ¶
type CreateLoadBalancerResponse ¶
func CreateLoadBalancers ¶
func CreateLoadBalancers(args *CreateLoadBalancersArgs) (*CreateLoadBalancerResponse, error)
type CreateLoadBalancersArgs ¶
type CreateLoadBalancersArgs struct {
ClusterID string `json:"cluster_id"`
NodeID []string `json:"node_id"`
Annotations []string `json:"annotations"`
PortMap []PortMapping `json:"port_map"`
ServiceName string `json:"service_name"`
ServiceNameSpace string `json:"service_name_space"`
ServiceUid string `json:"service_uid"`
}
type DeleteLoadBalancersArgs ¶
type DeleteLoadBalancersResponse ¶
func DeleteLoadBalancers ¶
func DeleteLoadBalancers(args *DeleteLoadBalancersArgs) (*DeleteLoadBalancersResponse, error)
type DescribeInstanceExistsByProviderIDArgs ¶
type DescribeInstanceExistsByProviderIDArgs struct {
ProviderID string `json:"provider_id"`
}
type DescribeInstanceExistsByProviderIDResponse ¶
type DescribeInstanceExistsByProviderIDResponse struct {
Response
Data struct {
Status string `json:"status"`
} `json:"Data"`
}
func DescribeInstanceExistsByProviderID ¶
func DescribeInstanceExistsByProviderID(args *DescribeInstanceExistsByProviderIDArgs) (*DescribeInstanceExistsByProviderIDResponse, error)
type DescribeInstancesLabelsAndNodeNameResponse ¶
type DescribeInstancesLabelsAndNodeNameResponse struct {
Response
Data struct {
Labels []map[string]string `json:"labels"`
NodeName string `json:"node_name"`
Taints []map[string]string `json:"taints"`
} `json:"Data"`
}
func DescribeInstancesLabelsAndNodeName ¶
func DescribeInstancesLabelsAndNodeName(args *DescribeInstancesLabelsAndNodeNameArgs) (*DescribeInstancesLabelsAndNodeNameResponse, error)
type DescribeLoadBalancersResponse ¶
type DescribeLoadBalancersResponse struct {
Response
Data struct {
Status string `json:"status"`
Name string `json:"name"`
Vips []string `json:"vips"`
} `json:"Data"`
}
func DescribeLoadBalancers ¶
func DescribeLoadBalancers(args *DescribeLoadBalancersArgs) (*DescribeLoadBalancersResponse, error)
type DescribeLoadBalancersTaskResultArgs ¶
type DescribeLoadBalancersTaskResultArgs struct {
TaskID string `json:"task_id"`
}
type DescribeLoadBalancersTaskResultResponse ¶
type DescribeLoadBalancersTaskResultResponse struct {
Response
Data struct {
Status string `json:"status"`
} `json:"Data"`
}
func DescribeLoadBalancersTaskResult ¶
func DescribeLoadBalancersTaskResult(args *DescribeLoadBalancersTaskResultArgs) (*DescribeLoadBalancersTaskResultResponse, error)
type DescribeZoneByProviderIDResponse ¶
type DescribeZoneByProviderIDResponse struct {
Response
Data struct {
Region string `json:"region"`
} `json:"data"`
}
func DescribeZoneByProviderID ¶
func DescribeZoneByProviderID(args *DescribeZoneByProviderIDArgs) (*DescribeZoneByProviderIDResponse, error)
type PortMapping ¶
type UpdateLoadBalancerResponse ¶
func UpdateLoadBalancers ¶
func UpdateLoadBalancers(args *UpdateLoadBalancersArgs) (*UpdateLoadBalancerResponse, error)
type UpdateLoadBalancersArgs ¶
type UpdateLoadBalancersArgs struct {
ClusterID string `json:"cluster_id"`
NodeID []string `json:"node_id"`
Annotations []string `json:"annotations"`
PortMap []PortMapping `json:"port_map"`
ServiceName string `json:"service_name"`
ServiceNameSpace string `json:"service_name_space"`
ServiceUid string `json:"service_uid"`
}
Click to show internal directories.
Click to hide internal directories.