Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 2,092 for _selector (0.19 sec)

  1. pkg/scheduler/framework/types.go

    // AffinityTerm is a processed version of v1.PodAffinityTerm.
    type AffinityTerm struct {
    	Namespaces        sets.Set[string]
    	Selector          labels.Selector
    	TopologyKey       string
    	NamespaceSelector labels.Selector
    }
    
    // Matches returns true if the pod matches the label selector and namespaces or namespace selector.
    func (at *AffinityTerm) Matches(pod *v1.Pod, nsLabels labels.Set) bool {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 19:28:17 UTC 2024
    - 36.7K bytes
    - Viewed (0)
  2. platforms/software/dependency-management/src/main/java/org/gradle/internal/resolve/ModuleVersionResolveException.java

        private final ComponentSelector selector;
    
        public ModuleVersionResolveException(ComponentSelector selector, Factory<String> message, Throwable cause) {
            super(message, cause);
            this.selector = selector;
        }
    
        public ModuleVersionResolveException(ComponentSelector selector, Factory<String> message) {
            super(message);
            this.selector = selector;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Mar 25 19:29:09 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/labels.go

    */
    
    package v1
    
    // Clones the given selector and returns a new selector with the given key and value added.
    // Returns the given selector, if labelKey is empty.
    func CloneSelectorAndAddLabel(selector *LabelSelector, labelKey, labelValue string) *LabelSelector {
    	if labelKey == "" {
    		// Don't need to add a label.
    		return selector
    	}
    
    	// Clone.
    	newSelector := selector.DeepCopy()
    
    	if newSelector.MatchLabels == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 07 11:09:05 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  4. staging/src/k8s.io/api/autoscaling/v1/generated.proto

      // selector is the string-encoded form of a standard kubernetes label selector for the given metric.
      // When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping
      // When unset, just the metricName will be used to gather metrics.
      // +optional
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4;
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 22K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/autoscaling/v1/generated.proto

      // selector is the string-encoded form of a standard kubernetes label selector for the given metric.
      // When set, it is passed as an additional parameter to the metrics server for more specific metrics scoping
      // When unset, just the metricName will be used to gather metrics.
      // +optional
      optional k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector selector = 4;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 22K bytes
    - Viewed (0)
  6. pkg/apis/policy/v1beta1/conversion.go

    	case apiequality.Semantic.DeepEqual(in.Spec.Selector, policy.V1beta1MatchNoneSelector):
    		// If the v1beta1 version has a non-nil but empty selector, it should be
    		// selecting no pods, even when used with the internal or v1 api. We
    		// add a selector that is non-empty but will never match any pods.
    		out.Spec.Selector = policy.NonV1beta1MatchNoneSelector.DeepCopy()
    	case apiequality.Semantic.DeepEqual(in.Spec.Selector, policy.V1beta1MatchAllSelector):
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 09 15:29:11 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/execution/ProjectActivation.java

         * Mark a project as required and activated.
         * @param selector The selector of the project.
         */
        public void activateRequiredProject(String selector) {
            this.activations.add(new ProjectActivationSettings(selector, ActivationSettings.ACTIVATION_REQUIRED));
        }
    
        /**
         * Mark a project as optional and activated.
         * @param selector The selector of the project.
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Dec 26 15:12:32 UTC 2022
    - 7K bytes
    - Viewed (0)
  8. platforms/software/dependency-management/src/test/groovy/org/gradle/api/internal/artifacts/DefaultModuleVersionSelectorTest.groovy

            selector != diffVersion
        }
    
        def "knows if matches the id"() {
            def selector = newSelector(UTIL, "1.0")
            def matching = newId(UTIL, "1.0")
    
            def differentGroup = newId("xorg", "util", "1.0")
            def differentName = newId("org", "xutil", "1.0")
            def differentVersion = newId("org", "xutil", "x1.0")
    
            expect:
            selector.matchesStrictly(matching)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 2K bytes
    - Viewed (0)
  9. pkg/scheduler/testing/framework/fake_listers.go

    func (f ControllerLister) List(labels.Selector) ([]*v1.ReplicationController, error) {
    	return f, nil
    }
    
    // GetPodControllers gets the ReplicationControllers that have the selector that match the labels on the given pod
    func (f ControllerLister) GetPodControllers(pod *v1.Pod) (controllers []*v1.ReplicationController, err error) {
    	var selector labels.Selector
    
    	for i := range f {
    		controller := f[i]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Nov 20 10:14:08 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  10. pilot/pkg/serviceregistry/util/workloadinstances/index_test.go

    )
    
    var GlobalTime = time.Now()
    
    // ServiceEntry with a selector
    var selector = &config.Config{
    	Meta: config.Meta{
    		GroupVersionKind:  gvk.ServiceEntry,
    		Name:              "selector",
    		Namespace:         "selector",
    		CreationTimestamp: GlobalTime,
    	},
    	Spec: &networking.ServiceEntry{
    		Hosts: []string{"selector.com"},
    		Ports: []*networking.ServicePort{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5K bytes
    - Viewed (0)
Back to top