Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for setInitialized (0.93 sec)

  1. pkg/proxy/winkernel/proxier_test.go

    			}
    			svc.Spec.Ports = []v1.ServicePort{{
    				Name:     svcPortName.Port,
    				Port:     int32(svcPort),
    				Protocol: v1.ProtocolTCP,
    				NodePort: int32(svcNodePort),
    			}}
    		}),
    	)
    	proxier.setInitialized(true)
    	proxier.syncProxyRules()
    
    	svc := proxier.svcPortMap[svcPortName]
    	svcInfo, ok := svc.(*serviceInfo)
    	if !ok {
    		t.Errorf("Failed to cast serviceInfo %q", svcPortName.String())
    
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 28 14:30:51 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  2. pkg/proxy/nftables/proxier.go

    	}
    
    	// synthesize "last change queued" time as the informers are syncing.
    	metrics.SyncProxyRulesLastQueuedTimestamp.SetToCurrentTime()
    	proxier.syncRunner.Loop(wait.NeverStop)
    }
    
    func (proxier *Proxier) setInitialized(value bool) {
    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 13:48:54 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  3. pkg/proxy/winkernel/proxier.go

    	}
    	// synthesize "last change queued" time as the informers are syncing.
    	metrics.SyncProxyRulesLastQueuedTimestamp.SetToCurrentTime()
    	proxier.syncRunner.Loop(wait.NeverStop)
    }
    
    func (proxier *Proxier) setInitialized(value bool) {
    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 13:25:06 UTC 2024
    - 59K bytes
    - Viewed (0)
  4. pkg/proxy/iptables/proxier.go

    	}
    
    	// synthesize "last change queued" time as the informers are syncing.
    	metrics.SyncProxyRulesLastQueuedTimestamp.SetToCurrentTime()
    	proxier.syncRunner.Loop(wait.NeverStop)
    }
    
    func (proxier *Proxier) setInitialized(value bool) {
    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  5. pkg/proxy/ipvs/proxier.go

    	}
    	// synthesize "last change queued" time as the informers are syncing.
    	metrics.SyncProxyRulesLastQueuedTimestamp.SetToCurrentTime()
    	proxier.syncRunner.Loop(wait.NeverStop)
    }
    
    func (proxier *Proxier) setInitialized(value bool) {
    	var initialized int32
    	if value {
    		initialized = 1
    	}
    	atomic.StoreInt32(&proxier.initialized, initialized)
    }
    
    func (proxier *Proxier) isInitialized() bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Apr 28 15:51:23 UTC 2024
    - 77.7K bytes
    - Viewed (0)
  6. pkg/proxy/nftables/proxier_test.go

    		networkInterfacer:   networkInterfacer,
    		staleChains:         make(map[string]time.Time),
    		serviceCIDRs:        serviceCIDRs,
    	}
    	p.setInitialized(true)
    	p.syncRunner = async.NewBoundedFrequencyRunner("test-sync-runner", p.syncProxyRules, 0, time.Minute, 1)
    
    	return nft, p
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 173.5K bytes
    - Viewed (0)
  7. pkg/proxy/ipvs/proxier_test.go

    		networkInterfacer:     proxyutiltest.NewFakeNetwork(),
    		gracefuldeleteManager: NewGracefulTerminationManager(ipvs),
    		ipFamily:              ipFamily,
    	}
    	p.setInitialized(true)
    	p.syncRunner = async.NewBoundedFrequencyRunner("test-sync-runner", p.syncProxyRules, 0, time.Minute, 1)
    	return p
    }
    
    func makeNSN(namespace, name string) types.NamespacedName {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Apr 27 01:31:57 UTC 2024
    - 186.8K bytes
    - Viewed (0)
  8. pkg/proxy/iptables/proxier_test.go

    		nfAcctCounters: map[string]bool{
    			metrics.IPTablesCTStateInvalidDroppedNFAcctCounter: true,
    			metrics.LocalhostNodePortAcceptedNFAcctCounter:     true,
    		},
    	}
    	p.setInitialized(true)
    	p.syncRunner = async.NewBoundedFrequencyRunner("test-sync-runner", p.syncProxyRules, 0, time.Minute, 1)
    	return p
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 249.9K bytes
    - Viewed (0)
Back to top