Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 1,244 for syncFn (0.19 sec)

  1. pkg/kubelet/pod_workers_test.go

    	}
    	if !podWorkers.CouldHaveRunningContainers(types.UID("abc")) {
    		t.Errorf("Expected pod to potentially have running containers (does not exist but not yet synced)")
    	}
    	if podWorkers.ShouldPodContentBeRemoved(types.UID("abc")) {
    		t.Errorf("Expected pod to not be suitable for removal (does not exist but not yet synced)")
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 75.6K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/factory.go

    //	typedInformer := factory.SomeAPIGroup().V1().SomeType()
    //	factory.Start(ctx.Done())          // Start processing these informers.
    //	synced := factory.WaitForCacheSync(ctx.Done())
    //	for v, ok := range synced {
    //	    if !ok {
    //	        fmt.Fprintf(os.Stderr, "caches failed to sync: %v", v)
    //	        return
    //	    }
    //	}
    //
    //	// Creating informers can also be created after Start, but then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 18:31:26 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/factory.go

    //	typedInformer := factory.SomeAPIGroup().V1().SomeType()
    //	factory.Start(ctx.Done())          // Start processing these informers.
    //	synced := factory.WaitForCacheSync(ctx.Done())
    //	for v, ok := range synced {
    //	    if !ok {
    //	        fmt.Fprintf(os.Stderr, "caches failed to sync: %v", v)
    //	        return
    //	    }
    //	}
    //
    //	// Creating informers can also be created after Start, but then
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 18:31:26 UTC 2023
    - 9K bytes
    - Viewed (0)
  4. pkg/controller/nodeipam/doc.go

    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    See the License for the specific language governing permissions and
    limitations under the License.
    */
    
    // Package nodeipam contains code for syncing cloud instances with
    // node registry
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 04 20:48:08 UTC 2018
    - 726 bytes
    - Viewed (0)
  5. pilot/pkg/util/informermetric/informerutil.go

    package informermetric
    
    import (
    	"sync"
    
    	"k8s.io/client-go/tools/cache"
    
    	"istio.io/istio/pkg/cluster"
    	"istio.io/istio/pkg/log"
    	"istio.io/istio/pkg/monitoring"
    )
    
    var (
    	clusterLabel = monitoring.CreateLabel("cluster")
    
    	errorMetric = monitoring.NewSum(
    		"controller_sync_errors_total",
    		"Total number of errorMetric syncing controllers.",
    	)
    
    	mu       sync.RWMutex
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Jul 17 20:25:52 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  6. pkg/controller/bootstrap/tokencleaner.go

    		tc.queue.AddRateLimited(key)
    		utilruntime.HandleError(fmt.Errorf("Sync %v failed with : %v", key, err))
    		return true
    	}
    
    	tc.queue.Forget(key)
    	return true
    }
    
    func (tc *TokenCleaner) syncFunc(ctx context.Context, key string) error {
    	logger := klog.FromContext(ctx)
    	startTime := time.Now()
    	defer func() {
    		logger.V(4).Info("Finished syncing secret", "secret", key, "elapsedTime", time.Since(startTime))
    	}()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  7. pkg/controller/daemon/daemon_controller.go

    	// dsStoreSynced returns true if the daemonset store has been synced at least once.
    	// Added as a member to the struct to allow injection for testing.
    	dsStoreSynced cache.InformerSynced
    	// historyLister get list/get history from the shared informers's store
    	historyLister appslisters.ControllerRevisionLister
    	// historyStoreSynced returns true if the history store has been synced at least once.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 51.3K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    Due to Guava's nature as a subset of Google's internal codebase which is
    automatically synced to the public GitHub repository, we are unable to merge
    pull requests directly into the master branch. Instead, once a pull request is
    ready for merging, we'll make the appropriate changes in the internal codebase
    and, when the change is synced out, give the pull request author credit for the
    commit.
    
    Contributor License Agreement
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  9. pkg/proxy/config/config_test.go

    	delete(h.state, namespacedName)
    	h.sendServices()
    }
    
    func (h *ServiceHandlerMock) OnServiceSynced() {
    	h.lock.Lock()
    	defer h.lock.Unlock()
    	h.synced = true
    	h.sendServices()
    }
    
    func (h *ServiceHandlerMock) sendServices() {
    	if !h.synced {
    		return
    	}
    	services := make([]*v1.Service, 0, len(h.state))
    	for _, svc := range h.state {
    		services = append(services, svc)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  10. pkg/controller/namespace/config/types.go

    type NamespaceControllerConfiguration struct {
    	// namespaceSyncPeriod is the period for syncing namespace life-cycle
    	// updates.
    	NamespaceSyncPeriod metav1.Duration
    	// concurrentNamespaceSyncs is the number of namespace objects that are
    	// allowed to sync concurrently.
    	ConcurrentNamespaceSyncs int32
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 02 04:54:33 UTC 2019
    - 1K bytes
    - Viewed (0)
Back to top