Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MarkIPsAsPendingInCRD ¶
func MarkIPsAsPendingInCRD(toBeDeletedSecondaryIPConfigs map[string]cns.IPConfigurationStatus, ipCount int64) (nnc.NodeNetworkConfigSpec, error)
CNSToCRDSpec translates CNS's map of Ips to be released and requested ip count into a CRD Spec
Types ¶
type CNSIPAMPoolMonitor ¶
type CNSIPAMPoolMonitor struct {
MinimumFreeIps int64
MaximumFreeIps int64
// contains filtered or unexported fields
}
func NewCNSIPAMPoolMonitor ¶
func NewCNSIPAMPoolMonitor(cns cns.HTTPService, rc requestcontroller.RequestController) *CNSIPAMPoolMonitor
func (*CNSIPAMPoolMonitor) Reconcile ¶
func (pm *CNSIPAMPoolMonitor) Reconcile() 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.