Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for bar_foo (0.19 sec)

  1. pkg/kubelet/pod/mirror_client_test.go

    	type nameTuple struct {
    		Name      string
    		Namespace string
    	}
    	successfulCases := map[string]nameTuple{
    		"bar_foo":         {Name: "bar", Namespace: "foo"},
    		"bar.org_foo.com": {Name: "bar.org", Namespace: "foo.com"},
    		"bar-bar_foo":     {Name: "bar-bar", Namespace: "foo"},
    	}
    	failedCases := []string{"barfoo", "bar_foo_foo", "", "bar_", "_foo"}
    
    	for podFullName, expected := range successfulCases {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Jan 08 12:44:09 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. subprojects/core/src/integTest/groovy/org/gradle/api/NamedDomainObjectContainerIntegrationTest.groovy

                    assert element.name in ['foo', 'barfoo']
                }
    
                testContainer.register("foo")
                testContainer.register("bar")
                testContainer.register("foobar")
                testContainer.register("barfoo")
            """
            expect:
            succeeds "help"
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  3. pkg/registry/rbac/validation/rule_test.go

    		{
    			subjects: []rbacv1.Subject{
    				{Kind: rbacv1.UserKind, Name: "barfoo"},
    				{Kind: rbacv1.UserKind, Name: "foobar"},
    			},
    			user:      &user.DefaultInfo{Name: "foobar"},
    			appliesTo: true,
    			index:     1,
    			testCase:  "multiple subjects, one that matches username",
    		},
    		{
    			subjects: []rbacv1.Subject{
    				{Kind: rbacv1.UserKind, Name: "barfoo"},
    				{Kind: rbacv1.UserKind, Name: "foobar"},
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. subprojects/core/src/integTest/groovy/org/gradle/api/TaskContainerIntegrationTest.groovy

                    assert task.path in [':foo']
                }
    
                tasks.register("foo", Copy)
                tasks.register("bar", Copy)
                tasks.register("foobar", Delete)
                tasks.register("barfoo", Delete)
            """
            expect:
            succeeds "help"
        }
    
        @Issue("https://github.com/gradle/gradle/issues/9446")
        def "chained lookup of tasks.matching.withType"() {
            buildFile """
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 07:46:00 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. security/pkg/server/ca/authenticate/oidc_test.go

    	}
    	// Create a JWT token with invalid subject, which is not prefixed with "system:serviceaccount"
    	claimsWrongSubject := `{"iss": "` + server.URL + `", "aud": ["baz.svc.id.goog"], "sub": "bar:foo", "exp": ` + expStr + `}`
    	tokenInvalidSubject, err := generateJWT(&key, []byte(claimsWrongSubject))
    	if err != nil {
    		t.Fatalf("failed to generate JWT: %v", err)
    	}
    
    	tests := map[string]struct {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. plugin/pkg/auth/authenticator/token/bootstrap/bootstrap_test.go

    						bootstrapapi.BootstrapTokenUsageAuthentication: []byte("true"),
    					},
    					Type: "bootstrap.kubernetes.io/token",
    				},
    			},
    			token:        "barfoo" + "." + tokenSecret,
    			wantNotFound: true,
    		},
    		{
    			name: "deleted token",
    			secrets: []*corev1.Secret{
    				{
    					ObjectMeta: metav1.ObjectMeta{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 04 18:36:05 UTC 2020
    - 8.3K bytes
    - Viewed (0)
  7. src/net/http/header_test.go

    	{"BAR, FOO", "foo", true},
    	{"BAR,FOO, baz", "foo", true},
    	{"BAR, FOO,BAZ", "foo", true},
    	{"BAR,FOO, BAZ", "foo", true},
    	{"BAR, FOO, BAZ", "foo", true},
    	{"foobar", "foo", false},
    	{"barfoo ", "foo", false},
    }
    
    func TestHasToken(t *testing.T) {
    	for _, tt := range hasTokenTests {
    		if hasToken(tt.header, tt.token) != tt.want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 07 01:07:32 UTC 2022
    - 6.1K bytes
    - Viewed (0)
Back to top