slb

package
v0.0.0-...-a1c3796 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

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 (p SLBProvider) AddVServerGroupBackendServers(ctx context.Context, vGroupId string, backends string) error

func (SLBProvider) CreateAccessControlList

func (p SLBProvider) CreateAccessControlList(ctx context.Context, aclName string) (string, error)

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 (p SLBProvider) DeleteLoadBalancerListener(ctx context.Context, lbId string, port int, proto string) error

func (SLBProvider) DeleteVServerGroup

func (p SLBProvider) DeleteVServerGroup(ctx context.Context, vGroupId string) error

func (SLBProvider) DescribeAccessControlList

func (p SLBProvider) DescribeAccessControlList(ctx context.Context, aclName string) (string, error)

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 (p SLBProvider) ListCLBTagResources(ctx context.Context, lbId string) ([]tag.Tag, error)

func (SLBProvider) ModifyLoadBalancerInstanceChargeType

func (p SLBProvider) ModifyLoadBalancerInstanceChargeType(ctx context.Context, lbId string, instanceChargeType string, spec string) error

func (SLBProvider) ModifyLoadBalancerInstanceSpec

func (p SLBProvider) ModifyLoadBalancerInstanceSpec(ctx context.Context, lbId string, spec string) error

func (SLBProvider) ModifyLoadBalancerInternetSpec

func (p SLBProvider) ModifyLoadBalancerInternetSpec(ctx context.Context, lbId string, chargeType string, bandwidth int) error

func (SLBProvider) ModifyVServerGroupBackendServers

func (p SLBProvider) ModifyVServerGroupBackendServers(ctx context.Context, vGroupId string, old string, new string) error

func (SLBProvider) RemoveVServerGroupBackendServers

func (p SLBProvider) RemoveVServerGroupBackendServers(ctx context.Context, vGroupId string, backends string) error

func (SLBProvider) SetLoadBalancerDeleteProtection

func (p SLBProvider) SetLoadBalancerDeleteProtection(ctx context.Context, lbId string, flag string) error

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 (p SLBProvider) SetLoadBalancerModificationProtection(ctx context.Context, lbId string, flag string) error

func (SLBProvider) SetLoadBalancerName

func (p SLBProvider) SetLoadBalancerName(ctx context.Context, lbId string, name string) error

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 (p SLBProvider) SetVServerGroupAttribute(ctx context.Context, vGroupId string, backends string) error

func (SLBProvider) StartLoadBalancerListener

func (p SLBProvider) StartLoadBalancerListener(ctx context.Context, lbId string, port int, proto string) error

func (SLBProvider) StopLoadBalancerListener

func (p SLBProvider) StopLoadBalancerListener(ctx context.Context, lbId string, port int, proto string) error

func (SLBProvider) TagCLBResource

func (p SLBProvider) TagCLBResource(ctx context.Context, resourceId string, tags []tag.Tag) error

func (SLBProvider) UntagResources

func (p SLBProvider) UntagResources(ctx context.Context, lbId string, tagKey *[]string) error

Jump to

Keyboard shortcuts

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