lb

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoAction

func DoAction(action string, options ...string) ([]byte, error)

Types

type CreateLoadBalancerListenersResp

type CreateLoadBalancerListenersResp struct {
	Code        int64    `json:"code"`
	CodeDesc    string   `json:"codeDesc"`
	ListenerIds []string `json:"listenerIds"`
	Message     string   `json:"message"`
	RequestID   int64    `json:"requestId"`
}

func (*CreateLoadBalancerListenersResp) String

func (r *CreateLoadBalancerListenersResp) String(args ...interface{}) (string, error)

type CreateLoadBalancerResp

type CreateLoadBalancerResp struct {
	Code              int64    `json:"code"`
	CodeDesc          string   `json:"codeDesc"`
	DealIds           []string `json:"dealIds"`
	Message           string   `json:"message"`
	RequestID         int64    `json:"requestId"`
	UnLoadBalancerIds struct {
		One3011767 []string `json:"13011767"`
	} `json:"unLoadBalancerIds"`
}

func (*CreateLoadBalancerResp) String

func (r *CreateLoadBalancerResp) String(args ...interface{}) (string, error)

type DeleteLoadBalancerListenersResp

type DeleteLoadBalancerListenersResp struct {
	Code      int64  `json:"code"`
	CodeDesc  string `json:"codeDesc"`
	Message   string `json:"message"`
	RequestID int64  `json:"requestId"`
}

func (*DeleteLoadBalancerListenersResp) String

func (r *DeleteLoadBalancerListenersResp) String(args ...interface{}) (string, error)

type DeleteLoadBalancersResp

type DeleteLoadBalancersResp struct {
	Code      int64  `json:"code"`
	CodeDesc  string `json:"codeDesc"`
	Message   string `json:"message"`
	RequestID int64  `json:"requestId"`
}

func (*DeleteLoadBalancersResp) String

func (r *DeleteLoadBalancersResp) String(args ...interface{}) (string, error)

type DeregisterInstancesFromLoadBalancerResp

type DeregisterInstancesFromLoadBalancerResp struct {
	Code      int64  `json:"code"`
	CodeDesc  string `json:"codeDesc"`
	Message   string `json:"message"`
	RequestID int64  `json:"requestId"`
}

func (*DeregisterInstancesFromLoadBalancerResp) String

func (r *DeregisterInstancesFromLoadBalancerResp) String(args ...interface{}) (string, error)

type DescribeLBHealthStatusResp

type DescribeLBHealthStatusResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Data     []struct {
		HealthStatus int64  `json:"healthStatus"`
		IP           string `json:"ip"`
		Port         string `json:"port"`
		Protocol     string `json:"protocol"`
		Vport        int64  `json:"vport"`
	} `json:"data"`
	Message string `json:"message"`
}

func (*DescribeLBHealthStatusResp) String

func (r *DescribeLBHealthStatusResp) String(args ...interface{}) (string, error)

type DescribeLoadBalancerBackendsResp

type DescribeLoadBalancerBackendsResp struct {
	BackendSet []struct {
		InstanceID     string   `json:"instanceId"`
		InstanceName   string   `json:"instanceName"`
		InstanceStatus int64    `json:"instanceStatus"`
		LanIP          string   `json:"lanIp"`
		UnInstanceID   string   `json:"unInstanceId"`
		WanIPSet       []string `json:"wanIpSet"`
		Weight         int64    `json:"weight"`
	} `json:"backendSet"`
	Code       int64         `json:"code"`
	CodeDesc   string        `json:"codeDesc"`
	Data       []interface{} `json:"data"`
	Message    string        `json:"message"`
	TotalCount int64         `json:"totalCount"`
}

func (*DescribeLoadBalancerBackendsResp) String

func (r *DescribeLoadBalancerBackendsResp) String(args ...interface{}) (string, error)

type DescribeLoadBalancerListenersResp

type DescribeLoadBalancerListenersResp struct {
	Code        int64  `json:"code"`
	CodeDesc    string `json:"codeDesc"`
	ListenerSet []struct {
		SSLMode          string `json:"SSLMode"`
		CertCaID         string `json:"certCaId"`
		CertID           string `json:"certId"`
		HealthNum        int64  `json:"healthNum"`
		HealthSwitch     int64  `json:"healthSwitch"`
		HTTPCheckPath    string `json:"httpCheckPath"`
		HTTPCode         int64  `json:"httpCode"`
		HTTPHash         string `json:"httpHash"`
		InstancePort     int64  `json:"instancePort"`
		IntervalTime     int64  `json:"intervalTime"`
		ListenerID       string `json:"listenerId"`
		ListenerName     string `json:"listenerName"`
		LoadBalancerPort int64  `json:"loadBalancerPort"`
		Protocol         int64  `json:"protocol"`
		Scheduler        string `json:"scheduler"`
		SessionExpire    int64  `json:"sessionExpire"`
		Status           int64  `json:"status"`
		TimeOut          int64  `json:"timeOut"`
		UnListenerID     string `json:"unListenerId"`
		UnhealthNum      int64  `json:"unhealthNum"`
	} `json:"listenerSet"`
	Message    string `json:"message"`
	TotalCount int64  `json:"totalCount"`
}

func (*DescribeLoadBalancerListenersResp) String

func (r *DescribeLoadBalancerListenersResp) String(args ...interface{}) (string, error)

type DescribeLoadBalancersResp

type DescribeLoadBalancersResp struct {
	Code            int64  `json:"code"`
	CodeDesc        string `json:"codeDesc"`
	LoadBalancerSet []struct {
		CreateTime         string `json:"createTime"`
		Domain             string `json:"domain"`
		ExpireTime         string `json:"expireTime"`
		Forward            int64  `json:"forward"`
		InternetAccessible struct {
			InternetChargeType      string `json:"internetChargeType"`
			InternetMaxBandwidthOut string `json:"internetMaxBandwidthOut"`
		} `json:"internetAccessible"`
		IsolatedTime    string `json:"isolatedTime"`
		Isolation       int64  `json:"isolation"`
		LbChargePrepaid struct {
			Period    string `json:"period"`
			RenewFlag string `json:"renewFlag"`
		} `json:"lbChargePrepaid"`
		LbChargeType     string   `json:"lbChargeType"`
		LoadBalancerID   string   `json:"loadBalancerId"`
		LoadBalancerName string   `json:"loadBalancerName"`
		LoadBalancerType int64    `json:"loadBalancerType"`
		LoadBalancerVips []string `json:"loadBalancerVips"`
		Log              string   `json:"log"`
		OpenBgp          int64    `json:"openBgp"`
		ProjectID        int64    `json:"projectId"`
		RsRegionInfo     struct {
			Region string `json:"region"`
			VpcID  string `json:"vpcId"`
		} `json:"rsRegionInfo"`
		Snat             bool   `json:"snat"`
		Status           int64  `json:"status"`
		StatusTime       string `json:"statusTime"`
		SubnetID         int64  `json:"subnetId"`
		UnLoadBalancerID string `json:"unLoadBalancerId"`
		UniqVpcID        string `json:"uniqVpcId"`
		VpcID            int64  `json:"vpcId"`
	} `json:"loadBalancerSet"`
	Message    string `json:"message"`
	TotalCount int64  `json:"totalCount"`
}

func (*DescribeLoadBalancersResp) String

func (r *DescribeLoadBalancersResp) String(args ...interface{}) (string, error)

type InquiryLBPriceResp

type InquiryLBPriceResp struct {
	Code     int64  `json:"code"`
	CodeDesc string `json:"codeDesc"`
	Message  string `json:"message"`
	Price    int64  `json:"price"`
}

func (*InquiryLBPriceResp) String

func (r *InquiryLBPriceResp) String(args ...interface{}) (string, error)

type ModifyLoadBalancerAttributesResp

type ModifyLoadBalancerAttributesResp struct {
	Code      int64  `json:"code"`
	CodeDesc  string `json:"codeDesc"`
	Message   string `json:"message"`
	RequestID int64  `json:"requestId"`
}

func (*ModifyLoadBalancerAttributesResp) String

func (r *ModifyLoadBalancerAttributesResp) String(args ...interface{}) (string, error)

type ModifyLoadBalancerBackendsResp

type ModifyLoadBalancerBackendsResp struct {
	Code      int64  `json:"code"`
	CodeDesc  string `json:"codeDesc"`
	Message   string `json:"message"`
	RequestID int64  `json:"requestId"`
}

func (*ModifyLoadBalancerBackendsResp) String

func (r *ModifyLoadBalancerBackendsResp) String(args ...interface{}) (string, error)

type ModifyLoadBalancerListenerResp

type ModifyLoadBalancerListenerResp struct {
	Code      int64  `json:"code"`
	CodeDesc  string `json:"codeDesc"`
	Message   string `json:"message"`
	RequestID int64  `json:"requestId"`
}

func (*ModifyLoadBalancerListenerResp) String

func (r *ModifyLoadBalancerListenerResp) String(args ...interface{}) (string, error)

type RegisterInstancesWithLoadBalancerResp

type RegisterInstancesWithLoadBalancerResp struct {
	Code      int64  `json:"code"`
	CodeDesc  string `json:"codeDesc"`
	Message   string `json:"message"`
	RequestID int64  `json:"requestId"`
}

func (*RegisterInstancesWithLoadBalancerResp) String

func (r *RegisterInstancesWithLoadBalancerResp) String(args ...interface{}) (string, error)

Jump to

Keyboard shortcuts

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