ippool

package
v0.0.0-...-aba7421 Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 26 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
	VPCService servicecommon.VPCServiceProvider
	Recorder   record.EventRecorder
}

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