- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 262 for labelSelector (0.21 sec)
-
staging/src/k8s.io/apiserver/pkg/admission/plugin/webhook/testing/testcase.go
NamespaceSelector: &metav1.LabelSelector{}, ObjectSelector: &metav1.LabelSelector{}, AdmissionReviewVersions: []string{"v1beta1"}, }, { Name: "shouldNotBeCalled", ClientConfig: ccfgSVC("shouldNotBeCalled"), NamespaceSelector: &metav1.LabelSelector{}, ObjectSelector: &metav1.LabelSelector{ MatchLabels: map[string]string{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 03 06:51:04 UTC 2023 - 47.6K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/matching/matching_test.go
expectMatches: false, }, { name: "wildcard rule, match as requested", criteria: &v1.MatchResources{ NamespaceSelector: &metav1.LabelSelector{}, ObjectSelector: &metav1.LabelSelector{}, ResourceRules: []v1.NamedRuleWithOperations{{ RuleWithOperations: v1.RuleWithOperations{ Operations: []v1.OperationType{"*"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 38.2K bytes - Viewed (0) -
pkg/apis/networking/v1/defaults_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Jan 05 10:48:05 UTC 2023 - 9.8K bytes - Viewed (0) -
pkg/apis/extensions/v1beta1/defaults_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 01 07:16:15 UTC 2023 - 21.2K bytes - Viewed (0) -
pkg/api/pod/warnings_test.go
{ TopologyKey: `foo`, LabelSelector: &metav1.LabelSelector{}, }, { TopologyKey: `beta.kubernetes.io/arch`, LabelSelector: &metav1.LabelSelector{}, }, { TopologyKey: `beta.kubernetes.io/os`, LabelSelector: &metav1.LabelSelector{}, }, {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 07 17:51:48 UTC 2024 - 42.1K 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/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) -
istioctl/pkg/dashboard/dashboard.go
return fmt.Errorf("failed to create k8s client: %v", err) } var podName, ns string if labelSelector != "" { pl, err := kubeClient.PodsForSelector(context.TODO(), ctx.NamespaceOrDefault(ctx.Namespace()), labelSelector) if err != nil { return fmt.Errorf("not able to locate pod with selector %s: %v", labelSelector, err) } if len(pl.Items) < 1 { return errors.New("no pods found") }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 01:29:35 UTC 2024 - 20.5K bytes - Viewed (0) -
pkg/scheduler/testing/wrappers.go
return &s.NodeSelector } // LabelSelectorWrapper wraps a LabelSelector inside. type LabelSelectorWrapper struct{ metav1.LabelSelector } // MakeLabelSelector creates a LabelSelector wrapper. func MakeLabelSelector() *LabelSelectorWrapper { return &LabelSelectorWrapper{metav1.LabelSelector{}} } // Label applies a {k,v} pair to the inner LabelSelector. func (s *LabelSelectorWrapper) Label(k, v string) *LabelSelectorWrapper {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 27 07:57:10 UTC 2024 - 42.1K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/apis/meta/v1/validation/validation_test.go
} func TestLabelSelectorMatchExpression(t *testing.T) { testCases := []struct { name string labelSelector *metav1.LabelSelector wantErrorNumber int validateErrs func(t *testing.T, errs field.ErrorList) }{{ name: "Valid LabelSelector", labelSelector: &metav1.LabelSelector{ MatchExpressions: []metav1.LabelSelectorRequirement{{ Key: "key", Operator: metav1.LabelSelectorOpIn,
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 02 07:48:42 UTC 2023 - 15.2K bytes - Viewed (0)