Documentation ¶
Index ¶
- type CNSIPAMPoolMonitor
- func (pm *CNSIPAMPoolMonitor) GetStateSnapshot() cns.IpamPoolMonitorStateSnapshot
- func (pm *CNSIPAMPoolMonitor) Reconcile(ctx context.Context) error
- func (pm *CNSIPAMPoolMonitor) Start(ctx context.Context, poolMonitorRefreshMilliseconds int) error
- func (pm *CNSIPAMPoolMonitor) Update(scalar nnc.Scaler, spec nnc.NodeNetworkConfigSpec) error
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, rc singletenantcontroller.RequestController) *CNSIPAMPoolMonitor
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
Click to show internal directories.
Click to hide internal directories.