Documentation ¶
Index ¶
- Constants
- func IsOpenELBNPService(obj runtime.Object) bool
- func IsOpenELBService(obj runtime.Object) bool
- func SetupServiceReconciler(mgr ctrl.Manager) error
- type EnqueueRequestForDeAndDs
- func (e *EnqueueRequestForDeAndDs) Create(evt event.CreateEvent, q workqueue.RateLimitingInterface)
- func (e *EnqueueRequestForDeAndDs) Delete(evt event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (e *EnqueueRequestForDeAndDs) Generic(evt event.GenericEvent, q workqueue.RateLimitingInterface)
- func (e *EnqueueRequestForDeAndDs) Update(evt event.UpdateEvent, q workqueue.RateLimitingInterface)
- type EnqueueRequestForNode
- func (e *EnqueueRequestForNode) Create(evt event.CreateEvent, q workqueue.RateLimitingInterface)
- func (e *EnqueueRequestForNode) Delete(evt event.DeleteEvent, q workqueue.RateLimitingInterface)
- func (e *EnqueueRequestForNode) Generic(evt event.GenericEvent, q workqueue.RateLimitingInterface)
- func (e *EnqueueRequestForNode) Update(evt event.UpdateEvent, q workqueue.RateLimitingInterface)
- type ServiceReconciler
- type SvcAnnotator
Constants ¶
View Source
const ( ReasonDeleteLoadBalancer = "deleteLoadBalancer" ReasonAddLoadBalancer = "addLoadBalancer" AddLoadBalancerMsg = "success to add nexthops %v" AddLoadBalancerFailedMsg = "failed to add nexthops %v, err=%v" DelLoadBalancerMsg = "loadbalancer ip changed from %s to %s" DelLoadBalancerFailedMsg = "speaker del loadbalancer failed, err=%v" )
Variables ¶
This section is empty.
Functions ¶
func IsOpenELBNPService ¶
Judge whether this load balancer should be exposed by OpenELB Service Such Service will be exposed by Proxy Pod
func IsOpenELBService ¶
func SetupServiceReconciler ¶
Types ¶
type EnqueueRequestForDeAndDs ¶
Enqueue requests for Deployments and DaemonSets type Only OpenELB NodeProxy needs this
func (*EnqueueRequestForDeAndDs) Create ¶
func (e *EnqueueRequestForDeAndDs) Create(evt event.CreateEvent, q workqueue.RateLimitingInterface)
Create implements EventHandler
func (*EnqueueRequestForDeAndDs) Delete ¶
func (e *EnqueueRequestForDeAndDs) Delete(evt event.DeleteEvent, q workqueue.RateLimitingInterface)
Delete implements EventHandler
func (*EnqueueRequestForDeAndDs) Generic ¶
func (e *EnqueueRequestForDeAndDs) Generic(evt event.GenericEvent, q workqueue.RateLimitingInterface)
Generic implements EventHandler
func (*EnqueueRequestForDeAndDs) Update ¶
func (e *EnqueueRequestForDeAndDs) Update(evt event.UpdateEvent, q workqueue.RateLimitingInterface)
Update implements EventHandler
type EnqueueRequestForNode ¶
func (*EnqueueRequestForNode) Create ¶
func (e *EnqueueRequestForNode) Create(evt event.CreateEvent, q workqueue.RateLimitingInterface)
Create implements EventHandler
func (*EnqueueRequestForNode) Delete ¶
func (e *EnqueueRequestForNode) Delete(evt event.DeleteEvent, q workqueue.RateLimitingInterface)
Delete implements EventHandler
func (*EnqueueRequestForNode) Generic ¶
func (e *EnqueueRequestForNode) Generic(evt event.GenericEvent, q workqueue.RateLimitingInterface)
Generic implements EventHandler
func (*EnqueueRequestForNode) Update ¶
func (e *EnqueueRequestForNode) Update(evt event.UpdateEvent, q workqueue.RateLimitingInterface)
Update implements EventHandler
type ServiceReconciler ¶
type ServiceReconciler struct { client.Client record.EventRecorder }
ServiceReconciler reconciles a Service object
func (*ServiceReconciler) SetupWithManager ¶
func (r *ServiceReconciler) SetupWithManager(mgr ctrl.Manager) error
type SvcAnnotator ¶
func (*SvcAnnotator) InjectDecoder ¶
func (r *SvcAnnotator) InjectDecoder(d *admission.Decoder) error
Click to show internal directories.
Click to hide internal directories.