- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 154 for nameslice (0.53 sec)
-
plugin/pkg/admission/resourcequota/admission_test.go
if err != nil { t.Errorf("Got unexpected error: %v", err) } if newPod.Namespace != namespace { t.Errorf("Got unexpected pod namespace: %q != %q", newPod.Namespace, namespace) } } // TestAdmitRejectsNegativeUsage verifies that usage for any measured resource cannot be negative. func TestAdmitRejectsNegativeUsage(t *testing.T) { resourceQuota := &corev1.ResourceQuota{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 29 21:28:42 UTC 2024 - 84.1K bytes - Viewed (0) -
pilot/pkg/config/kube/gateway/conversion.go
string(parent.OriginalReference.Name), string(ptr.OrDefault(parent.OriginalReference.Namespace, k8s.Namespace(obj.Namespace)))) } else { vsHosts = []string{fmt.Sprintf("%s.%s.svc.%s", parent.OriginalReference.Name, ptr.OrDefault(parent.OriginalReference.Namespace, k8s.Namespace(obj.Namespace)), ctx.Domain)} } } if len(routes) == 0 { continue }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri Jun 14 04:34:37 UTC 2024 - 84.7K bytes - Viewed (0) -
pilot/pkg/model/virtualservice_test.go
}, }, }, }, }, }, }, } createDelegateVs := func(name, namespace string, exportTo []string) config.Config { return config.Config{ Meta: config.Meta{ GroupVersionKind: gvk.VirtualService, Name: name, Namespace: namespace, }, Spec: &networking.VirtualService{ Hosts: []string{}, Gateways: []string{"gateway"},
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 21 17:42:54 UTC 2024 - 60.6K bytes - Viewed (0) -
pilot/pkg/networking/core/sidecar_simulation_test.go
Namespace: spl[1], Name: spl[0], }) } } } switch variant { case "httproute": return tmpl.MustEvaluate(`apiVersion: gateway.networking.k8s.io/v1beta1 kind: HTTPRoute metadata: name: "{{.Namespace}}{{.Match | replace "*" "wild"}}{{.Dest}}" namespace: {{.Namespace}} creationTimestamp: "{{.Time}}" spec:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 13 01:56:28 UTC 2024 - 84.7K bytes - Viewed (0) -
tests/integration/ambient/baseline_test.go
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 00:07:28 UTC 2024 - 78.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/controller_test.go
Name: name, Namespace: namespace, }, Subsets: []corev1.EndpointSubset{{ Addresses: eas, Ports: eps, }}, } if _, err := controller.client.Kube().CoreV1().Endpoints(namespace).Update(context.TODO(), endpoint, metav1.UpdateOptions{}); err != nil { t.Fatalf("failed to update endpoints %s in namespace %s (error %v)", name, namespace, err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 23 21:07:03 UTC 2024 - 85K bytes - Viewed (0) -
tests/integration/security/authz_test.go
param.Namespace.String(): "", })). // Just test from A in each namespace to show the policy works. FromMatch(match.AnyServiceName(allowed.Append(denied).NamespacedNames())). ToMatch(match.Namespace(apps.Ns1.Namespace)). Run(func(t framework.TestContext, from echo.Instance, to echo.Target) { allow := allowValue(from.Config().Namespace.Name() == allowed.Config().Namespace.Name())
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 23:36:51 UTC 2024 - 50.1K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/ambientindex_test.go
[]string{fmt.Sprintf("ns1/%s", model.GetAmbientPolicyConfigName(model.ConfigKey{ Kind: kind.PeerAuthentication, Name: selectorPolicyName, Namespace: "ns1", }))}) // Change namespace policy back to STRICT s.addPolicy(t, "namespace", testNS, nil, gvk.PeerAuthentication, func(c controllers.Object) { pol := c.(*clientsecurityv1beta1.PeerAuthentication) pol.Spec.Mtls = &auth.PeerAuthentication_MutualTLS{
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed May 08 01:04:50 UTC 2024 - 70.2K bytes - Viewed (0) -
pkg/kubelet/stats/cri_stats_provider_test.go
sandbox0Cgroup: getTestContainerInfo(seedSandbox0, "", "", ""), container0.ContainerStatus.Id: getTestContainerInfo(seedContainer0, pName0, sandbox0.PodSandboxStatus.Metadata.Namespace, cName0), container1.ContainerStatus.Id: getTestContainerInfo(seedContainer1, pName0, sandbox0.PodSandboxStatus.Metadata.Namespace, cName1),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 54.5K bytes - Viewed (0) -
pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go
pod: st.MakePod().Name("p").UID("p").Namespace(v1.NamespaceDefault).Priority(highPriority).Req(largeRes).Obj(), pods: []*v1.Pod{ st.MakePod().Name("p1").UID("p1").Namespace(v1.NamespaceDefault).Node("node1").Priority(highPriority).Obj(), st.MakePod().Name("p2").UID("p2").Namespace(v1.NamespaceDefault).Node("node2").Obj(), st.MakePod().Name("p3").UID("p3").Namespace(v1.NamespaceDefault).Node("node3").Priority(highPriority).Obj(),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri May 31 15:52:16 UTC 2024 - 82.8K bytes - Viewed (0)