v3

package
v0.0.53 Latest Latest
Warning

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

Go to latest
Published: Jul 26, 2021 License: Apache-2.0, BSD-2-Clause, BSD-3-Clause Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ElbClientBuilder

func ElbClientBuilder() *http_client.HcHttpClientBuilder

func GenReqDefForCountPreoccupyIpNum

func GenReqDefForCountPreoccupyIpNum() *def.HttpRequestDef

func GenReqDefForCreateCertificate

func GenReqDefForCreateCertificate() *def.HttpRequestDef

func GenReqDefForCreateHealthMonitor

func GenReqDefForCreateHealthMonitor() *def.HttpRequestDef

func GenReqDefForCreateIpGroup

func GenReqDefForCreateIpGroup() *def.HttpRequestDef

func GenReqDefForCreateL7Policy

func GenReqDefForCreateL7Policy() *def.HttpRequestDef

func GenReqDefForCreateL7Rule

func GenReqDefForCreateL7Rule() *def.HttpRequestDef

func GenReqDefForCreateListener

func GenReqDefForCreateListener() *def.HttpRequestDef

func GenReqDefForCreateLoadBalancer

func GenReqDefForCreateLoadBalancer() *def.HttpRequestDef

func GenReqDefForCreateMember

func GenReqDefForCreateMember() *def.HttpRequestDef

func GenReqDefForCreatePool

func GenReqDefForCreatePool() *def.HttpRequestDef

func GenReqDefForDeleteCertificate

func GenReqDefForDeleteCertificate() *def.HttpRequestDef

func GenReqDefForDeleteHealthMonitor

func GenReqDefForDeleteHealthMonitor() *def.HttpRequestDef

func GenReqDefForDeleteIpGroup

func GenReqDefForDeleteIpGroup() *def.HttpRequestDef

func GenReqDefForDeleteL7Policy

func GenReqDefForDeleteL7Policy() *def.HttpRequestDef

func GenReqDefForDeleteL7Rule

func GenReqDefForDeleteL7Rule() *def.HttpRequestDef

func GenReqDefForDeleteListener

func GenReqDefForDeleteListener() *def.HttpRequestDef

func GenReqDefForDeleteLoadBalancer

func GenReqDefForDeleteLoadBalancer() *def.HttpRequestDef

func GenReqDefForDeleteMember

func GenReqDefForDeleteMember() *def.HttpRequestDef

func GenReqDefForDeletePool

func GenReqDefForDeletePool() *def.HttpRequestDef

func GenReqDefForListAllMembers

func GenReqDefForListAllMembers() *def.HttpRequestDef

func GenReqDefForListAvailabilityZones

func GenReqDefForListAvailabilityZones() *def.HttpRequestDef

func GenReqDefForListCertificates

func GenReqDefForListCertificates() *def.HttpRequestDef

func GenReqDefForListFlavors

func GenReqDefForListFlavors() *def.HttpRequestDef

func GenReqDefForListHealthMonitors

func GenReqDefForListHealthMonitors() *def.HttpRequestDef

func GenReqDefForListIpGroups

func GenReqDefForListIpGroups() *def.HttpRequestDef

func GenReqDefForListL7Policies

func GenReqDefForListL7Policies() *def.HttpRequestDef

func GenReqDefForListL7Rules

func GenReqDefForListL7Rules() *def.HttpRequestDef

func GenReqDefForListListeners

func GenReqDefForListListeners() *def.HttpRequestDef

func GenReqDefForListLoadBalancers

func GenReqDefForListLoadBalancers() *def.HttpRequestDef

func GenReqDefForListMembers

func GenReqDefForListMembers() *def.HttpRequestDef

func GenReqDefForListPools

func GenReqDefForListPools() *def.HttpRequestDef

func GenReqDefForShowCertificate

func GenReqDefForShowCertificate() *def.HttpRequestDef

func GenReqDefForShowFlavor

func GenReqDefForShowFlavor() *def.HttpRequestDef

func GenReqDefForShowHealthMonitor

func GenReqDefForShowHealthMonitor() *def.HttpRequestDef

func GenReqDefForShowIpGroup

func GenReqDefForShowIpGroup() *def.HttpRequestDef

func GenReqDefForShowL7Policy

func GenReqDefForShowL7Policy() *def.HttpRequestDef

func GenReqDefForShowL7Rule

func GenReqDefForShowL7Rule() *def.HttpRequestDef

func GenReqDefForShowListener

func GenReqDefForShowListener() *def.HttpRequestDef

func GenReqDefForShowLoadBalancer

func GenReqDefForShowLoadBalancer() *def.HttpRequestDef

func GenReqDefForShowLoadBalancerStatus

func GenReqDefForShowLoadBalancerStatus() *def.HttpRequestDef

func GenReqDefForShowMember

func GenReqDefForShowMember() *def.HttpRequestDef

func GenReqDefForShowPool

func GenReqDefForShowPool() *def.HttpRequestDef

func GenReqDefForShowQuota

func GenReqDefForShowQuota() *def.HttpRequestDef

func GenReqDefForShowQuotaDefaults

func GenReqDefForShowQuotaDefaults() *def.HttpRequestDef

func GenReqDefForUpdateCertificate

func GenReqDefForUpdateCertificate() *def.HttpRequestDef

func GenReqDefForUpdateHealthMonitor

func GenReqDefForUpdateHealthMonitor() *def.HttpRequestDef

func GenReqDefForUpdateIpGroup

func GenReqDefForUpdateIpGroup() *def.HttpRequestDef

func GenReqDefForUpdateL7Policy

func GenReqDefForUpdateL7Policy() *def.HttpRequestDef

func GenReqDefForUpdateL7Rule

func GenReqDefForUpdateL7Rule() *def.HttpRequestDef

func GenReqDefForUpdateListener

func GenReqDefForUpdateListener() *def.HttpRequestDef

func GenReqDefForUpdateLoadBalancer

func GenReqDefForUpdateLoadBalancer() *def.HttpRequestDef

func GenReqDefForUpdateMember

func GenReqDefForUpdateMember() *def.HttpRequestDef

func GenReqDefForUpdatePool

func GenReqDefForUpdatePool() *def.HttpRequestDef

Types

type ElbClient

type ElbClient struct {
	HcClient *http_client.HcHttpClient
}

func NewElbClient

func NewElbClient(hcClient *http_client.HcHttpClient) *ElbClient

func (*ElbClient) CountPreoccupyIpNum

计算创建一个负载均衡实例和第一个七层监听器需预占用的IP数

func (*ElbClient) CreateCertificate

func (c *ElbClient) CreateCertificate(request *model.CreateCertificateRequest) (*model.CreateCertificateResponse, error)

创建证书。

func (*ElbClient) CreateHealthMonitor

创建健康检查。

func (*ElbClient) CreateIpGroup

func (c *ElbClient) CreateIpGroup(request *model.CreateIpGroupRequest) (*model.CreateIpGroupResponse, error)

创建ip地址组

func (*ElbClient) CreateL7Policy

func (c *ElbClient) CreateL7Policy(request *model.CreateL7PolicyRequest) (*model.CreateL7PolicyResponse, error)

创建转发策略.

func (*ElbClient) CreateL7Rule

func (c *ElbClient) CreateL7Rule(request *model.CreateL7RuleRequest) (*model.CreateL7RuleResponse, error)

创建转发规则。

func (*ElbClient) CreateListener

func (c *ElbClient) CreateListener(request *model.CreateListenerRequest) (*model.CreateListenerResponse, error)

ElbV3 创建监听器。

func (*ElbClient) CreateLoadBalancer

func (c *ElbClient) CreateLoadBalancer(request *model.CreateLoadBalancerRequest) (*model.CreateLoadBalancerResponse, error)

创建负载均衡器。 1.创建公网负载均衡器的场合,需要传入vpc_id。 2.创建内网负载均衡器的场合,需要传入vip_subnet_cidr_id。 3.创建内网双栈负载均衡器的场合,需要传入ipv6_vip_virsubnet_id。 关联有已有公网ip地址,需要传入publicip_ids 新建公网ip地址,需要传入publicip 包括IPV4私网类型,IPV4公网类型,IPV6私网,IPV6公网

func (*ElbClient) CreateMember

func (c *ElbClient) CreateMember(request *model.CreateMemberRequest) (*model.CreateMemberResponse, error)

创建后端服务器。

func (*ElbClient) CreatePool

func (c *ElbClient) CreatePool(request *model.CreatePoolRequest) (*model.CreatePoolResponse, error)

创建后端服务器组。

func (*ElbClient) DeleteCertificate

func (c *ElbClient) DeleteCertificate(request *model.DeleteCertificateRequest) (*model.DeleteCertificateResponse, error)

删除SSL证书。

func (*ElbClient) DeleteHealthMonitor

删除健康检查。

func (*ElbClient) DeleteIpGroup

func (c *ElbClient) DeleteIpGroup(request *model.DeleteIpGroupRequest) (*model.DeleteIpGroupResponse, error)

删除ip地址组。

func (*ElbClient) DeleteL7Policy

func (c *ElbClient) DeleteL7Policy(request *model.DeleteL7PolicyRequest) (*model.DeleteL7PolicyResponse, error)

删除转发策略。

func (*ElbClient) DeleteL7Rule

func (c *ElbClient) DeleteL7Rule(request *model.DeleteL7RuleRequest) (*model.DeleteL7RuleResponse, error)

删除转发规则。

func (*ElbClient) DeleteListener

func (c *ElbClient) DeleteListener(request *model.DeleteListenerRequest) (*model.DeleteListenerResponse, error)

删除监听器。

func (*ElbClient) DeleteLoadBalancer

func (c *ElbClient) DeleteLoadBalancer(request *model.DeleteLoadBalancerRequest) (*model.DeleteLoadBalancerResponse, error)

删除负载均衡器。

func (*ElbClient) DeleteMember

func (c *ElbClient) DeleteMember(request *model.DeleteMemberRequest) (*model.DeleteMemberResponse, error)

删除后端服务器。

func (*ElbClient) DeletePool

func (c *ElbClient) DeletePool(request *model.DeletePoolRequest) (*model.DeletePoolResponse, error)

删除后端服务器组。

func (*ElbClient) ListAllMembers

func (c *ElbClient) ListAllMembers(request *model.ListAllMembersRequest) (*model.ListAllMembersResponse, error)

查询当前租户下的后端服务器列表。

func (*ElbClient) ListAvailabilityZones

返回租户创建LB时可使用的可用区列表情况。 返回的数据类型是可用区集合的列表,比如列表 [ [az1,az2], [az2, az3] ] ,有两个可用区集合。在创建负载均衡器时,可以选择创建在多个可用区,但所选的多个可用区必须同属于其中一个可用区集合,如可以选择 az2和az3,但不能选择 az1和az3。

func (*ElbClient) ListCertificates

func (c *ElbClient) ListCertificates(request *model.ListCertificatesRequest) (*model.ListCertificatesResponse, error)

查询SSL证书列表。

func (*ElbClient) ListFlavors

func (c *ElbClient) ListFlavors(request *model.ListFlavorsRequest) (*model.ListFlavorsResponse, error)

查询所有的规格。

func (*ElbClient) ListHealthMonitors

func (c *ElbClient) ListHealthMonitors(request *model.ListHealthMonitorsRequest) (*model.ListHealthMonitorsResponse, error)

健康检查列表。

func (*ElbClient) ListIpGroups

func (c *ElbClient) ListIpGroups(request *model.ListIpGroupsRequest) (*model.ListIpGroupsResponse, error)

查询IP地址组列表

func (*ElbClient) ListL7Policies

func (c *ElbClient) ListL7Policies(request *model.ListL7PoliciesRequest) (*model.ListL7PoliciesResponse, error)

查询转发策略列表。

func (*ElbClient) ListL7Rules

func (c *ElbClient) ListL7Rules(request *model.ListL7RulesRequest) (*model.ListL7RulesResponse, error)

查询转发规则列表。

func (*ElbClient) ListListeners

func (c *ElbClient) ListListeners(request *model.ListListenersRequest) (*model.ListListenersResponse, error)

查询监听器列表。

func (*ElbClient) ListLoadBalancers

func (c *ElbClient) ListLoadBalancers(request *model.ListLoadBalancersRequest) (*model.ListLoadBalancersResponse, error)

查询负载均衡器列表,支持过滤查询和分页查询

func (*ElbClient) ListMembers

func (c *ElbClient) ListMembers(request *model.ListMembersRequest) (*model.ListMembersResponse, error)

Pool下的后端服务器列表。

func (*ElbClient) ListPools

func (c *ElbClient) ListPools(request *model.ListPoolsRequest) (*model.ListPoolsResponse, error)

后端服务器组列表。

func (*ElbClient) ShowCertificate

func (c *ElbClient) ShowCertificate(request *model.ShowCertificateRequest) (*model.ShowCertificateResponse, error)

查询SSL证书详情。

func (*ElbClient) ShowFlavor

func (c *ElbClient) ShowFlavor(request *model.ShowFlavorRequest) (*model.ShowFlavorResponse, error)

查询规格的详情。

func (*ElbClient) ShowHealthMonitor

func (c *ElbClient) ShowHealthMonitor(request *model.ShowHealthMonitorRequest) (*model.ShowHealthMonitorResponse, error)

查询健康检查详情。

func (*ElbClient) ShowIpGroup

func (c *ElbClient) ShowIpGroup(request *model.ShowIpGroupRequest) (*model.ShowIpGroupResponse, error)

获取ip地址组详情

func (*ElbClient) ShowL7Policy

func (c *ElbClient) ShowL7Policy(request *model.ShowL7PolicyRequest) (*model.ShowL7PolicyResponse, error)

查询转发策略详情。

func (*ElbClient) ShowL7Rule

func (c *ElbClient) ShowL7Rule(request *model.ShowL7RuleRequest) (*model.ShowL7RuleResponse, error)

查询转发规则详情

func (*ElbClient) ShowListener

func (c *ElbClient) ShowListener(request *model.ShowListenerRequest) (*model.ShowListenerResponse, error)

监听器详情。

func (*ElbClient) ShowLoadBalancer

func (c *ElbClient) ShowLoadBalancer(request *model.ShowLoadBalancerRequest) (*model.ShowLoadBalancerResponse, error)

查询负载均衡器详情

func (*ElbClient) ShowLoadBalancerStatus

查询负载均衡器状态树,列出负载均衡器关联的子资源的信息

func (*ElbClient) ShowMember

func (c *ElbClient) ShowMember(request *model.ShowMemberRequest) (*model.ShowMemberResponse, error)

后端服务器详情

func (*ElbClient) ShowPool

func (c *ElbClient) ShowPool(request *model.ShowPoolRequest) (*model.ShowPoolResponse, error)

后端服务器组详情。

func (*ElbClient) ShowQuota

func (c *ElbClient) ShowQuota(request *model.ShowQuotaRequest) (*model.ShowQuotaResponse, error)

【不开放】查询特定项目的配额数。

func (*ElbClient) ShowQuotaDefaults

func (c *ElbClient) ShowQuotaDefaults(request *model.ShowQuotaDefaultsRequest) (*model.ShowQuotaDefaultsResponse, error)

【不开放】查询默认配额数。

func (*ElbClient) UpdateCertificate

func (c *ElbClient) UpdateCertificate(request *model.UpdateCertificateRequest) (*model.UpdateCertificateResponse, error)

更新SSL证书。

func (*ElbClient) UpdateHealthMonitor

更新健康检查。

func (*ElbClient) UpdateIpGroup

func (c *ElbClient) UpdateIpGroup(request *model.UpdateIpGroupRequest) (*model.UpdateIpGroupResponse, error)

更新ip地址组,只支持全量更新ip。

func (*ElbClient) UpdateL7Policy

func (c *ElbClient) UpdateL7Policy(request *model.UpdateL7PolicyRequest) (*model.UpdateL7PolicyResponse, error)

更新转发策略。

func (*ElbClient) UpdateL7Rule

func (c *ElbClient) UpdateL7Rule(request *model.UpdateL7RuleRequest) (*model.UpdateL7RuleResponse, error)

更新转发规则。

func (*ElbClient) UpdateListener

func (c *ElbClient) UpdateListener(request *model.UpdateListenerRequest) (*model.UpdateListenerResponse, error)

更新监听器。

func (*ElbClient) UpdateLoadBalancer

func (c *ElbClient) UpdateLoadBalancer(request *model.UpdateLoadBalancerRequest) (*model.UpdateLoadBalancerResponse, error)

更新负载均衡器。

func (*ElbClient) UpdateMember

func (c *ElbClient) UpdateMember(request *model.UpdateMemberRequest) (*model.UpdateMemberResponse, error)

如果member绑定的负载均衡器的provisioning status不是ACTIVE,则不能更新该member。

func (*ElbClient) UpdatePool

func (c *ElbClient) UpdatePool(request *model.UpdatePoolRequest) (*model.UpdatePoolResponse, error)

更新后端服务器组。

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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