Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for myuser1 (0.05 sec)

  1. tests/count_test.go

    	}
    }
    
    func TestCount(t *testing.T) {
    	var (
    		user1                 = *GetUser("count-1", Config{})
    		user2                 = *GetUser("count-2", Config{})
    		user3                 = *GetUser("count-3", Config{})
    		users                 []User
    		count, count1, count2 int64
    	)
    
    	DB.Save(&user1).Save(&user2).Save(&user3)
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Oct 30 09:15:49 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  2. cmd/postpolicyform_test.go

    		{Bucket: "testbucket", Key: "user/user1/filename/${filename}/myfile.txt", XAmzMetaUUID: "14365123651274", SuccessActionStatus: "201", XAmzCredential: "KVGKMDUQ23TCZXTLTHLP/20160727/us-east-1/s3/aws4_request", XAmzDate: "20160727T000000Z", XAmzAlgorithm: "AWS4-HMAC-SHA256", ContentType: "image/jpeg", expectedErr: nil},
    		// Expired policy document
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 8.9K bytes
    - Viewed (0)
  3. tests/connpool_test.go

    		t.Fatalf("Should find saved record, but got %v", err)
    	}
    
    	user1 := *GetUser("transaction1-1", Config{})
    
    	if err = tx.Save(&user1).Error; err != nil {
    		t.Fatalf("No error should raise, but got %v", err)
    	}
    
    	if err = tx.First(&User{}, "name = ?", user1.Name).Error; err != nil {
    		t.Fatalf("Should find saved record, but got %v", err)
    	}
    
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Feb 06 02:54:40 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. docs/multi-user/admin/README.md

    ### 3. Configure `mc` and create another user user1 with attached policy user1policy
    
    ```
    mc alias set myminio-admin1 http://localhost:9000 admin1 admin123 --api s3v4
    
    mc admin user add myminio-admin1 user1 user123
    mc admin policy attach myminio-admin1 user1policy ~/user1policy.json
    mc admin policy attach myminio-admin1 user1policy --user=user1
    ```
    
    ### 4. List of permissions defined for admin operations
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  5. internal/auth/credentials_test.go

    		// Empty credentials.
    		{Credentials{}, cred, false},
    		// Two different credentialss
    		{cred, cred2, false},
    		// Access key is different in credentials to compare.
    		{cred, Credentials{AccessKey: "myuser", SecretKey: cred.SecretKey}, false},
    		// Secret key is different in credentials to compare.
    		{cred, Credentials{AccessKey: cred.AccessKey, SecretKey: "mypassword"}, false},
    	}
    
    	for i, testCase := range testCases {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Mar 01 21:09:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  6. tests/delete_test.go

    	}
    }
    
    func TestInlineCondDelete(t *testing.T) {
    	user1 := *GetUser("inline_delete_1", Config{})
    	user2 := *GetUser("inline_delete_2", Config{})
    	DB.Save(&user1).Save(&user2)
    
    	if DB.Delete(&User{}, user1.ID).Error != nil {
    		t.Errorf("No error should happen when delete a record")
    	} else if err := DB.Where("name = ?", user1.Name).First(&User{}).Error; !errors.Is(err, gorm.ErrRecordNotFound) {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Tue Oct 10 07:03:34 UTC 2023
    - 9.4K bytes
    - Viewed (0)
  7. docs/tls/README.md

    Download and decompress the Windows version of GnuTLS from [here](http://www.gnutls.org/download.html).
    
    Use PowerShell to add the path of the extracted GnuTLS binary to the system path:
    
    ```
    setx path "%path%;C:\Users\MyUser\Downloads\gnutls-3.4.9-w64\bin"
    ```
    
    **Note:** PowerShell may need to be restarted for this change to take effect.
    
    #### 3.3.2 Generate a private key
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.4K bytes
    - Viewed (0)
  8. docs/docker/README.md

    ```powershell
    docker run \
      -p 9000:9000 \
      -p 9001:9001 \
      --name minio1 \
      --security-opt "credentialspec=file://myuser.json"
      -e "MINIO_ROOT_USER=AKIAIOSFODNN7EXAMPLE" \
      -e "MINIO_ROOT_PASSWORD=wJalrXUtnFEMIK7MDENGbPxRfiCYEXAMPLEKEY" \
      -v D:\data:/data \
      quay.io/minio/minio server /data --console-address ":9001"
    ```
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.2K bytes
    - Viewed (0)
  9. docs/em/docs/features.md

    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    ๐Ÿ‘ˆ ๐Ÿ’ช โคด๏ธ โš™๏ธ ๐Ÿ’–:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. docs/en/docs/features.md

    def main(user_id: str):
        return user_id
    
    
    # A Pydantic model
    class User(BaseModel):
        id: int
        name: str
        joined: date
    ```
    
    That can then be used like:
    
    ```Python
    my_user: User = User(id=3, name="John Doe", joined="2018-07-19")
    
    second_user_data = {
        "id": 4,
        "name": "Mary",
        "joined": "2018-11-30",
    }
    
    my_second_user: User = User(**second_user_data)
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Aug 15 23:30:12 UTC 2024
    - 9.2K bytes
    - Viewed (0)
Back to top