- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 56 for NewSet (0.2 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) -
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) -
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) -
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) -
pkg/registry/apps/statefulset/strategy.go
// and should not be modified by the user. func (statefulSetStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "apps/v1": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), } return fields } // PrepareForCreate clears the status of an StatefulSet before creation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Nov 08 15:48:10 UTC 2022 - 8.8K bytes - Viewed (0) -
pkg/monitoring/base.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Jul 17 20:25:52 UTC 2023 - 1.7K bytes - Viewed (0) -
pkg/registry/core/persistentvolume/strategy.go
// and should not be modified by the user. func (persistentvolumeStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "v1": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), } return fields } // ResetBeforeCreate clears the Status field which is not allowed to be set by end users on creation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 03:58:36 UTC 2023 - 7.6K bytes - Viewed (0)