Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 2,036 for allowGet (0.21 sec)

  1. plugin/pkg/admission/certificates/approval/admission_test.go

    					err:         test.authzErr,
    				},
    			}
    			err := p.Validate(context.Background(), test.attributes, nil)
    			if err == nil && !test.allowed {
    				t.Errorf("Expected authorization policy to reject CSR but it was allowed")
    			}
    			if err != nil && test.allowed {
    				t.Errorf("Expected authorization policy to accept CSR but it was rejected: %v", err)
    			}
    		})
    	}
    }
    
    type fakeAuthorizer struct {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 27 15:50:14 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/api/DeprecatedConfigurationUsageIntegrationTest.groovy

            'resolve()'                  | 'dependencyScope' | 'resolve()'                                                                                                                          || "Resolving dependency configuration 'custom' is not allowed as it is defined as 'canBeResolved=false'."
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Jan 09 02:32:37 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/list_import_cycle_deps_errors.txt

    				"m/a",
    				"m/b",
    				"m/c",
    				"m/a"
    			],
    			"Pos": "",
    			"Err": "import cycle not allowed"
    		}
    	]
    }
    {
    	"ImportPath": "m/b",
    	"DepsErrors": [
    		{
    			"ImportStack": [
    				"m/a",
    				"m/b",
    				"m/c",
    				"m/a"
    			],
    			"Pos": "",
    			"Err": "import cycle not allowed"
    		}
    	]
    }
    {
    	"ImportPath": "m/a",
    	"Error": {
    		"ImportStack": [
    			"m/a",
    			"m/b",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 11 19:18:27 UTC 2023
    - 880 bytes
    - Viewed (0)
  4. src/cmd/go/testdata/script/mod_internal.txt

    go get ./baddep
    ! go build ./baddep
    stderr golang.org[/\\]notx[/\\]useinternal
    stderr 'use of internal package golang.org/x/.* not allowed'
    
    # Internal packages in the standard library should not leak into modules.
    go get ./fromstd
    ! go build ./fromstd
    stderr 'use of internal package internal/testenv not allowed'
    
    # Dependencies should be able to use their own internal modules...
    go mod edit -module=golang.org/notx
    go get ./throughdep
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 28 17:19:14 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  5. cmd/import-boss/testdata/transitive/allowed/file.go

    package allowed
    
    import (
    	_ "k8s.io/kubernetes/cmd/import-boss/testdata/transitive/allowed/a2"
    	_ "k8s.io/kubernetes/cmd/import-boss/testdata/transitive/forbidden/f2"
    	_ "k8s.io/kubernetes/cmd/import-boss/testdata/transitive/neither/n2"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:36 UTC 2024
    - 259 bytes
    - Viewed (0)
  6. pkg/apis/authorization/types.go

    type SubjectAccessReviewStatus struct {
    	// Allowed is required. True if the action would be allowed, false otherwise.
    	Allowed bool
    	// Denied is optional. True if the action would be denied, otherwise
    	// false. If both allowed is false and denied is false, then the
    	// authorizer has no opinion on whether to authorize the action. Denied
    	// may not be true if Allowed is true.
    	Denied bool
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 08:53:21 UTC 2019
    - 10K bytes
    - Viewed (0)
  7. cmd/import-boss/testdata/simple-fwd/allowed/file.go

    package allowed
    
    import (
    	_ "k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/allowed/a2"
    	_ "k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/forbidden/f2"
    	_ "k8s.io/kubernetes/cmd/import-boss/testdata/simple-fwd/neither/n2"
    )
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:07:36 UTC 2024
    - 259 bytes
    - Viewed (0)
  8. pkg/registry/authorization/subjectaccessreview/rest_test.go

    			decision: authorizer.DecisionAllow,
    			reason:   "allowed",
    			err:      nil,
    			expectedAttrs: authorizer.AttributesRecord{
    				User:            &user.DefaultInfo{Name: "bob"},
    				Verb:            "get",
    				Path:            "/mypath",
    				ResourceRequest: false,
    			},
    			expectedStatus: authorizationapi.SubjectAccessReviewStatus{
    				Allowed:         true,
    				Reason:          "allowed",
    				EvaluationError: "",
    			},
    		},
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 25 16:06:18 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  9. plugin/pkg/admission/certificates/ctbattest/admission_test.go

    			p.InspectFeatureGates(feature.DefaultFeatureGate)
    
    			err := p.Validate(context.Background(), tc.attributes, nil)
    			if err == nil && !tc.allowed {
    				t.Errorf("Expected authorization policy to reject ClusterTrustBundle but it was allowed")
    			}
    			if err != nil && tc.allowed {
    				t.Errorf("Expected authorization policy to accept ClusterTrustBundle but it was rejected: %v", err)
    			}
    		})
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  10. tests/integration/security/testdata/authz/allow-namespace.yaml.tmpl

          from:
            - source:
                namespaces: [ "{{ .Allowed.NamespaceName }}" ]
        - to:
            - operation: # GRPC
                ports: [ "{{ (.To.PortForName `grpc`).WorkloadPort }}" ]
                paths: [ "/proto.EchoTestService/Echo" ]
                methods: [ "POST" ]
          from:
            - source:
                namespaces: [ "{{ .Allowed.NamespaceName }}" ]
        - to:
            - operation: # TCP
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 08 07:03:01 UTC 2023
    - 983 bytes
    - Viewed (0)
Back to top