- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 56 for NewSet (0.12 sec)
-
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) -
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) -
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) -
staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/fields_test.go
validName := "ok" invalidPath := fieldpath.Path([]fieldpath.PathElement{{}, {FieldName: &validName}}) tests := []struct { set fieldpath.Set errString string }{ { set: *fieldpath.NewSet(invalidPath), errString: "invalid PathElement", }, } for _, test := range tests { _, err := SetToFields(test.set) if err == nil || !strings.Contains(err.Error(), test.errString) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 08 21:44:00 UTC 2023 - 3.9K bytes - Viewed (0) -
pkg/registry/policy/poddisruptionbudget/strategy.go
func (podDisruptionBudgetStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "policy/v1beta1": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), "policy/v1": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), } return fields } // PrepareForCreate clears the status of an PodDisruptionBudget before creation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Nov 10 22:25:42 UTC 2022 - 8.1K bytes - Viewed (0) -
pkg/registry/certificates/certificates/strategy.go
func (csrStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "certificates.k8s.io/v1": fieldpath.NewSet( fieldpath.MakePathOrDie("spec"), fieldpath.MakePathOrDie("status"), ), "certificates.k8s.io/v1beta1": fieldpath.NewSet( fieldpath.MakePathOrDie("spec"), fieldpath.MakePathOrDie("status"), ), } return fields }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 18 21:41:43 UTC 2022 - 11.4K bytes - Viewed (0) -
pkg/registry/storagemigration/storagemigration/strategy.go
// and should not be modified by the user. func (strategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "storagemigration.k8s.io/v1alpha1": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), } return fields } // PrepareForCreate clears the status of an StorageVersion before creation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 04:18:56 UTC 2024 - 4.7K bytes - Viewed (0) -
pkg/registry/resource/resourceclaim/strategy.go
// status. func (resourceclaimStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "resource.k8s.io/v1alpha2": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), } return fields } func (resourceclaimStrategy) PrepareForCreate(ctx context.Context, obj runtime.Object) { claim := obj.(*resource.ResourceClaim)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 05 20:39:24 UTC 2024 - 5.3K bytes - Viewed (0) -
pkg/registry/storage/volumeattachment/strategy.go
// and should not be modified by the user. func (volumeAttachmentStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "storage.k8s.io/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: Mon Jun 06 21:19:19 UTC 2022 - 5.1K bytes - Viewed (0) -
pkg/registry/apiserverinternal/storageversion/strategy.go
// and should not be modified by the user. func (storageVersionStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "internal.apiserver.k8s.io/v1alpha1": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), } return fields } // PrepareForCreate clears the status of an StorageVersion before creation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jul 26 17:14:05 UTC 2022 - 5.2K bytes - Viewed (0)