Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 83 for ResourceNames (0.31 sec)

  1. staging/src/k8s.io/api/admissionregistration/v1alpha1/types_swagger_doc_generated.go

    	return map_MatchResources
    }
    
    var map_NamedRuleWithOperations = map[string]string{
    	"":              "NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.",
    	"resourceNames": "ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.",
    }
    
    func (NamedRuleWithOperations) SwaggerDoc() map[string]string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jul 20 16:30:10 UTC 2023
    - 27K bytes
    - Viewed (0)
  2. pkg/apis/rbac/validation/validation.go

    			allErrs = append(allErrs, field.Invalid(fldPath.Child("nonResourceURLs"), rule.NonResourceURLs, "namespaced rules cannot apply to non-resource URLs"))
    		}
    		if len(rule.APIGroups) > 0 || len(rule.Resources) > 0 || len(rule.ResourceNames) > 0 {
    			allErrs = append(allErrs, field.Invalid(fldPath.Child("nonResourceURLs"), rule.NonResourceURLs, "rules cannot apply to both regular resources and non-resource URLs"))
    		}
    		return allErrs
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:48:21 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  3. pkg/controller/resourcequota/resource_quota_controller.go

    		errs = append(errs, err)
    	}
    	for key, value := range newUsage {
    		used[key] = value
    	}
    
    	// ensure set of used values match those that have hard constraints
    	hardResources := quota.ResourceNames(hardLimits)
    	used = quota.Mask(used, hardResources)
    
    	// Create a usage object that is based on the quota resource version that will handle updates
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/admissionregistration/v1alpha1/generated.proto

    }
    
    // NamedRuleWithOperations is a tuple of Operations and Resources with ResourceNames.
    // +structType=atomic
    message NamedRuleWithOperations {
      // ResourceNames is an optional white list of names that the rule applies to.  An empty set means that everything is allowed.
      // +listType=atomic
      // +optional
      repeated string resourceNames = 1;
    
      // RuleWithOperations is a tuple of Operations and Resources.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  5. pilot/pkg/xds/eds_sh_test.go

    	res := ads.RequestResponseAck(t, &discovery.DiscoveryRequest{
    		Node: &core.Node{
    			Id:       ads.ID,
    			Metadata: metadata,
    		},
    		TypeUrl:       v3.EndpointType,
    		ResourceNames: []string{clusterName},
    	})
    	cla := xdstest.UnmarshalClusterLoadAssignment(t, res.Resources)[0]
    	eps := cla.Endpoints
    
    	if len(eps) != 1 {
    		t.Fatalf("expecting 1 locality endpoint but got %d", len(eps))
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 12 18:20:36 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/quota/v1/resources_test.go

    				corev1.ResourceMemory: resource.MustParse("1Gi"),
    			},
    			expected: []corev1.ResourceName{corev1.ResourceMemory, corev1.ResourceCPU},
    		},
    	}
    	for testName, testCase := range testCases {
    		actualSet := ToSet(ResourceNames(testCase.a))
    		expectedSet := ToSet(testCase.expected)
    		if !actualSet.Equal(expectedSet) {
    			t.Errorf("%s expected: %v, actual: %v", testName, expectedSet, actualSet)
    		}
    	}
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 12 01:57:38 UTC 2021
    - 15.6K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/audit/policy/checker_test.go

    			},
    		},
    		"clusterRoleEdit": {
    			Level: audit.LevelRequest,
    			Resources: []audit.GroupResources{{
    				Group:         "rbac.authorization.k8s.io",
    				Resources:     []string{"clusterroles"},
    				ResourceNames: []string{"edit"},
    			}},
    		},
    		"omit RequestReceived": {
    			Level: audit.LevelRequest,
    			OmitStages: []audit.Stage{
    				audit.StageRequestReceived,
    			},
    		},
    		"only audit panic": {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 12 15:06:14 UTC 2021
    - 15.1K bytes
    - Viewed (0)
  8. pkg/istio-agent/xds_proxy.go

    		// Convert SotW to Delta.
    		connection.sendDeltaRequest(&discovery.DeltaDiscoveryRequest{
    			Node:                   req.Node,
    			TypeUrl:                req.TypeUrl,
    			ResourceNamesSubscribe: req.ResourceNames,
    		})
    	} else {
    		connection.sendRequest(req)
    	}
    
    	delay := time.NewTimer(timeout)
    	defer delay.Stop()
    
    	// Wait for expected response or timeout
    	for {
    		select {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  9. pilot/pkg/networking/core/cluster.go

    	servicePortClusters := make(map[string]map[int]string)
    	// Holds subset clusters per service, keyed by hostname.
    	subsetClusters := make(map[string]sets.String)
    
    	for _, cluster := range watched.ResourceNames {
    		// WatchedResources.ResourceNames will contain the names of the clusters it is subscribed to. We can
    		// check with the name of our service (cluster names are in the format outbound|<port>|<subset>|<hostname>).
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 33K bytes
    - Viewed (0)
  10. pkg/adsc/adsc.go

    		nonce = ex.Nonce
    	}
    	_ = a.stream.Send(&discovery.DiscoveryRequest{
    		ResponseNonce: nonce,
    		VersionInfo:   version,
    		Node:          a.node(),
    		TypeUrl:       typeurl,
    		ResourceNames: rsc,
    	})
    }
    
    func (a *ADSC) ack(msg *discovery.DiscoveryResponse) {
    	var resources []string
    
    	if strings.HasPrefix(msg.TypeUrl, v3.DebugType) {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Feb 05 22:18:49 UTC 2024
    - 35K bytes
    - Viewed (0)
Back to top