- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 45 for recreate (0.29 sec)
-
pkg/kubelet/cm/devicemanager/manager_test.go
), ) testManager.healthyDevices[extendedResourceName] = sets.New[string]() testManager.healthyDevices[extendedResourceName].Insert("dev1") // checkpoint is present, indicating node hasn't been recreated err = testManager.writeCheckpoint() as.Nil(err) as.False(testManager.ShouldResetExtendedResourceCapacity()) // checkpoint is absent, representing node recreation
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 65K bytes - Viewed (0) -
pkg/kubelet/status/status_manager_test.go
t.Logf("Pod not found.") ret = nil err = errors.NewNotFound(api.Resource("pods"), pod.Name) m.SetPodStatus(pod, getRandomPodStatus()) verifyActions(t, m, []core.Action{getAction()}) t.Logf("Pod was recreated.") ret = getTestPod() ret.UID = "other_pod" err = nil m.SetPodStatus(pod, getRandomPodStatus()) verifyActions(t, m, []core.Action{getAction()}) t.Logf("Pod not deleted (success case).")
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 02 16:27:19 UTC 2024 - 68.1K bytes - Viewed (0) -
src/cmd/go/go_test.go
// Otherwise, copy the bytes. src, err := os.Open(testExe) if err != nil { log.Fatal(err) } defer src.Close() dst, err := os.OpenFile(testGo, os.O_WRONLY|os.O_CREATE|os.O_EXCL, 0o777) if err != nil { log.Fatal(err) } _, err = io.Copy(dst, src) if closeErr := dst.Close(); err == nil { err = closeErr } if err != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
tensorflow/c/experimental/filesystem/filesystem_interface.h
TF_Status* status); /// Creates an object to write to a file with the specified `path`. /// /// If the file already exists, it is deleted and recreated. The `file` object /// must only be accessed by one thread at a time. /// /// Plugins: /// * Must set `status` to `TF_OK` if `file` was updated.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 27 17:36:54 UTC 2022 - 53.1K bytes - Viewed (0) -
pkg/controller/cronjob/cronjob_controllerv2_test.go
LastScheduleTime: &metav1.Time{Time: justBeforeTheHour()}, }, }, expectedDelay: 1*time.Second + nextScheduleDelta, }, { name: "spec.schedule with @every changed - cadence decrease", oldCronJob: &batchv1.CronJob{ Spec: batchv1.CronJobSpec{ Schedule: "@every 1m", JobTemplate: batchv1.JobTemplateSpec{ ObjectMeta: metav1.ObjectMeta{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 70.8K bytes - Viewed (0) -
src/crypto/tls/handshake_server_test.go
t.Fatalf("validate callback returned error: %s", err) } } if write { path := test.dataPath() out, err := os.OpenFile(path, os.O_WRONLY|os.O_CREATE|os.O_TRUNC, 0644) if err != nil { t.Fatalf("Failed to create output file: %s", err) } defer out.Close() recordingConn.Close() if len(recordingConn.flows) < 3 { if len(test.expectHandshakeErrorIncluding) == 0 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 03 14:56:25 UTC 2024 - 64.7K bytes - Viewed (0) -
platforms/documentation/docs/src/docs/userguide/optimizing-performance/configuration_cache.adoc
==== The `ValueSource` implementation can then be used to create a provider with link:{groovyDslPath}/org.gradle.api.provider.ProviderFactory.html#org.gradle.api.provider.ProviderFactory:of(java.lang.Class,%20org.gradle.api.Action)[providers.of]: ==== include::sample[dir="snippets/valueProviders/externalProcessValueSource/kotlin",files="build.gradle.kts[tags=create-provider]"]
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Mar 29 16:24:12 UTC 2024 - 71.1K bytes - Viewed (0) -
pkg/controller/replicaset/replica_set_test.go
err := validateSyncReplicaSet(&fakePodControl, 0, 0, 0) if err != nil { t.Fatal(err) } // Create/Delete the last pod // The last add pod will decrease the expectation of the ReplicaSet to 0, // which will cause it to create/delete the remaining replicas up to burstReplicas. if replicas != 0 {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 69.2K bytes - Viewed (0) -
plugin/pkg/admission/resourcequota/admission_test.go
if err == nil { t.Errorf("Expected an error because the pod exceeded allowed quota") } err = handler.Validate(context.TODO(), admission.NewAttributesRecord(newPod, nil, api.Kind("Pod").WithVersion("version"), newPod.Namespace, newPod.Name, corev1.Resource("pods").WithVersion("version"), "subresource", admission.Create, &metav1.CreateOptions{}, false, nil), nil)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
} // Otherwise, copy the bytes. src, err := os.Open(srcPath) if err != nil { return err } defer src.Close() dst, err := os.OpenFile(dstPath, os.O_WRONLY|os.O_CREATE|os.O_EXCL, perm) if err != nil { return err } _, err = io.Copy(dst, src) if closeErr := dst.Close(); err == nil { err = closeErr } return err }) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0)