Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 37 of 37 for Getcwd (0.14 sec)

  1. staging/src/k8s.io/apiserver/pkg/registry/generic/registry/store_test.go

    	if err != nil {
    		t.Fatalf("Unexpected error: %v", err)
    	}
    
    	if createdMeta.GetResourceVersion() != updatedMeta.GetResourceVersion() {
    		t.Errorf("no-op update should be ignored and not written to etcd")
    	}
    }
    
    func TestStoreUpdateHooks(t *testing.T) {
    	// To track which hooks were called in what order.  Not all hooks can
    	// mutate the object.
    	var milestones []string
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 101.8K bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. cmd/object-handlers.go

    	objectEncryption := crypto.Requested(r.Header)
    	objectEncryption = objectEncryption || crypto.IsSourceEncrypted(srcInfo.UserDefined)
    
    	var compressMetadata map[string]string
    	// No need to compress for remote etcd calls
    	// Pass the decompressed stream to such calls.
    	isDstCompressed := isCompressible(r.Header, dstObject) &&
    		length > minCompressibleSize &&
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  7. CREDITS

    CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
    
    ================================================================
    
    go.etcd.io/etcd/api/v3
    https://go.etcd.io/etcd/api/v3
    ----------------------------------------------------------------
    
                                     Apache License
                               Version 2.0, January 2004
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 15:34:20 UTC 2024
    - 1.7M bytes
    - Viewed (0)
Back to top