- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 179 for hasPod (0.99 sec)
-
pkg/kubelet/pod/testing/fake_mirror_client.go
fmc.mirrorPodLock.Lock() defer fmc.mirrorPodLock.Unlock() fmc.mirrorPods.Delete(podFullName) fmc.deleteCounts[podFullName]++ return true, nil } func (fmc *FakeMirrorClient) HasPod(podFullName string) bool { fmc.mirrorPodLock.RLock() defer fmc.mirrorPodLock.RUnlock() return fmc.mirrorPods.Has(podFullName) } func (fmc *FakeMirrorClient) NumOfPods() int { fmc.mirrorPodLock.RLock()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 2.4K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/pod_devices.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jan 27 02:10:25 UTC 2024 - 16.7K bytes - Viewed (0) -
pkg/kubelet/status/status_manager.go
m.podStatusesLock.RLock() defer m.podStatusesLock.RUnlock() // Clean up orphaned versions. if all { for uid := range m.apiStatusVersions { _, hasPod := m.podStatuses[types.UID(uid)] _, hasMirror := mirrorToPod[uid] if !hasPod && !hasMirror { delete(m.apiStatusVersions, uid) } } } // Decide which pods need status updates. for uid, status := range m.podStatuses {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 44.3K bytes - Viewed (0) -
pkg/kubelet/cm/devicemanager/manager.go
func (m *ManagerImpl) UpdatePluginResources(node *schedulerframework.NodeInfo, attrs *lifecycle.PodAdmitAttributes) error { pod := attrs.Pod // quick return if no pluginResources requested if !m.podDevices.hasPod(string(pod.UID)) { return nil } m.sanitizeNodeAllocatable(node) return nil } func (m *ManagerImpl) markResourceUnhealthy(resourceName string) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 15 12:01:56 UTC 2024 - 43K bytes - Viewed (0) -
pkg/kubelet/kubelet_test.go
assert.NoError(t, err) if isTerminal { t.Fatalf("pod should not be terminal: %#v", pod) } podFullName := kubecontainer.GetPodFullName(pod) assert.True(t, manager.HasPod(podFullName), "Expected mirror pod %q to be created", podFullName) assert.Equal(t, 1, manager.NumOfPods(), "Expected only 1 mirror pod %q, got %+v", podFullName, manager.GetPods()) }) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 14 16:09:17 UTC 2024 - 106.9K bytes - Viewed (0) -
src/cmd/go/testdata/script/mod_overlay.txt
{ "Replace": { "nomod/go.mod": "../../../overlay/carve-nomod-go-mod" } } -- carve/overlay_uncarve_module.json -- { "Replace": { "hasmod/go.mod": "" } } -- carve/hasmod/a.go -- package hasmod -- carve/hasmod/go.mod -- module carve/hasmod -- carve/nomod/b.go -- package nomod -- $WORK/overlay/carve-nomod-go-mod -- module carve/nomod -- carve2/go.mod -- module carve2
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Sep 28 17:19:14 UTC 2021 - 7.7K bytes - Viewed (0) -
testing/soak/src/integTest/kotlin/org/gradle/kotlin/dsl/caching/fixtures/CompilationCache.kt
CachedScript.WholeFile( stage1 = CachedScript.CompilationStage(Gradle, ScriptPlugin, "stage1", Descriptions.script, file), stage2 = CachedScript.CompilationStage(Gradle, ScriptPlugin, "stage2", Descriptions.script, file, hasInitscriptBlock && hasBody) ) fun cachedSettingsFile(file: File, hasBuildscriptBlock: Boolean = false, hasBody: Boolean = false) = CachedScript.WholeFile(
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Apr 04 07:21:38 UTC 2024 - 4.3K bytes - Viewed (0) -
src/crypto/internal/boring/rsa.go
return C._goboringcrypto_RSA_sign_pss_mgf1(key, &outLen, base(out), C.size_t(len(out)), base(hashed), C.size_t(len(hashed)), md, nil, C.int(saltLen)) }) == 0 { return nil, fail("RSA_sign_pss_mgf1") } return out[:outLen], nil } func VerifyRSAPSS(pub *PublicKeyRSA, h crypto.Hash, hashed, sig []byte, saltLen int) error { md := cryptoHashToMD(h) if md == nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 23:38:03 UTC 2024 - 12K bytes - Viewed (0) -
staging/src/k8s.io/cli-runtime/pkg/resource/crd_finder_test.go
} _, err := finder.HasCRD(schema.GroupKind{Group: "", Kind: "Pod"}) if err != nil { t.Fatalf("Failed to call HasCRD: %v", err) } if called != 1 { t.Fatalf("First call should call the getter, has called = %v", called) } _, err = finder.HasCRD(schema.GroupKind{Group: "", Kind: "Pod"}) if err != nil { t.Fatalf("Failed to call HasCRD: %v", err) } if called != 1 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Sep 05 02:24:38 UTC 2023 - 2.3K bytes - Viewed (0) -
src/crypto/ecdsa/ecdsa_test.go
priv, _ := GenerateKey(c, rand.Reader) hashed := []byte("testing") r, s, err := Sign(rand.Reader, priv, hashed) if err != nil { t.Errorf("error signing: %s", err) return } if !Verify(&priv.PublicKey, hashed, r, s) { t.Errorf("Verify failed") } hashed[0] ^= 0xff if Verify(&priv.PublicKey, hashed, r, s) { t.Errorf("Verify always works!") } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:58 UTC 2024 - 13.5K bytes - Viewed (0)