Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 779 for to (0.22 sec)

  1. tests/associations_belongs_to_test.go

    	DB.Model(&users).Association("Manager").Append(
    		GetUser("manager-slice-belongs-to-1", Config{}),
    		GetUser("manager-slice-belongs-to-2", Config{}),
    		GetUser("manager-slice-belongs-to-3", Config{}),
    	)
    	AssertAssociationCount(t, users, "Manager", 3, "After Append")
    
    	if err := DB.Model(&users).Association("Manager").Append(
    		GetUser("manager-slice-belongs-to-test-1", Config{}),
    	).Error; err == nil {
    Go
    - Registered: Sun Apr 28 09:35:09 GMT 2024
    - Last Modified: Mon Oct 30 09:15:49 GMT 2023
    - 9.3K bytes
    - Viewed (0)
  2. cmd/bucket-policy-handlers_test.go

    			t.Fatalf("Test %d: Failed to create HTTP request for PutBucketPolicyHandler: <ERROR> %v", i+1, err)
    		}
    		// Since `apiRouter` satisfies `http.Handler` it has a ServeHTTP to execute the logic of the handler.
    		// Call the ServeHTTP to execute the handler.
    		apiRouter.ServeHTTP(recV4, reqV4)
    		if recV4.Code != testPolicy.expectedRespStatus {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 32.7K bytes
    - Viewed (0)
  3. internal/store/batch_test.go

    		t.Fatalf("unable to get the items from the batch; %v", err)
    	}
    	if len(items) != 1 {
    		t.Fatalf("Expected length of the batch items to be 1 but got %v", len(items))
    	}
    	if len(keys) != 1 {
    		t.Fatalf("Expected length of the batch keys to be 1 but got %v", len(items))
    	}
    	// try adding again after Get.
    	for i := 0; i < int(limit); i++ {
    		if err := batch.Add(i, i); err != nil {
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Sat Oct 07 15:07:38 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  4. internal/config/errors.go

    		"WORM can only accept `on` and `off` values. To enable WORM, set this value to `on`",
    	)
    
    	ErrInvalidConfigDecryptionKey = newErrFn(
    		"Incorrect encryption key to decrypt internal data",
    		"Please set the correct default KMS key value or the correct root credentials for older MinIO versions.",
    		`Revert MINIO_KMS_KES_KEY_NAME or MINIO_ROOT_USER/MINIO_ROOT_PASSWORD (for older MinIO versions) to be able to decrypt the internal data again.`,
    	)
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 18 22:25:32 GMT 2024
    - 9.1K bytes
    - Viewed (0)
  5. src/archive/zip/writer.go

    	return err
    }
    
    // CreateRaw adds a file to the zip archive using the provided [FileHeader] and
    // returns a [Writer] to which the file contents should be written. The file's
    // contents must be written to the io.Writer before the next call to [Writer.Create],
    // [Writer.CreateHeader], [Writer.CreateRaw], or [Writer.Close].
    //
    // In contrast to [Writer.CreateHeader], the bytes passed to Writer are not compressed.
    //
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  6. internal/dsync/drwmutex.go

    	// Return true if releaseAll was successful, otherwise we return 'false'
    	// to indicate we haven't sufficiently unlocked lockers to avoid deadlocks.
    	//
    	// Caller may use this as an indication to call again.
    	return !checkFailedUnlocks(*locks, tolerance)
    }
    
    // Unlock unlocks the write lock.
    //
    // It is a run-time error if dm is not locked on entry to Unlock.
    func (dm *DRWMutex) Unlock(ctx context.Context) {
    	dm.m.Lock()
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 19.7K bytes
    - Viewed (0)
  7. cmd/ftp-server.go

    			}
    			if port < 1 || port > 65535 {
    				logger.Fatal(fmt.Errorf("invalid arguments passed to --ftp=%s, (port number must be between 1 to 65535)", arg), "unable to start FTP server")
    			}
    			publicIP = host
    		case "passive-port-range":
    			portRange = tokens[1]
    		case "tls-private-key":
    			tlsPrivateKey = tokens[1]
    		case "tls-public-cert":
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 03:07:08 GMT 2024
    - 4.8K bytes
    - Viewed (2)
  8. cmd/admin-handlers-users_test.go

    	if err != nil {
    		c.Fatalf("Unable to set user: %v", err)
    	}
    	// 3.1 check that user does not have any access to the bucket
    	uClient := s.getUserClient(c, accessKey, secretKey, "")
    	c.mustNotListObjects(ctx, uClient, "testbucket")
    
    	// 3.2 associate policy to user
    	err = s.adm.SetPolicy(ctx, policy1, accessKey, false)
    	if err != nil {
    		c.Fatalf("Unable to set policy: %v", err)
    	}
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Feb 12 16:36:16 GMT 2024
    - 45.7K bytes
    - Viewed (0)
  9. operator/cmd/mesh/install.go

    )
    
    type InstallArgs struct {
    	// InFilenames is an array of paths to the input IstioOperator CR files.
    	InFilenames []string
    	// ReadinessTimeout is maximum time to wait for all Istio resources to be ready. wait must be true for this setting
    	// to take effect.
    	ReadinessTimeout time.Duration
    	// SkipConfirmation determines whether the user is prompted for confirmation.
    	// If set to true, the user is not prompted and a Yes response is assumed in all cases.
    Go
    - Registered: Wed Mar 20 22:53:08 GMT 2024
    - Last Modified: Fri Mar 15 01:18:49 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  10. cni/pkg/nodeagent/informers.go

    	switch event.Event {
    	case controllers.EventAdd:
    		// pod was added to our cache
    		// we get here in 2 cases:
    		// 1. new pod was created on our node
    		// 2. we were restarted and current existing pods are added to our cache
    
    		// We have no good way to distinguish between these two cases from here. But we don't need to!
    		// Existing pods will be handled by the dataplane using `GetAmbientPods`,
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Thu Feb 08 01:03:24 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top