- Sort Score
- Result 10 results
- Languages All
Results 1 - 8 of 8 for test_namespace (0.23 sec)
-
pkg/volume/util/nested_volumes_test.go
} func TestGetNestedMountpoints(t *testing.T) { var ( testNamespace = "test_namespace" testPodUID = types.UID("test_pod_uid") ) tc := []testCases{ { name: "Simple Pod", err: false, expected: sets.New[string](), volname: "vol1", pod: v1.Pod{ ObjectMeta: metav1.ObjectMeta{ Namespace: testNamespace, UID: testPodUID, }, Spec: v1.PodSpec{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 11 09:02:45 UTC 2024 - 5.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/admission/plugin/resourcequota/resource_access_test.go
quotas, err := accessor.GetQuotas(testNamespace1) if err != nil { t.Errorf("unexpected error: %v", err) } if len(quotas) != len(resourceQuotas) { t.Errorf("Expected %d resource quotas, got %d", len(resourceQuotas), len(quotas)) } for _, q := range quotas { if q.Namespace != testNamespace1 { t.Errorf("Expected %s namespace, got %s", testNamespace1, q.Namespace) } } }()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 10 13:54:56 UTC 2024 - 7.2K bytes - Viewed (0) -
pkg/proxy/config/api_test.go
_, ctx := klogtesting.NewTestContext(t) service1v1 := &v1.Service{ ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s1"}, Spec: v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 10}}}} service1v2 := &v1.Service{ ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "s1"}, Spec: v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 20}}}} service2 := &v1.Service{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 8.2K bytes - Viewed (0) -
tests/integration/security/ca_custom_root/secure_naming_test.go
to := match.Namespace(testNamespace).GetMatches(apps.EchoNamespace.B) for _, cluster := range t.Clusters() { t.NewSubTest(fmt.Sprintf("From %s", cluster.StableName())).Run(func(t framework.TestContext) { a := match.And(match.Cluster(cluster), match.Namespace(testNamespace)).GetMatches(apps.EchoNamespace.A)[0] b := match.And(match.Cluster(cluster), match.Namespace(testNamespace)).GetMatches(apps.EchoNamespace.B)[0]
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 7.5K bytes - Viewed (0) -
pkg/proxy/config/config_test.go
service1 := &v1.Service{ ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "foo"}, Spec: v1.ServiceSpec{Ports: []v1.ServicePort{{Protocol: "TCP", Port: 10}}}, } fakeWatch.Add(service1) handler.ValidateServices(t, []*v1.Service{service1}) service2 := &v1.Service{ ObjectMeta: metav1.ObjectMeta{Namespace: "testnamespace", Name: "bar"},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 22 05:08:41 UTC 2024 - 14.3K bytes - Viewed (0) -
pkg/controller/resourceclaim/controller_test.go
) var ( testPodName = "test-pod" testNamespace = "my-namespace" testPodUID = types.UID("uidpod1") otherNamespace = "not-my-namespace" podResourceClaimName = "acme-resource" templateName = "my-template" className = "my-resource-class" nodeName = "worker" testPod = makePod(testPodName, testNamespace, testPodUID)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon May 06 08:56:16 UTC 2024 - 28.2K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal_test.go
}, }, }, }, }, } podList[deploymentName] = &pod scaleUpEventsMap[fmt.Sprintf("%s/%s", testNamespace, hpaName)] = generateEventsUniformDistribution([]int{8, 12, 9, 11}, 120) scaleDownEventsMap[fmt.Sprintf("%s/%s", testNamespace, hpaName)] = generateEventsUniformDistribution([]int{10, 10, 10}, 120) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/sys/unix/mkerrors.sh
#include <linux/memfd.h> #include <linux/module.h> #include <linux/mount.h> #include <linux/netfilter/nfnetlink.h> #include <linux/netfilter/nf_tables.h> #include <linux/netlink.h> #include <linux/net_namespace.h> #include <linux/nfc.h> #include <linux/nsfs.h> #include <linux/perf_event.h> #include <linux/pps.h> #include <linux/ptrace.h> #include <linux/random.h> #include <linux/reboot.h>
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 20.2K bytes - Viewed (0)