- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 590 for labelSelectors (0.28 sec)
-
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/helpers.go
} labelSelector.MatchExpressions = append(labelSelector.MatchExpressions, LabelSelectorRequirement{ Key: req.Key(), Operator: op, Values: req.Values().List(), }) } return labelSelector, nil } // SetAsLabelSelector converts the labels.Set object into a LabelSelector api object. func SetAsLabelSelector(ls labels.Set) *LabelSelector { if ls == nil { return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Sep 15 10:58:36 UTC 2022 - 9.6K bytes - Viewed (0) -
pkg/apis/policy/helper.go
) var ( NonV1beta1MatchAllSelector = &metav1.LabelSelector{} NonV1beta1MatchNoneSelector = &metav1.LabelSelector{ MatchExpressions: []metav1.LabelSelectorRequirement{{Key: PDBV1beta1Label, Operator: metav1.LabelSelectorOpExists}}, } V1beta1MatchNoneSelector = &metav1.LabelSelector{} V1beta1MatchAllSelector = &metav1.LabelSelector{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 09 15:29:11 UTC 2021 - 1.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/generic/webhook_test.go
expectCall: false, matchResult: true, }, { name: "invalid kind lookup", webhook: &v1.ValidatingWebhook{ NamespaceSelector: &metav1.LabelSelector{}, ObjectSelector: &metav1.LabelSelector{}, MatchPolicy: &equivalentMatch, Rules: []v1.RuleWithOperations{{ Operations: []v1.OperationType{"*"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 28 19:30:04 UTC 2023 - 32K bytes - Viewed (0) -
pkg/apis/apps/validation/validation_test.go
Selector: &metav1.LabelSelector{MatchLabels: validSelector}, Template: validPodTemplate.Template, UpdateStrategy: apps.DaemonSetUpdateStrategy{ Type: apps.OnDeleteDaemonSetStrategyType, }, }, }, { ObjectMeta: metav1.ObjectMeta{Name: "abc-123", Namespace: metav1.NamespaceDefault}, Spec: apps.DaemonSetSpec{ Selector: &metav1.LabelSelector{MatchLabels: validSelector},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 111.9K bytes - Viewed (0) -
pkg/apis/admissionregistration/v1beta1/defaults.go
policy := admissionregistrationv1beta1.Equivalent obj.MatchPolicy = &policy } if obj.NamespaceSelector == nil { selector := metav1.LabelSelector{} obj.NamespaceSelector = &selector } if obj.ObjectSelector == nil { selector := metav1.LabelSelector{} obj.ObjectSelector = &selector } } // SetDefaults_ValidatingWebhook sets defaults for webhook validating
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jul 20 20:24:09 UTC 2023 - 4.1K bytes - Viewed (0) -
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) -
pkg/kubelet/clustertrustbundle/clustertrustbundle_manager.go
if !m.ctbInformer.HasSynced() { return nil, fmt.Errorf("ClusterTrustBundle informer has not yet synced") } // Note that this function treats nil as "match nothing", and non-nil but // empty as "match everything". selector, err := metav1.LabelSelectorAsSelector(labelSelector) if err != nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 8.3K bytes - Viewed (0) -
pkg/apis/admissionregistration/v1/defaults.go
policy := admissionregistrationv1.Equivalent obj.MatchPolicy = &policy } if obj.NamespaceSelector == nil { selector := metav1.LabelSelector{} obj.NamespaceSelector = &selector } if obj.ObjectSelector == nil { selector := metav1.LabelSelector{} obj.ObjectSelector = &selector } if obj.TimeoutSeconds == nil { obj.TimeoutSeconds = new(int32) *obj.TimeoutSeconds = 10 } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 3.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/scoring_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Dec 15 03:30:06 UTC 2023 - 44.8K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/interpodaffinity/filtering_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jun 01 10:24:54 UTC 2023 - 58.2K bytes - Viewed (0)