- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 77 for newPoset (0.1 sec)
-
pkg/registry/networking/servicecidr/strategy.go
// and should not be modified by the user. func (serviceCIDRStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "networking/v1alpha1": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), } return fields } // PrepareForCreate clears the status of an ServiceCIDR before creation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 31 21:05:04 UTC 2023 - 5.4K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresourcedefinition/strategy.go
func (strategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "apiextensions.k8s.io/v1": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), "apiextensions.k8s.io/v1beta1": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), } return fields } // PrepareForCreate clears the status of a CustomResourceDefinition before creation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 10.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/pubkeypin/pubkeypin.go
supportedFormats = strings.Join([]string{formatSHA256}, ", ") ) // Set is a set of pinned x509 public keys. type Set struct { sha256Hashes map[string]bool } // NewSet returns a new, empty PubKeyPinSet func NewSet() *Set { return &Set{make(map[string]bool)} } // Allow adds an allowed public key hash to the Set func (s *Set) Allow(pubKeyHashes ...string) error { for _, pubKeyHash := range pubKeyHashes {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 13 11:38:39 UTC 2021 - 3.8K bytes - Viewed (0) -
pkg/registry/core/resourcequota/strategy.go
// and should not be modified by the user. func (resourcequotaStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "v1": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), } return fields } // PrepareForCreate clears fields that are not allowed to be set by end users on creation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Feb 18 17:07:29 UTC 2022 - 4.7K bytes - Viewed (0) -
guava/src/com/google/common/eventbus/SubscriberRegistry.java
if (eventSubscribers == null) { CopyOnWriteArraySet<Subscriber> newSet = new CopyOnWriteArraySet<>(); eventSubscribers = MoreObjects.firstNonNull(subscribers.putIfAbsent(eventType, newSet), newSet); } eventSubscribers.addAll(eventMethodsInListener); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 22 13:05:46 UTC 2021 - 10.5K bytes - Viewed (0) -
pkg/registry/core/namespace/strategy.go
// and should not be modified by the user. func (namespaceStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { return map[fieldpath.APIVersion]*fieldpath.Set{ "v1": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), } } // PrepareForCreate clears fields that are not allowed to be set by end users on creation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Dec 07 08:51:17 UTC 2021 - 8.3K bytes - Viewed (0) -
pkg/test/framework/label/labels.go
// IPv4 indicates a test is only compatible with IPv4 clusters. // Any usage of this should have an associated GitHub issue to make it compatible with IPv6 IPv4 Instance = "ipv4" ) var all = NewSet( Postsubmit, CustomSetup, IPv4) // Find the label with the given name func Find(name string) (Instance, bool) { candidate := Instance(name) if _, ok := all[candidate]; ok { return candidate, true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Nov 18 17:08:05 UTC 2021 - 1.3K bytes - Viewed (0) -
pkg/registry/resource/podschedulingcontext/strategy.go
// status. func (podSchedulingStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "resource.k8s.io/v1alpha2": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), } return fields } func (podSchedulingStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) { scheduling := obj.(*resource.PodSchedulingContext)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 20:39:24 UTC 2024 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/eventbus/SubscriberRegistry.java
if (eventSubscribers == null) { CopyOnWriteArraySet<Subscriber> newSet = new CopyOnWriteArraySet<>(); eventSubscribers = MoreObjects.firstNonNull(subscribers.putIfAbsent(eventType, newSet), newSet); } eventSubscribers.addAll(eventMethodsInListener); } }
Registered: Wed Jun 12 16:38:11 UTC 2024 - Last Modified: Thu Apr 22 13:05:46 UTC 2021 - 10.5K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/fields.go
) // EmptyFields represents a set with no paths // It looks like metav1.Fields{Raw: []byte("{}")} var EmptyFields = func() metav1.FieldsV1 { f, err := SetToFields(*fieldpath.NewSet()) if err != nil { panic("should never happen") } return f }() // FieldsToSet creates a set paths from an input trie of fields func FieldsToSet(f metav1.FieldsV1) (s fieldpath.Set, err error) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 1.3K bytes - Viewed (0)