Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 149 for ResourceNames (0.21 sec)

  1. pkg/apis/rbac/v1/helpers.go

    	r.PolicyRule.Resources = append(r.PolicyRule.Resources, resources...)
    	return r
    }
    
    func (r *PolicyRuleBuilder) Names(names ...string) *PolicyRuleBuilder {
    	r.PolicyRule.ResourceNames = append(r.PolicyRule.ResourceNames, names...)
    	return r
    }
    
    func (r *PolicyRuleBuilder) URLs(urls ...string) *PolicyRuleBuilder {
    	r.PolicyRule.NonResourceURLs = append(r.PolicyRule.NonResourceURLs, urls...)
    	return r
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 18 15:37:57 UTC 2023
    - 7.4K bytes
    - Viewed (0)
  2. staging/src/k8s.io/apiserver/pkg/authorization/authorizer/rule.go

    }
    
    // DefaultResourceRuleInfo holds information that describes a rule for the resource
    type DefaultResourceRuleInfo struct {
    	Verbs         []string
    	APIGroups     []string
    	Resources     []string
    	ResourceNames []string
    }
    
    func (i *DefaultResourceRuleInfo) GetVerbs() []string {
    	return i.Verbs
    }
    
    func (i *DefaultResourceRuleInfo) GetAPIGroups() []string {
    	return i.APIGroups
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Sep 01 11:09:43 UTC 2017
    - 2.1K bytes
    - Viewed (0)
  3. pilot/pkg/networking/grpcgen/grpcgen.go

    	switch w.TypeUrl {
    	case v3.ListenerType:
    		return g.BuildListeners(proxy, req.Push, w.ResourceNames), model.DefaultXdsLogDetails, nil
    	case v3.ClusterType:
    		return g.BuildClusters(proxy, req.Push, w.ResourceNames), model.DefaultXdsLogDetails, nil
    	case v3.RouteType:
    		return g.BuildHTTPRoutes(proxy, req.Push, w.ResourceNames), model.DefaultXdsLogDetails, nil
    	}
    
    	return nil, model.DefaultXdsLogDetails, nil
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  4. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/FilteringClassLoaderSpecSerializerTest.groovy

            def packageNames = [ 'allowed.pkg1', 'allowed.pkg2' ]
            def resourceNames = [ 'allowed.resource1', 'allowed.resource2' ]
            def resourcePrefixes = [ 'allowed.resourcePrefix1.', 'allowed.resourcePrefix2.' ]
            def spec = new FilteringClassLoader.Spec(classNames, packageNames, packagePrefixes, resourcePrefixes, resourceNames, disallowedClassNames, disallowedPackagePrefixes)
    
            when:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:36:27 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  5. pilot/pkg/xds/ecds.go

    	if !ecdsNeedsPush(req) {
    		return nil, model.DefaultXdsLogDetails, nil
    	}
    
    	wasmSecrets := referencedSecrets(proxy, req.Push, w.ResourceNames)
    
    	// When referenced configs are ONLY updated (like secret update), we should push
    	// if the referenced config is relevant for ECDS. A secret update is relevant
    	// only if it is referred via WASM plugin.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jan 16 18:25:42 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  6. pkg/apis/rbac/helpers_test.go

    			urls:      nil,
    			expected:  true,
    			policyRule: rbac.PolicyRule{
    				Verbs:           []string{"get"},
    				APIGroups:       []string{""},
    				Resources:       []string{"pod"},
    				ResourceNames:   []string{"gakki"},
    				NonResourceURLs: []string{},
    			},
    		},
    		{
    			testName:  "normal noResourceURLs case",
    			verbs:     []string{"get"},
    			groups:    nil,
    			resources: nil,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 12 15:46:12 UTC 2023
    - 9.2K bytes
    - Viewed (0)
  7. pilot/pkg/xds/debuggen.go

    	}
    	if w.ResourceNames == nil || len(w.ResourceNames) != 1 {
    		return status.Error(codes.InvalidArgument, "exactly one debug request is required")
    	}
    	return nil
    }
    
    func parseAndValidateDebugRequest(proxy *model.Proxy, w *model.WatchedResource, dg *DebugGen) (string, error) {
    	resourceName := w.ResourceNames[0]
    	u, _ := url.Parse(resourceName)
    	debugType := u.Path
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Dec 04 18:51:52 UTC 2023
    - 4.9K bytes
    - Viewed (0)
  8. platforms/core-execution/workers/src/test/groovy/org/gradle/workers/internal/TransportableActionExecutionSpecSerializerTest.groovy

            def packageNames = [ 'allowed.pkg1', 'allowed.pkg2' ]
            def resourceNames = [ 'allowed.resource1', 'allowed.resource2' ]
            def resourcePrefixes = [ 'allowed.resourcePrefix1.', 'allowed.resourcePrefix2.' ]
            return new FilteringClassLoader.Spec(classNames, packageNames, packagePrefixes, resourcePrefixes, resourceNames, disallowedClassNames, disallowedPackagePrefixes)
        }
    
        def visitableUrlClassloaderSpec() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jan 10 15:52:50 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  9. pilot/pkg/xds/workload.go

    		// the internal book-keeping to subscribe to the Pods, so that we push updates to those Pods.
    		w.ResourceNames = subs.Merge(have).UnsortedList()
    	} else {
    		// For wildcard, we record all resources that have been pushed and not removed
    		// It was to correctly calculate removed resources during full push alongside with specific address removed.
    		w.ResourceNames = subs.Merge(have).Difference(removed).UnsortedList()
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 14:14:30 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  10. platforms/core-execution/workers/src/main/java/org/gradle/workers/internal/FilteringClassLoaderSpecSerializer.java

            List<String> packageNames = decodeStrings(decoder);
            List<String> resourceNames = decodeStrings(decoder);
            List<String> resourcePrefixes = decodeStrings(decoder);
    
            return new FilteringClassLoader.Spec(classNames, packageNames, packagePrefixes, resourcePrefixes, resourceNames, disallowedClassNames, disallowedPackagePrefixes);
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 2.7K bytes
    - Viewed (0)
Back to top