Versions in this module Expand all Collapse all v1 v1.19.1 Oct 25, 2022 Changes in this version + const ClbLBPolicyIPHash + const ClbLBPolicyLeastConn + const ClbLBPolicyWRR + const ClbListenerProtocolHTTP + const ClbListenerProtocolHTTPS + const ClbListenerProtocolTCP + const ClbListenerProtocolUDP + const ClbListenerTLSModeMutual + const ClbListenerTLSModeUniDirectional + const ClbNetworkTypePrivate + const ClbNetworkTypePublic + var AddToScheme = SchemeBuilder.AddToScheme + var SchemeBuilder = &scheme.Builder + var SchemeGroupVersion = schema.GroupVersion + func Resource(resource string) schema.GroupResource + type Backend struct + IP string + Port int + Weight int + func NewBackend(ip string, port int) *Backend + func (b *Backend) IsEqual(other *Backend) bool + func (b *Backend) SetWeight(weight int) + func (in *Backend) DeepCopy() *Backend + func (in *Backend) DeepCopyInto(out *Backend) + type BackendList []*Backend + func (bl BackendList) Len() int + func (in BackendList) DeepCopy() BackendList + func (in BackendList) DeepCopyInto(out *BackendList) + type CloudListener struct + Spec CloudListenerSpec + Status CloudListenerStatus + func (cl *CloudListener) GetDiffRules(cur *CloudListener) (dels RuleList, adds RuleList) + func (cl *CloudListener) GetRuleByID(id string) (*Rule, error) + func (cl *CloudListener) GetUpdateRules(cur *CloudListener) (olds RuleList, updates RuleList) + func (cl *CloudListener) IsEqual(other *CloudListener) bool + func (cl *CloudListener) Key() string + func (cl *CloudListener) ToString() string + func (in *CloudListener) DeepCopy() *CloudListener + func (in *CloudListener) DeepCopyInto(out *CloudListener) + func (in *CloudListener) DeepCopyObject() runtime.Object + type CloudListenerBackendHealthStatus struct + HealthStatus bool + HealthStatusDetail string + IP string + Port int + TargetID string + func (in *CloudListenerBackendHealthStatus) DeepCopy() *CloudListenerBackendHealthStatus + func (in *CloudListenerBackendHealthStatus) DeepCopyInto(out *CloudListenerBackendHealthStatus) + type CloudListenerHealthStatus struct + RulesHealth []*CloudListenerRuleHealthStatus + func (in *CloudListenerHealthStatus) DeepCopy() *CloudListenerHealthStatus + func (in *CloudListenerHealthStatus) DeepCopyInto(out *CloudListenerHealthStatus) + type CloudListenerList struct + Items []CloudListener + func (in *CloudListenerList) DeepCopy() *CloudListenerList + func (in *CloudListenerList) DeepCopyInto(out *CloudListenerList) + func (in *CloudListenerList) DeepCopyObject() runtime.Object + type CloudListenerRuleHealthStatus struct + Backends []*CloudListenerBackendHealthStatus + Domain string + URL string + func (in *CloudListenerRuleHealthStatus) DeepCopy() *CloudListenerRuleHealthStatus + func (in *CloudListenerRuleHealthStatus) DeepCopyInto(out *CloudListenerRuleHealthStatus) + type CloudListenerSpec struct + ListenPort int + ListenerID string + LoadBalancerID string + Protocol string + Rules RuleList + TLS *CloudListenerTls + TargetGroup *TargetGroup + func (in *CloudListenerSpec) DeepCopy() *CloudListenerSpec + func (in *CloudListenerSpec) DeepCopyInto(out *CloudListenerSpec) + type CloudListenerStatus struct + HealthStatus *CloudListenerHealthStatus + LastUpdateTime metav1.Time + func (in *CloudListenerStatus) DeepCopy() *CloudListenerStatus + func (in *CloudListenerStatus) DeepCopyInto(out *CloudListenerStatus) + type CloudListenerTls struct + CertCaID string + CertClientCaContent string + CertClientCaName string + CertID string + CertServerContent string + CertServerKey string + CertServerName string + Mode string + func (in *CloudListenerTls) DeepCopy() *CloudListenerTls + func (in *CloudListenerTls) DeepCopyInto(out *CloudListenerTls) + type CloudLoadBalancer struct + ID string + Name string + NetworkType string + PublicIPs []string + VIPS []string + func (in *CloudLoadBalancer) DeepCopy() *CloudLoadBalancer + func (in *CloudLoadBalancer) DeepCopyInto(out *CloudLoadBalancer) + type Rule struct + Domain string + ID string + TargetGroup *TargetGroup + URL string + func NewRule(domain string, url string) *Rule + func (in *Rule) DeepCopy() *Rule + func (in *Rule) DeepCopyInto(out *Rule) + func (r *Rule) IsConflict(ruleList RuleList) bool + func (r *Rule) IsEqual(other *Rule) bool + type RuleList []*Rule + func (in RuleList) DeepCopy() RuleList + func (in RuleList) DeepCopyInto(out *RuleList) + func (rl RuleList) Len() int + type TargetGroup struct + Backends BackendList + HealthCheck *TargetGroupHealthCheck + ID string + LBPolicy string + Name string + Port int + Protocol string + SessionExpire int + func NewTargetGroup(id, name, protocol string, port int) *TargetGroup + func (in *TargetGroup) DeepCopy() *TargetGroup + func (in *TargetGroup) DeepCopyInto(out *TargetGroup) + func (tg *TargetGroup) AddBackends(adds BackendList) + func (tg *TargetGroup) GetDiffBackend(cur *TargetGroup) (dels BackendList, adds BackendList) + func (tg *TargetGroup) GetUpdateBackend(cur *TargetGroup) (updates BackendList) + func (tg *TargetGroup) IsAttrEqual(other *TargetGroup) bool + func (tg *TargetGroup) IsEqual(other *TargetGroup) bool + func (tg *TargetGroup) RemoveBackend(dels BackendList) + type TargetGroupHealthCheck struct + Enabled int + HTTPCheckPath string + HTTPCode int + HealthNum int + IntervalTime int + Timeout int + UnHealthNum int + func NewTargetGroupHealthCheck() *TargetGroupHealthCheck + func (in *TargetGroupHealthCheck) DeepCopy() *TargetGroupHealthCheck + func (in *TargetGroupHealthCheck) DeepCopyInto(out *TargetGroupHealthCheck)