- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 623 for Reflector (0.17 sec)
-
pkg/kubelet/util/manager/watch_based_manager.go
// objectCacheItem is a single item stored in objectCache. type objectCacheItem struct { refMap map[types.UID]int store *cacheStore reflector *cache.Reflector hasSynced func() (bool, error) // waitGroup is used to ensure that there won't be two concurrent calls to reflector.Run waitGroup sync.WaitGroup // lock is to ensure the access and modify of lastAccessTime, stopped, and immutable are thread safety,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 11.6K bytes - Viewed (0) -
pkg/kubelet/util/manager/watch_based_manager_test.go
assert.True(t, reflectorRunning()) fakeClock.Step(90 * time.Second) store.startRecycleIdleWatch() // Reflector should already be stopped for maxIdleTime exceeded. assert.False(t, reflectorRunning()) obj, _ = store.Get("ns", "name") assert.True(t, apiequality.Semantic.DeepEqual(secret, obj)) // Reflector should reRun after get secret again. assert.True(t, reflectorRunning()) fakeClock.Step(20 * time.Second)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 09 10:05:43 UTC 2023 - 17.2K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/test/integration/fixtures/resources.go
// can get a different RV because etcd can be touched in between the initial list operation (if that's what you're doing first) // and the storage cache reflector starting. // Later, you can issue a watch with the REST apis list.RV and end up earlier than the storage cacher. // The general working model is that if you get a "resourceVersion too old" message, you re-list and rewatch.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 19 02:01:40 UTC 2021 - 21.4K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/watch_cache.go
// maxWatchChanSizeWithIndexAndTriger is the max size of the channel // used by the watch using the index and trigger selector. maxWatchChanSizeWithIndexAndTrigger = 10 // maxWatchChanSizeWithIndexWithoutTrigger is the max size of the channel // used by the watch using the index but without triggering selector. // We keep that set to 1000 for "backward compatibility", until we
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 11 10:20:57 UTC 2024 - 26.2K bytes - Viewed (0) -
cluster/addons/fluentd-gcp/fluentd-gcp-configmap-old.yaml
path /var/log/kube-controller-manager.log pos_file /var/log/gcp-kube-controller-manager.log.pos tag kube-controller-manager </source> # Example: # W0204 06:49:18.239674 7 reflector.go:245] pkg/scheduler/factory/factory.go:193: watch of *api.Service ended with: 401: The event in requested index is outdated and cleared (the requested history has been cleared [2578313/2577886]) [2579312] <source>
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 26 07:09:07 UTC 2018 - 16.3K bytes - Viewed (0) -
cluster/addons/fluentd-gcp/fluentd-gcp-configmap.yaml
path /var/log/kube-controller-manager.log pos_file /var/log/gcp-kube-controller-manager.log.pos tag kube-controller-manager </source> # Example: # W0204 06:49:18.239674 7 reflector.go:245] pkg/scheduler/factory/factory.go:193: watch of *api.Service ended with: 401: The event in requested index is outdated and cleared (the requested history has been cleared [2578313/2577886]) [2579312] <source>
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 26 07:09:07 UTC 2018 - 18.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher.go
if !c.wasBookmarkAfterRvReceived() { return time.Time{}, true // schedule immediately } heartbeatTime := now.Add(bookmarkFrequency) if c.deadline.IsZero() { // Timeout is set by our client libraries (e.g. reflector) as well as defaulted by // apiserver if properly configured. So this shoudln't happen in practice. return heartbeatTime, true }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Aug 24 12:22:41 UTC 2023 - 18.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/runtime/scheme.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 25.2K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/fields/selector.go
func ParseSelectorOrDie(s string) Selector { selector, err := ParseSelector(s) if err != nil { panic(err) } return selector } // ParseSelector takes a string representing a selector and returns an // object suitable for matching, or an error. func ParseSelector(selector string) (Selector, error) { return parseSelector(selector, func(lhs, rhs string) (newLhs, newRhs string, err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 23 20:40:07 UTC 2020 - 12.3K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/labels/selector.go
type Requirements []Requirement // Selector represents a label selector. type Selector interface { // Matches returns true if this selector matches the given set of labels. Matches(Labels) bool // Empty returns true if this selector does not restrict the selection space. Empty() bool // String returns a human readable string that represents this selector. String() string
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 31.8K bytes - Viewed (0)