ippool

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 19, 2023 License: Apache-2.0 Imports: 25 Imported by: 0

Documentation

Index

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) Reconcile

func (r *IPPoolReconciler) Reconcile(ctx context.Context, req ctrl.Request) (ctrl.Result, error)

func (*IPPoolReconciler) SetupWithManager

func (r *IPPoolReconciler) SetupWithManager(mgr ctrl.Manager) error

func (*IPPoolReconciler) Start

func (r *IPPoolReconciler) Start(mgr ctrl.Manager) error

Start setup manager and launch GC

Jump to

Keyboard shortcuts

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