Documentation ¶
Index ¶
- Variables
- type IPPoolReconciler
- func (r *IPPoolReconciler) IPPoolGarbageCollector(cancel chan bool, timeout time.Duration)
- func (r *IPPoolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)
- func (r *IPPoolReconciler) SetupWithManager(mgr ctrl.Manager) error
- func (r *IPPoolReconciler) Start(mgr ctrl.Manager) error
Constants ¶
This section is empty.
Variables ¶
View Source
var (
MetricResType = common.MetricResTypeIPPool
)
Functions ¶
This section is empty.
Types ¶
type IPPoolReconciler ¶
type IPPoolReconciler struct { client.Client Scheme *apimachineryruntime.Scheme Service *ippool.IPPoolService }
IPPoolReconciler reconciles a IPPool object
func (*IPPoolReconciler) IPPoolGarbageCollector ¶
func (r *IPPoolReconciler) IPPoolGarbageCollector(cancel chan bool, timeout time.Duration)
IPPoolGarbageCollector collect ippool which has been removed from crd. cancel is used to break the loop during UT
func (*IPPoolReconciler) SetupWithManager ¶
func (r *IPPoolReconciler) SetupWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.