Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for resetEntries (0.15 sec)

  1. pkg/proxy/ipvs/ipset.go

    }
    
    func (set *IPSet) isEmpty() bool {
    	return set.activeEntries.Len() == 0
    }
    
    func (set *IPSet) getComment() string {
    	return fmt.Sprintf("\"%s\"", set.Comment)
    }
    
    func (set *IPSet) resetEntries() {
    	set.activeEntries = sets.New[string]()
    }
    
    func (set *IPSet) syncIPSetEntries() {
    	appliedEntries, err := set.handle.ListEntries(set.Name)
    	if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 19 01:20:51 UTC 2023
    - 7.3K bytes
    - Viewed (0)
  2. pkg/proxy/ipvs/proxier.go

    		return
    	}
    
    	// make sure ip sets exists in the system.
    	for _, set := range proxier.ipsetList {
    		if err := ensureIPSet(set); err != nil {
    			return
    		}
    		set.resetEntries()
    	}
    
    	// activeIPVSServices represents IPVS service successfully created in this round of sync
    	activeIPVSServices := sets.New[string]()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
Back to top