Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 77 for newPoset (0.2 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/stripmeta.go

    	if ok {
    		if vs == nil {
    			panic(fmt.Sprintf("Found unexpected nil manager which should never happen: %s", manager))
    		}
    		newSet := vs.Set().Difference(f.stripSet)
    		if newSet.Empty() {
    			delete(managed, manager)
    		} else {
    			managed[manager] = fieldpath.NewVersionedSet(newSet, vs.APIVersion(), vs.Applied())
    		}
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 3K bytes
    - Viewed (0)
  2. pkg/registry/networking/ingress/strategy.go

    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"extensions/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"networking.k8s.io/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"networking.k8s.io/v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Mar 14 01:42:41 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  3. pkg/registry/admissionregistration/validatingadmissionpolicy/strategy.go

    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"admissionregistration.k8s.io/v1alpha1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"admissionregistration.k8s.io/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"admissionregistration.k8s.io/v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 00:00:21 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  4. test/typeparam/issue51840.go

    			return false
    		}
    	}
    	return true
    }
    
    type Set[T comparable] map[T]struct{}
    
    func NewSet[T comparable](items ...T) Set[T] {
    	return nil
    }
    
    func (s Set[T]) Equals(other Set[T]) bool {
    	return EqualMap(s, other)
    }
    
    func main() {
    	NewSet[Addr](Addr{0, 0, nil})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 10 19:40:04 UTC 2022
    - 635 bytes
    - Viewed (0)
  5. pkg/registry/flowcontrol/flowschema/strategy.go

    		"flowcontrol.apiserver.k8s.io/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"flowcontrol.apiserver.k8s.io/v1beta2": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"flowcontrol.apiserver.k8s.io/v1beta3": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"flowcontrol.apiserver.k8s.io/v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 11:48:22 UTC 2023
    - 6K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/lastappliedmanager_test.go

          labels:
            app: my-new-label # allowed: update-label
        spec:
          containers:
          - name: my-c
            image: my-image-new # NOT allowed: update image
    `),
    			expectConflictSet: fieldpath.NewSet(
    				fieldpath.MakePathOrDie("metadata", "labels", "app"),
    				fieldpath.MakePathOrDie("spec", "replicas"),
    				fieldpath.MakePathOrDie("spec", "template", "spec", "containers", fieldpath.KeyByFields("name", "my-c"), "image"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 20K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/managedfields/scalehandler.go

    			continue
    		}
    
    		if _, ok := scaleFields[manager]; !ok {
    			// "Steal" the replicas path from the main resource entry
    			newSet := versionedSet.Set().Difference(fieldpath.NewSet(path))
    
    			if !newSet.Empty() {
    				newVersionedSet := fieldpath.NewVersionedSet(
    					newSet,
    					versionedSet.APIVersion(),
    					versionedSet.Applied(),
    				)
    				f[manager] = newVersionedSet
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  8. pkg/registry/flowcontrol/prioritylevelconfiguration/strategy.go

    		"flowcontrol.apiserver.k8s.io/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"flowcontrol.apiserver.k8s.io/v1beta2": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"flowcontrol.apiserver.k8s.io/v1beta3": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"flowcontrol.apiserver.k8s.io/v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jan 26 20:55:50 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  9. pkg/test/framework/label/filter.go

    // NewSelector returns a new selector based on the given presence/absence predicates.
    func NewSelector(present []Instance, absent []Instance) Selector {
    	return Selector{
    		present: NewSet(present...),
    		absent:  NewSet(absent...),
    	}
    }
    
    var userLabelRegex = regexp.MustCompile(`^[a-zA-Z][a-zA-Z0-9_]*(\.[a-zA-Z0-9_]+)*$`)
    
    // ParseSelector parses and returns a new instance of Selector.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  10. pkg/registry/batch/cronjob/strategy.go

    func (cronJobStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set {
    	fields := map[fieldpath.APIVersion]*fieldpath.Set{
    		"batch/v1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    		"batch/v1beta1": fieldpath.NewSet(
    			fieldpath.MakePathOrDie("status"),
    		),
    	}
    
    	return fields
    }
    
    // PrepareForCreate clears the status of a scheduled job before creation.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Oct 20 15:14:03 UTC 2023
    - 7.3K bytes
    - Viewed (0)
Back to top