Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 30 for resyncPeriod (0.14 sec)

  1. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/cr/v1/example.go

    				return client.CrV1().Examples(namespace).Watch(context.TODO(), options)
    			},
    		},
    		&crv1.Example{},
    		resyncPeriod,
    		indexers,
    	)
    }
    
    func (f *exampleInformer) defaultInformer(client versioned.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer {
    	return NewFilteredExampleInformer(client, f.namespace, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 02:16:47 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/apiextensions/v1/customresourcedefinition.go

    			},
    		},
    		&apiextensionsv1.CustomResourceDefinition{},
    		resyncPeriod,
    		indexers,
    	)
    }
    
    func (f *customResourceDefinitionInformer) defaultInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer {
    	return NewFilteredCustomResourceDefinitionInformer(client, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 02:16:47 UTC 2020
    - 3.8K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/apiextensions/v1beta1/customresourcedefinition.go

    			},
    		},
    		&apiextensionsv1beta1.CustomResourceDefinition{},
    		resyncPeriod,
    		indexers,
    	)
    }
    
    func (f *customResourceDefinitionInformer) defaultInformer(client clientset.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer {
    	return NewFilteredCustomResourceDefinitionInformer(client, resyncPeriod, cache.Indexers{cache.NamespaceIndex: cache.MetaNamespaceIndexFunc}, f.tweakListOptions)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Feb 08 02:16:47 UTC 2020
    - 3.9K bytes
    - Viewed (0)
  4. pkg/kubelet/runtimeclass/runtimeclass_manager.go

    }
    
    // NewManager returns a new RuntimeClass Manager. Run must be called before the manager can be used.
    func NewManager(client clientset.Interface) *Manager {
    	const resyncPeriod = 0
    
    	factory := informers.NewSharedInformerFactory(client, resyncPeriod)
    	lister := factory.Node().V1().RuntimeClasses().Lister()
    
    	return &Manager{
    		informerFactory: factory,
    		lister:          lister,
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 11 19:22:32 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  5. pkg/proxy/config/config.go

    	logger        klog.Logger
    }
    
    // NewEndpointSliceConfig creates a new EndpointSliceConfig.
    func NewEndpointSliceConfig(ctx context.Context, endpointSliceInformer discoveryv1informers.EndpointSliceInformer, resyncPeriod time.Duration) *EndpointSliceConfig {
    	result := &EndpointSliceConfig{
    		listerSynced: endpointSliceInformer.Informer().HasSynced,
    		logger:       klog.FromContext(ctx),
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  6. pkg/controller/resourcequota/resource_quota_controller.go

    			workqueue.DefaultTypedControllerRateLimiter[string](),
    			workqueue.TypedRateLimitingQueueConfig[string]{Name: "resourcequota_priority"},
    		),
    		resyncPeriod: options.ResyncPeriod,
    		registry:     options.Registry,
    	}
    	// set the synchronization handler
    	rq.syncHandler = rq.syncResourceQuotaFromKey
    
    	logger := klog.FromContext(ctx)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  7. pkg/kubemark/controller.go

    	rcListWatch := cache.NewListWatchFromClient(kubeClient.CoreV1().RESTClient(), "replicationcontrollers", namespaceKubemark, fields.Everything())
    	return cache.NewSharedIndexInformer(rcListWatch, &apiv1.ReplicationController{}, resyncPeriod, nil)
    }
    
    func newPodInformer(kubeClient kubeclient.Interface, resyncPeriod time.Duration) cache.SharedIndexInformer {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jul 17 23:02:17 UTC 2020
    - 14.1K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/examples/client-go/pkg/client/informers/externalversions/factory.go

    	informerType := reflect.TypeOf(obj)
    	informer, exists := f.informers[informerType]
    	if exists {
    		return informer
    	}
    
    	resyncPeriod, exists := f.customResync[informerType]
    	if !exists {
    		resyncPeriod = f.defaultResync
    	}
    
    	informer = newFunc(f.client, resyncPeriod)
    	informer.SetTransform(f.transform)
    	f.informers[informerType] = informer
    
    	return informer
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 18:31:26 UTC 2023
    - 8.9K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/pkg/client/informers/externalversions/factory.go

    	informerType := reflect.TypeOf(obj)
    	informer, exists := f.informers[informerType]
    	if exists {
    		return informer
    	}
    
    	resyncPeriod, exists := f.customResync[informerType]
    	if !exists {
    		resyncPeriod = f.defaultResync
    	}
    
    	informer = newFunc(f.client, resyncPeriod)
    	informer.SetTransform(f.transform)
    	f.informers[informerType] = informer
    
    	return informer
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 18 18:31:26 UTC 2023
    - 9K bytes
    - Viewed (0)
  10. pkg/controller/resourcequota/resource_quota_monitor.go

    			workqueue.DefaultTypedControllerRateLimiter[*event](),
    			workqueue.TypedRateLimitingQueueConfig[*event]{Name: "resource_quota_controller_resource_changes"},
    		),
    		resyncPeriod:      resyncPeriod,
    		replenishmentFunc: replenishmentFunc,
    		registry:          registry,
    		updateFilter:      updateFilter,
    	}
    }
    
    // monitor runs a Controller with a local stop channel.
    type monitor struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top