ipampoolmonitor

package
v1.4.13 Latest Latest
Warning

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

Go to latest
Published: Oct 7, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CNSIPAMPoolMonitor

type CNSIPAMPoolMonitor struct {
	MaximumFreeIps int64
	MinimumFreeIps int64
	// contains filtered or unexported fields
}

func NewCNSIPAMPoolMonitor

func NewCNSIPAMPoolMonitor(httpService cns.HTTPService, nnccli nodeNetworkConfigSpecUpdater) *CNSIPAMPoolMonitor

func (*CNSIPAMPoolMonitor) GetStateSnapshot added in v1.2.9

func (pm *CNSIPAMPoolMonitor) GetStateSnapshot() cns.IpamPoolMonitorStateSnapshot

GetStateSnapshot gets a snapshot of the IPAMPoolMonitor struct.

func (*CNSIPAMPoolMonitor) Reconcile

func (pm *CNSIPAMPoolMonitor) Reconcile(ctx context.Context) error

func (*CNSIPAMPoolMonitor) Start

func (pm *CNSIPAMPoolMonitor) Start(ctx context.Context, poolMonitorRefreshMilliseconds int) error

func (*CNSIPAMPoolMonitor) Update

UpdatePoolLimitsTransacted called by request controller on reconcile to set the batch size limits

Jump to

Keyboard shortcuts

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