Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TestIsDefaultRegistryMatch (0.25 sec)

  1. pkg/credentialprovider/keyring_test.go

    		t.Errorf("Unexpected password value, want: %s, got: %s", password, val.Password)
    	}
    	if email != val.Email {
    		t.Errorf("Unexpected email value, want: %s, got: %s", email, val.Email)
    	}
    }
    
    func TestIsDefaultRegistryMatch(t *testing.T) {
    	samples := []map[bool]string{
    		{true: "foo/bar"},
    		{true: "docker.io/foo/bar"},
    		{true: "index.docker.io/foo/bar"},
    		{true: "foo"},
    		{false: ""},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 15 10:47:22 UTC 2023
    - 15.1K bytes
    - Viewed (0)
Back to top