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 v1alpha.Scaler, spec v1alpha.NodeNetworkConfigSpec)
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 ¶
func (pm *CNSIPAMPoolMonitor) Update(scalar v1alpha.Scaler, spec v1alpha.NodeNetworkConfigSpec)
UpdatePoolLimitsTransacted called by request controller on reconcile to set the batch size limits
Click to show internal directories.
Click to hide internal directories.