- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 590 for labelSelectors (0.51 sec)
-
pkg/apis/policy/v1/conversion_test.go
ExpectOut runtime.Object ExpectErr string }{ { Name: "v1 to internal with match none selector", In: &v1.PodDisruptionBudget{ Spec: v1.PodDisruptionBudgetSpec{ Selector: &metav1.LabelSelector{ MatchExpressions: []metav1.LabelSelectorRequirement{ { Key: "pdb.kubernetes.io/deprecated-v1beta1-empty-selector-match", Operator: metav1.LabelSelectorOpExists, }, },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 09 15:29:11 UTC 2021 - 3.3K bytes - Viewed (0) -
staging/src/k8s.io/client-go/applyconfigurations/core/v1/podaffinityterm.go
) // PodAffinityTermApplyConfiguration represents an declarative configuration of the PodAffinityTerm type for use // with apply. type PodAffinityTermApplyConfiguration struct { LabelSelector *v1.LabelSelectorApplyConfiguration `json:"labelSelector,omitempty"` Namespaces []string `json:"namespaces,omitempty"` TopologyKey *string `json:"topologyKey,omitempty"`
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 11:28:02 UTC 2023 - 4.5K bytes - Viewed (0) -
pkg/util/labels/labels_test.go
labelKey: "foo4", labelValue: "12", want: map[string]string{ "foo4": "12", }, }, } for _, tc := range cases { ls_in := metav1.LabelSelector{MatchLabels: tc.labels} ls_out := metav1.LabelSelector{MatchLabels: tc.want} got := CloneSelectorAndAddLabel(&ls_in, tc.labelKey, tc.labelValue) if !reflect.DeepEqual(got, &ls_out) { t.Errorf("got %v, want %v", got, tc.want) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 11 17:34:12 UTC 2017 - 4.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/types_test.go
func TestMarshalJSONWithOmit(t *testing.T) { cases := []struct { input LabelSelector result string }{ {LabelSelector{}, `{}`}, {LabelSelector{MatchExpressions: []LabelSelectorRequirement{}}, `{}`}, {LabelSelector{MatchExpressions: []LabelSelectorRequirement{{}}}, `{"matchExpressions":[{"key":"","operator":""}]}`}, } for i, c := range cases {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 20 16:49:23 UTC 2021 - 4K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/zz_generated.conversion.go
} func autoConvert_internalversion_ListOptions_To_v1_ListOptions(in *ListOptions, out *v1.ListOptions, s conversion.Scope) error { if err := v1.Convert_labels_Selector_To_string(&in.LabelSelector, &out.LabelSelector, s); err != nil { return err } if err := v1.Convert_fields_Selector_To_string(&in.FieldSelector, &out.FieldSelector, s); err != nil { return err } out.Watch = in.Watch
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 01 10:00:25 UTC 2023 - 5.5K bytes - Viewed (0) -
pkg/config/schema/codegen/templates/clients.go.tmpl
options.FieldSelector = opts.FieldSelector options.LabelSelector = opts.LabelSelector return l(options) }, WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) { options.FieldSelector = opts.FieldSelector options.LabelSelector = opts.LabelSelector return w(options) }, }, gvrToObject(g), 0,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 13:57:51 UTC 2024 - 3.8K bytes - Viewed (0) -
pkg/registry/admissionregistration/validatingwebhookconfiguration/storage/storage_test.go
Port: 443, }, }, FailurePolicy: &ignore, MatchPolicy: &exact, TimeoutSeconds: &thirty, NamespaceSelector: &metav1.LabelSelector{}, ObjectSelector: &metav1.LabelSelector{}, SideEffects: &none, AdmissionReviewVersions: []string{"v1beta1"}, }}, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 13 15:10:55 UTC 2023 - 6K bytes - Viewed (0) -
pkg/apis/apps/v1beta1/defaults_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 17.4K bytes - Viewed (0) -
pkg/api/pod/warnings.go
t.TopologyKey, msg, )) } // warn if labelSelector is empty which is no-match. if t.LabelSelector == nil { warnings = append(warnings, fmt.Sprintf("%s: a null labelSelector results in matching no pod", fieldPath.Child("spec", "topologySpreadConstraints").Index(i).Child("labelSelector"))) } } // use of deprecated annotations
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 16.6K bytes - Viewed (0) -
pkg/registry/networking/networkpolicy/strategy_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 18:19:25 UTC 2023 - 2.9K bytes - Viewed (0)