- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 857 for crBlock (0.15 sec)
-
staging/src/k8s.io/apiserver/pkg/storage/cacher/cache_watcher_test.go
w.setBookmarkAfterResourceVersion(0) return w } clock := testingclock.NewFakeClock(time.Now()) watchers := newTimeBucketWatchers(clock, defaultBookmarkFrequency) now := clock.Now() watchers.addWatcherThreadUnsafe(newWatcher(now.Add(10 * time.Second))) watchers.addWatcherThreadUnsafe(newWatcher(now.Add(20 * time.Second)))
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 22.9K bytes - Viewed (0) -
pilot/pkg/status/distribution/state.go
mu sync.RWMutex CurrentState map[status.Resource]map[string]Progress ObservationTime map[string]time.Time UpdateInterval time.Duration dynamicClient dynamic.Interface clock clock.Clock workers *status.Controller StaleInterval time.Duration cmInformer cache.SharedIndexInformer cmHandle cache.ResourceEventHandlerRegistration }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue May 23 17:08:31 UTC 2023 - 7.7K bytes - Viewed (0) -
pkg/kubelet/util/manager/watch_based_manager.go
groupResource schema.GroupResource, clock clock.Clock, maxIdleTime time.Duration, stopCh <-chan struct{}) Store { if maxIdleTime < minIdleTime { maxIdleTime = minIdleTime } store := &objectCache{ listObject: listObject, watchObject: watchObject, newObject: newObject, isImmutable: isImmutable, groupResource: groupResource, clock: clock, maxIdleTime: maxIdleTime,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 11.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/request/object_count_tracker.go
// StorageObjectCountTracker interface that can be used to // keep track of the total number of objects for each resource. func NewStorageObjectCountTracker() StorageObjectCountTracker { return &objectCountTracker{ clock: &clock.RealClock{}, counts: map[string]*timestampedCount{}, } } // timestampedCount stores the count of a given resource with a last updated // timestamp so we can prune it after it goes stale for certain threshold.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 16 09:12:00 UTC 2022 - 5K bytes - Viewed (0) -
pkg/kubelet/eviction/eviction_manager.go
imageGC ImageGC, containerGC ContainerGC, recorder record.EventRecorder, nodeRef *v1.ObjectReference, clock clock.WithTicker, localStorageCapacityIsolation bool, ) (Manager, lifecycle.PodAdmitHandler) { manager := &managerImpl{ clock: clock, killPodFunc: killPodFunc, imageGC: imageGC, containerGC: containerGC,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 27 18:55:56 UTC 2024 - 24.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/dropped_requests_tracker.go
See the License for the specific language governing permissions and limitations under the License. */ package flowcontrol import ( "sync" "sync/atomic" "time" "k8s.io/utils/clock" ) const ( // maxRetryAfter represents the maximum possible retryAfter. maxRetryAfter = int64(32) ) // DroppedRequestsTracker is an interface that allows tracking
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 26 13:50:25 UTC 2023 - 6.5K bytes - Viewed (0) -
pkg/kubelet/token/token_manager.go
cache map[string]*authenticationv1.TokenRequest // mocked for testing getToken func(name, namespace string, tr *authenticationv1.TokenRequest) (*authenticationv1.TokenRequest, error) clock clock.Clock } // GetServiceAccountToken gets a service account token for a pod from cache or // from the TokenRequest API. This process is as follows: // * Check the cache for the current token request.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Sep 10 10:20:09 UTC 2021 - 6.1K bytes - Viewed (0) -
pilot/pkg/status/distribution/reporter.go
inProgressResources map[string]*inProgressEntry client v1.ConfigMapInterface cm *corev1.ConfigMap UpdateInterval time.Duration PodName string clock clock.Clock ledger ledger.Ledger distributionEventQueue chan distributionEvent controller *Controller } var _ xds.DistributionStatusCache = &Reporter{} const (
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jan 30 17:25:17 UTC 2024 - 11.5K bytes - Viewed (0) -
pkg/kubelet/prober/prober_manager.go
"k8s.io/kubernetes/pkg/kubelet/prober/results" "k8s.io/kubernetes/pkg/kubelet/status" kubetypes "k8s.io/kubernetes/pkg/kubelet/types" kubeutil "k8s.io/kubernetes/pkg/kubelet/util" "k8s.io/utils/clock" ) // ProberResults stores the cumulative number of a probe by result as prometheus metrics. var ProberResults = metrics.NewCounterVec( &metrics.CounterOpts{ Subsystem: "prober",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jul 07 22:26:12 UTC 2023 - 11K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/testing/eventclock/fake.go
limitations under the License. */ package eventclock import ( "container/heap" "fmt" "math/rand" "runtime" "strconv" "strings" "sync" "time" baseclocktest "k8s.io/utils/clock/testing" "k8s.io/apiserver/pkg/util/flowcontrol/counter" "k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/eventclock" "k8s.io/klog/v2" )
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Dec 18 04:27:38 UTC 2022 - 7.9K bytes - Viewed (0)