ipampoolmonitor

package
v1.4.7 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2021 License: MIT Imports: 8 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 (*CNSIPAMPoolMonitor) GetStateSnapshot added in v1.2.9

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

this function sets the values for state in 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

func (pm *CNSIPAMPoolMonitor) Update(scalar nnc.Scaler, spec nnc.NodeNetworkConfigSpec) error

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