- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 311 for waiters (1.45 sec)
-
src/cmd/go/testdata/script/list_test_cycle.txt
go list ./p stdout 'example/p' ! go list -json=ImportPath -test ./p cmp stderr wanterr.txt ! go list -json=ImportPath,Deps -test ./p cmp stderr wanterr.txt ! go list -json=ImportPath,Deps -deps -test ./p cmp stderr wanterr.txt ! go list -json=ImportPath -deps -test ./p cmp stderr wanterr.txt -- wanterr.txt -- go: can't load test package: package example/p imports example/q imports example/r
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 25 19:18:23 UTC 2023 - 644 bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods.go
func StaticPodControlPlane(client clientset.Interface, waiter apiclient.Waiter, pathMgr StaticPodPathManager, cfg *kubeadmapi.InitConfiguration, etcdUpgrade, renewCerts bool, oldEtcdClient, newEtcdClient etcdutil.ClusterInterrogator) error { recoverManifests := map[string]string{} var isExternalEtcd bool beforePodHashMap, err := waiter.WaitForStaticPodControlPlaneHashes(cfg.NodeRegistration.Name) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 10:07:41 UTC 2024 - 30.7K bytes - Viewed (0) -
src/sync/runtime.go
// defined in package runtime // Semacquire waits until *s > 0 and then atomically decrements it. // It is intended as a simple sleep primitive for use by the synchronization // library and should not be used directly. func runtime_Semacquire(s *uint32) // Semacquire(RW)Mutex(R) is like Semacquire, but for profiling contended // Mutexes and RWMutexes. // If lifo is true, queue waiter at the head of wait queue.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 16 16:32:27 UTC 2022 - 2.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/upgrade/node/controlplane.go
if dryRun { return upgrade.DryRunStaticPodUpgrade(patchesDir, cfg) } waiter := apiclient.NewKubeWaiter(data.Client(), data.Cfg().Timeouts.UpgradeManifests.Duration, os.Stdout) if err := upgrade.PerformStaticPodUpgrade(client, waiter, cfg, etcdUpgrade, renewCerts, patchesDir); err != nil { return errors.Wrap(err, "couldn't complete the static pod upgrade") }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 10:21:20 UTC 2024 - 2.8K bytes - Viewed (0) -
pkg/channels/unbounded_test.go
wg.Wait() if !reflect.DeepEqual(reads, wantReads) { t.Errorf("reads: %#v, wantReads: %#v", reads, wantReads) } } // TestMultipleWriters starts multiple writers and one reader goroutine and // makes sure that the reader gets all the data written by all writers. func TestMultipleWriters(t *testing.T) { ub := NewUnbounded[int]() reads := []int{} var wg sync.WaitGroup wg.Add(1) go func() { defer wg.Done()
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Aug 31 19:53:39 UTC 2022 - 2.3K bytes - Viewed (0) -
src/net/http/response_test.go
in string wantErr any // nil, err value, bool value, or string substring } status := func(s string, wantErr any) testCase { if wantErr == true { wantErr = "malformed HTTP status code" } return testCase{ name: fmt.Sprintf("status %q", s), in: "HTTP/1.1 " + s + "\r\nFoo: bar\r\n\r\n", wantErr: wantErr, } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Mar 08 19:01:29 UTC 2024 - 23.6K bytes - Viewed (0) -
src/debug/buildinfo/buildinfo_test.go
if tc.wantErr == "" { t.Fatalf("unexpected error: %v", err) } else if errMsg := err.Error(); !strings.Contains(errMsg, tc.wantErr) { t.Fatalf("got error %q; want error containing %q", errMsg, tc.wantErr) } } else { if tc.wantErr != "" { t.Fatalf("unexpected success; want error containing %q", tc.wantErr) } got := info.String()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Sep 22 16:22:42 UTC 2023 - 11.2K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/upgrade/apply.go
} // PerformControlPlaneUpgrade actually performs the upgrade procedure for the cluster of your type (self-hosted or static-pod-hosted) func PerformControlPlaneUpgrade(flags *applyFlags, client clientset.Interface, waiter apiclient.Waiter, initCfg *kubeadmapi.InitConfiguration, upgradeCfg *kubeadmapi.UpgradeConfiguration) error { // OK, the cluster is hosted using static pods. Upgrade a static-pod hosted cluster
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 28 03:55:23 UTC 2024 - 11.6K bytes - Viewed (0) -
src/strconv/quote_test.go
} in += suffix got, gotErr = QuotedPrefix(in) if gotErr == nil && wantErr != nil { _, wantErr = Unquote(got) // original input had trailing junk, reparse with only valid prefix want = got } if got != want || gotErr != wantErr { t.Errorf("QuotedPrefix(%q) = (%q, %v), want (%q, %v)", in, got, gotErr, want, wantErr) } } func BenchmarkUnquoteEasy(b *testing.B) { for i := 0; i < b.N; i++ {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 31 20:37:15 UTC 2022 - 9.6K bytes - Viewed (0) -
src/net/textproto/reader_test.go
r := reader(s) wantErr := true switch { case i >= 0x21 && i <= 0x7e: wantErr = false case i == ' ': wantErr = false case i == '\t': wantErr = false case i >= 0x80 && i <= 0xff: wantErr = false } m, err := r.ReadMIMEHeader() if (err != nil) != wantErr { t.Errorf("ReadMIMEHeader(%q) = %v, %v; want error=%v", s, m, err, wantErr) } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 05 18:31:56 UTC 2024 - 14.7K bytes - Viewed (0)