Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AliyunLoadBalancer ¶
type LoadBalancer ¶
type LoadBalancer struct { metav1.TypeMeta `json:",inline"` v1.ObjectMeta `json:"metadata,omitempty"` Spec LoadBalancerSpec `json:"spec,omitempty"` Status LoadBalancerStatus `json:"status,omitempty"` }
type LoadBalancerClaim ¶
type LoadBalancerClaim struct { metav1.TypeMeta `json:",inline"` v1.ObjectMeta `json:"metadata,omitempty"` Spec LoadBalancerClaimSpec `json:"spec,omitempty"` Status LoadBalancerClaimStatus `json:"status,omitempty"` }
type LoadBalancerClaimPhase ¶
type LoadBalancerClaimPhase string
const ( LoadBalancerClaimPending LoadBalancerClaimPhase = "Pending" LoadBalancerClaimBound LoadBalancerClaimPhase = "Bound" LoadBalancerClaimFailed LoadBalancerClaimPhase = "Failed" )
type LoadBalancerClaimSpec ¶
type LoadBalancerClaimSpec struct { // the binding reference to the LoadBalancer backing this claim. LoadBalancerName string `json:"loadBalancerName,omitempty"` }
type LoadBalancerClaimStatus ¶
type LoadBalancerClaimStatus struct { Phase LoadBalancerClaimPhase `json:"phase,omitempty"` Message string `json:"message,omitempty"` }
type LoadBalancerPhase ¶
type LoadBalancerPhase string
const ( LoadBalancerAvailable LoadBalancerPhase = "Available" LoadBalancerBound LoadBalancerPhase = "Bound" LoadBalancerReleased LoadBalancerPhase = "Released" LoadBalancerFailed LoadBalancerPhase = "Failed" )
type LoadBalancerSpec ¶
type LoadBalancerSpec struct { NginxLoadBalancer *NginxLoadBalancer `json:"nginxLoadBalancer,omitempty"` //HaproxyLoadBalancer *HaproxyLoadBalancer AliyunLoadBalancer *AliyunLoadBalancer `json:"aliyunLoadBalancer,omitempty"` }
type LoadBalancerStatus ¶
type LoadBalancerStatus struct { Phase LoadBalancerPhase `json:"phase,omitempty"` Message string `json:"message,omitempty"` Reason string `json:"reason,omitempty"` }
type NginxLoadBalancer ¶
type NginxLoadBalancer struct {
Service v1.ObjectReference `json:"service,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.