- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 48 for Getcwd (0.18 sec)
-
src/syscall/syscall_windows.go
Stderr = getStdHandle(STD_ERROR_HANDLE) ) func getStdHandle(h int) (fd Handle) { r, _ := GetStdHandle(h) return r } const ImplementsGetwd = true func Getwd() (wd string, err error) { b := make([]uint16, 300) // The path of the current directory may not fit in the initial 300-word // buffer when long path support is enabled. The current directory may also
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 11:49:46 UTC 2024 - 52.7K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go
cacher, _, err := newTestCacher(etcdStorage) if err != nil { t.Fatalf("Couldn't create cacher: %v", err) } defer cacher.Stop() // Given that cacher is always initialized from the "current" version of etcd, // we now have a cacher with an empty cache of watch events and a resourceVersion of rv. // It should support establishing watches from rv and higher, but not older.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 10:12:02 UTC 2024 - 82.9K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/customresource_handler.go
scaleRequestScopes map[string]*handlers.RequestScope // Status scope per version statusRequestScopes map[string]*handlers.RequestScope // storageVersion is the CRD version used when storing the object in etcd. storageVersion string waitGroup *utilwaitgroup.SafeWaitGroup } // crdStorageMap goes from customresourcedefinition to its storage type crdStorageMap map[types.UID]*crdInfo
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 52.9K bytes - Viewed (0) -
src/cmd/go/go_test.go
} } } tg.inParallel = true tg.t.Parallel() } // pwd returns the current directory. func (tg *testgoData) pwd() string { tg.t.Helper() wd, err := os.Getwd() if err != nil { tg.t.Fatalf("could not get working directory: %v", err) } return wd } // sleep sleeps for one tick, where a tick is a conservative estimate
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 81.1K bytes - Viewed (0) -
pkg/controller/nodelifecycle/node_lifecycle_controller.go
defer func() { updateAllNodesHealthDuration.Observe(time.Since(start.Time).Seconds()) }() // We are listing nodes from local cache as we can tolerate some small delays // comparing to state from etcd and there is eventual consistency anyway. nodes, err := nc.nodeLister.List(labels.Everything()) if err != nil { return err } added, deleted, newZoneRepresentatives := nc.classifyNodes(nodes)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 51.6K bytes - Viewed (0) -
src/cmd/internal/testdir/testdir_test.go
if runInDir != "" { cmd.Dir = runInDir // Set PWD to match Dir to speed up os.Getwd in the child process. cmd.Env = append(cmd.Env, "PWD="+cmd.Dir) } else { // Default to running in the GOROOT/test directory. cmd.Dir = t.gorootTestDir // Set PWD to match Dir to speed up os.Getwd in the child process. cmd.Env = append(cmd.Env, "PWD="+cmd.Dir) } if tempDirIsGOPATH {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 21 20:08:06 UTC 2024 - 57.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/registry/rest/resttest/resttest.go
t.Errorf("unexpected error: %v", err) } } // This test the fast-fail path. We test that the precondition gets verified // again before deleting the object in tests of pkg/storage/etcd. func (t *Tester) testDeleteWithUID(obj runtime.Object, createFn CreateFunc, getFn GetFunc, isNotFoundFn IsErrorFunc, opts metav1.DeleteOptions) { ctx := t.TestContext() foo := obj.DeepCopyObject()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 55.8K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/binder_test.go
expectedClaims: noclaims, expectedEvents: noevents, errors: noerrors, test: testSyncVolume, }, { // syncVolume with volume bound to claim which exists in etcd but not in the local cache. // Check that nothing changes, in contrast to case 4-10 above. name: "4-11 - volume bound to unknown claim",
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 14 00:37:30 UTC 2023 - 65.8K bytes - Viewed (0) -
cmd/admin-handlers-users.go
defer done() return loadDataUsageFromBackend(ctx, objectAPI) }, ) dataUsageInfo, _ := bucketStorageCache.Get() // If etcd, dns federation configured list buckets from etcd. var err error var buckets []BucketInfo if globalDNSConfig != nil && globalBucketFederation { dnsBuckets, err := globalDNSConfig.List() if err != nil && !IsErrIgnored(err,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue May 28 17:19:04 UTC 2024 - 78.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
ws.Produces(append(mediaTypes, streamMediaTypes...)...) ws.ApiVersion(a.group.GroupVersion.String()) return ws } // calculate the storage gvk, the gvk objects are converted to before persisted to the etcd. func getStorageVersionKind(storageVersioner runtime.GroupVersioner, storage rest.Storage, typer runtime.ObjectTyper) (schema.GroupVersionKind, error) { object := storage.New() fqKinds, _, err := typer.ObjectKinds(object)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0)