Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 48 of 48 for Getcwd (0.13 sec)

  1. pkg/controller/volume/persistentvolume/pv_controller.go

    	// thread safe as long as the volumes/claims there are not modified, they
    	// must be cloned before any modification. These caches get updated both by
    	// "xxx added/updated/deleted" events from etcd and by the controller when
    	// it saves newer version to etcd.
    	// Why local cache: binding a volume to a claim generates 4 events, roughly
    	// in this order (depends on goroutine ordering):
    	// - volume.Spec update
    	// - volume.Status update
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 08:42:31 UTC 2024
    - 89.2K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/testdata/swagger.json

            },
            "storedVersions": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Mar 13 18:37:59 UTC 2023
    - 55.4K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    func StartTestTLSServer(t TestErrHandler, instanceType string, cert, key []byte) TestServer {
    	// Fetch TLS key and pem files from test-data/ directory.
    	//	dir, _ := os.Getwd()
    	//	testDataDir := filepath.Join(filepath.Dir(dir), "test-data")
    	//
    	//	pemFile := filepath.Join(testDataDir, "server.pem")
    	//	keyFile := filepath.Join(testDataDir, "server.key")
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:50:49 UTC 2024
    - 76.9K bytes
    - Viewed (0)
  4. src/go/build/build.go

    	// Since go1.13, it doesn't matter if we're inside GOPATH.
    	if go111Module == "auto" {
    		var (
    			parent string
    			err    error
    		)
    		if ctxt.Dir == "" {
    			parent, err = os.Getwd()
    			if err != nil {
    				// A nonexistent working directory can't be in a module.
    				return errNoModules
    			}
    		} else {
    			parent, err = filepath.Abs(ctxt.Dir)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  5. cmd/api-errors.go

    	if err == errInvalidDecompressedSize {
    		apiErr = ErrInvalidDecompressedSize
    	}
    
    	if apiErr != ErrNone {
    		// If there was a match in the above switch case.
    		return apiErr
    	}
    
    	// etcd specific errors, a key is always a bucket for us return
    	// ErrNoSuchBucket in such a case.
    	if errors.Is(err, dns.ErrNoEntriesFound) {
    		return ErrNoSuchBucket
    	}
    
    	switch err.(type) {
    	case StorageFull:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 92.1K bytes
    - Viewed (0)
  6. src/cmd/vendor/golang.org/x/sys/windows/syscall_windows.go

    	Stderr = getStdHandle(STD_ERROR_HANDLE)
    )
    
    func getStdHandle(stdhandle uint32) (fd Handle) {
    	r, _ := GetStdHandle(stdhandle)
    	return r
    }
    
    const ImplementsGetwd = true
    
    func Getwd() (wd string, err error) {
    	b := make([]uint16, 300)
    	n, e := GetCurrentDirectory(uint32(len(b)), &b[0])
    	if e != nil {
    		return "", e
    	}
    	return string(utf16.Decode(b[0:n])), nil
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 05 22:18:42 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. cmd/iam-store.go

    		return v, ok
    	}
    	return cache.iamUserPolicyMap.Load(name)
    }
    
    // GroupNotificationHandler - updates in-memory cache on notification of
    // change (e.g. peer notification for object storage and etcd watch
    // notification).
    func (store *IAMStoreSys) GroupNotificationHandler(ctx context.Context, group string) error {
    	cache := store.lock()
    	defer store.unlock()
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 75.8K bytes
    - Viewed (0)
  8. cmd/sts-handlers_test.go

    		testCases = append(testCases,
    			newTestSuiteIAM(bt, false),
    			newTestSuiteIAM(bt, true),
    		)
    	}
    	for i, testCase := range testCases {
    		etcdStr := ""
    		if testCase.withEtcdBackend {
    			etcdStr = " (with etcd backend)"
    		}
    		t.Run(
    			fmt.Sprintf("Test: %d, ServerType: %s%s", i+1, testCase.serverType, etcdStr),
    			func(t *testing.T) {
    				runAllIAMSTSTests(testCase, &check{t, testCase.serverType})
    			},
    		)
    	}
    }
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 18:45:50 UTC 2024
    - 90K bytes
    - Viewed (0)
Back to top