Documentation ¶
Index ¶
- type SLBProvider
- func (p SLBProvider) AddVServerGroupBackendServers(ctx context.Context, vGroupId string, backends string) error
- func (p SLBProvider) CreateAccessControlList(ctx context.Context, aclName string) (string, error)
- func (p SLBProvider) CreateLoadBalancer(ctx context.Context, mdl *model.LoadBalancer, clientToken string) error
- func (p SLBProvider) CreateLoadBalancerHTTPListener(ctx context.Context, lbId string, listener model.ListenerAttribute) error
- func (p SLBProvider) CreateLoadBalancerHTTPSListener(ctx context.Context, lbId string, listener model.ListenerAttribute) error
- func (p SLBProvider) CreateLoadBalancerTCPListener(ctx context.Context, lbId string, listener model.ListenerAttribute) error
- func (p SLBProvider) CreateLoadBalancerUDPListener(ctx context.Context, lbId string, listener model.ListenerAttribute) error
- func (p SLBProvider) CreateVServerGroup(ctx context.Context, vg *model.VServerGroup, lbId string) error
- func (p SLBProvider) DeleteAccessControlList(ctx context.Context, aclId string) error
- func (p SLBProvider) DeleteLoadBalancer(ctx context.Context, mdl *model.LoadBalancer) error
- func (p SLBProvider) DeleteLoadBalancerListener(ctx context.Context, lbId string, port int, proto string) error
- func (p SLBProvider) DeleteVServerGroup(ctx context.Context, vGroupId string) error
- func (p SLBProvider) DescribeAccessControlList(ctx context.Context, aclName string) (string, error)
- func (p SLBProvider) DescribeAvailableResource(ctx context.Context, addressType, AddressIPVersion string) ([]slb.AvailableResource, error)
- func (p SLBProvider) DescribeCACertificates(ctx context.Context) ([]string, error)
- func (p SLBProvider) DescribeLoadBalancer(ctx context.Context, mdl *model.LoadBalancer) error
- func (p SLBProvider) DescribeLoadBalancerListeners(ctx context.Context, lbId string) ([]model.ListenerAttribute, error)
- func (p SLBProvider) DescribeServerCertificateById(ctx context.Context, serverCertificateId string) (*model.CertAttribute, error)
- func (p SLBProvider) DescribeServerCertificates(ctx context.Context) ([]string, error)
- func (p SLBProvider) DescribeVServerGroupAttribute(ctx context.Context, vGroupId string) (model.VServerGroup, error)
- func (p SLBProvider) DescribeVServerGroups(ctx context.Context, lbId string) ([]model.VServerGroup, error)
- func (p SLBProvider) FindLoadBalancer(ctx context.Context, mdl *model.LoadBalancer) error
- func (p SLBProvider) FindLoadBalancerByName(mdl *model.LoadBalancer) error
- func (p SLBProvider) ListCLBTagResources(ctx context.Context, lbId string) ([]tag.Tag, error)
- func (p SLBProvider) ModifyLoadBalancerInstanceChargeType(ctx context.Context, lbId string, instanceChargeType string, spec string) error
- func (p SLBProvider) ModifyLoadBalancerInstanceSpec(ctx context.Context, lbId string, spec string) error
- func (p SLBProvider) ModifyLoadBalancerInternetSpec(ctx context.Context, lbId string, chargeType string, bandwidth int) error
- func (p SLBProvider) ModifyVServerGroupBackendServers(ctx context.Context, vGroupId string, old string, new string) error
- func (p SLBProvider) RemoveVServerGroupBackendServers(ctx context.Context, vGroupId string, backends string) error
- func (p SLBProvider) SetLoadBalancerDeleteProtection(ctx context.Context, lbId string, flag string) error
- func (p SLBProvider) SetLoadBalancerHTTPListenerAttribute(ctx context.Context, lbId string, listener model.ListenerAttribute) error
- func (p SLBProvider) SetLoadBalancerHTTPSListenerAttribute(ctx context.Context, lbId string, listener model.ListenerAttribute) error
- func (p SLBProvider) SetLoadBalancerModificationProtection(ctx context.Context, lbId string, flag string) error
- func (p SLBProvider) SetLoadBalancerName(ctx context.Context, lbId string, name string) error
- func (p SLBProvider) SetLoadBalancerTCPListenerAttribute(ctx context.Context, lbId string, listener model.ListenerAttribute) error
- func (p SLBProvider) SetLoadBalancerUDPListenerAttribute(ctx context.Context, lbId string, listener model.ListenerAttribute) error
- func (p SLBProvider) SetVServerGroupAttribute(ctx context.Context, vGroupId string, backends string) error
- func (p SLBProvider) StartLoadBalancerListener(ctx context.Context, lbId string, port int, proto string) error
- func (p SLBProvider) StopLoadBalancerListener(ctx context.Context, lbId string, port int, proto string) error
- func (p SLBProvider) TagCLBResource(ctx context.Context, resourceId string, tags []tag.Tag) error
- func (p SLBProvider) UntagResources(ctx context.Context, lbId string, tagKey *[]string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SLBProvider ¶
type SLBProvider struct {
// contains filtered or unexported fields
}
func NewLBProvider ¶
func NewLBProvider( auth *base.ClientMgr, ) *SLBProvider
func (SLBProvider) AddVServerGroupBackendServers ¶
func (SLBProvider) CreateAccessControlList ¶
CreateAccessControlList used for e2etest
func (SLBProvider) CreateLoadBalancer ¶
func (p SLBProvider) CreateLoadBalancer(ctx context.Context, mdl *model.LoadBalancer, clientToken string) error
func (SLBProvider) CreateLoadBalancerHTTPListener ¶
func (p SLBProvider) CreateLoadBalancerHTTPListener( ctx context.Context, lbId string, listener model.ListenerAttribute) error
func (SLBProvider) CreateLoadBalancerHTTPSListener ¶
func (p SLBProvider) CreateLoadBalancerHTTPSListener( ctx context.Context, lbId string, listener model.ListenerAttribute) error
func (SLBProvider) CreateLoadBalancerTCPListener ¶
func (p SLBProvider) CreateLoadBalancerTCPListener( ctx context.Context, lbId string, listener model.ListenerAttribute) error
func (SLBProvider) CreateLoadBalancerUDPListener ¶
func (p SLBProvider) CreateLoadBalancerUDPListener( ctx context.Context, lbId string, listener model.ListenerAttribute) error
func (SLBProvider) CreateVServerGroup ¶
func (p SLBProvider) CreateVServerGroup(ctx context.Context, vg *model.VServerGroup, lbId string) error
func (SLBProvider) DeleteAccessControlList ¶
func (p SLBProvider) DeleteAccessControlList(ctx context.Context, aclId string) error
DeleteAccessControlList used for e2etest
func (SLBProvider) DeleteLoadBalancer ¶
func (p SLBProvider) DeleteLoadBalancer(ctx context.Context, mdl *model.LoadBalancer) error
func (SLBProvider) DeleteLoadBalancerListener ¶
func (SLBProvider) DeleteVServerGroup ¶
func (p SLBProvider) DeleteVServerGroup(ctx context.Context, vGroupId string) error
func (SLBProvider) DescribeAccessControlList ¶
DescribeAccessControlList used for e2etest
func (SLBProvider) DescribeAvailableResource ¶
func (p SLBProvider) DescribeAvailableResource(ctx context.Context, addressType, AddressIPVersion string) ([]slb.AvailableResource, error)
DescribeAvailableResource used for e2etest
func (SLBProvider) DescribeCACertificates ¶
func (p SLBProvider) DescribeCACertificates(ctx context.Context) ([]string, error)
DescribeCACertificates used for e2etest
func (SLBProvider) DescribeLoadBalancer ¶
func (p SLBProvider) DescribeLoadBalancer(ctx context.Context, mdl *model.LoadBalancer) error
func (SLBProvider) DescribeLoadBalancerListeners ¶
func (p SLBProvider) DescribeLoadBalancerListeners(ctx context.Context, lbId string) ([]model.ListenerAttribute, error)
func (SLBProvider) DescribeServerCertificateById ¶
func (p SLBProvider) DescribeServerCertificateById(ctx context.Context, serverCertificateId string) (*model.CertAttribute, error)
func (SLBProvider) DescribeServerCertificates ¶
func (p SLBProvider) DescribeServerCertificates(ctx context.Context) ([]string, error)
DescribeServerCertificates used for e2etest
func (SLBProvider) DescribeVServerGroupAttribute ¶
func (p SLBProvider) DescribeVServerGroupAttribute(ctx context.Context, vGroupId string) (model.VServerGroup, error)
func (SLBProvider) DescribeVServerGroups ¶
func (p SLBProvider) DescribeVServerGroups(ctx context.Context, lbId string) ([]model.VServerGroup, error)
func (SLBProvider) FindLoadBalancer ¶
func (p SLBProvider) FindLoadBalancer(ctx context.Context, mdl *model.LoadBalancer) error
func (SLBProvider) FindLoadBalancerByName ¶
func (p SLBProvider) FindLoadBalancerByName(mdl *model.LoadBalancer) error
func (SLBProvider) ListCLBTagResources ¶
func (SLBProvider) ModifyLoadBalancerInstanceChargeType ¶
func (SLBProvider) ModifyLoadBalancerInstanceSpec ¶
func (SLBProvider) ModifyLoadBalancerInternetSpec ¶
func (SLBProvider) ModifyVServerGroupBackendServers ¶
func (SLBProvider) RemoveVServerGroupBackendServers ¶
func (SLBProvider) SetLoadBalancerDeleteProtection ¶
func (SLBProvider) SetLoadBalancerHTTPListenerAttribute ¶
func (p SLBProvider) SetLoadBalancerHTTPListenerAttribute( ctx context.Context, lbId string, listener model.ListenerAttribute) error
func (SLBProvider) SetLoadBalancerHTTPSListenerAttribute ¶
func (p SLBProvider) SetLoadBalancerHTTPSListenerAttribute( ctx context.Context, lbId string, listener model.ListenerAttribute) error
func (SLBProvider) SetLoadBalancerModificationProtection ¶
func (SLBProvider) SetLoadBalancerName ¶
func (SLBProvider) SetLoadBalancerTCPListenerAttribute ¶
func (p SLBProvider) SetLoadBalancerTCPListenerAttribute( ctx context.Context, lbId string, listener model.ListenerAttribute) error
func (SLBProvider) SetLoadBalancerUDPListenerAttribute ¶
func (p SLBProvider) SetLoadBalancerUDPListenerAttribute( ctx context.Context, lbId string, listener model.ListenerAttribute) error
func (SLBProvider) SetVServerGroupAttribute ¶
func (SLBProvider) StartLoadBalancerListener ¶
func (SLBProvider) StopLoadBalancerListener ¶
func (SLBProvider) TagCLBResource ¶
func (SLBProvider) UntagResources ¶
Click to show internal directories.
Click to hide internal directories.