- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for test_namespace (0.33 sec)
-
pkg/volume/projected/projected_test.go
payload: map[string]util.FileProjection{}, success: true, }, } for _, tc := range cases { t.Run(tc.name, func(t *testing.T) { testNamespace := "test_projected_namespace" tc.secret.ObjectMeta = metav1.ObjectMeta{ Namespace: testNamespace, Name: tc.name, } source := makeProjection(tc.name, utilptr.Int32Ptr(tc.mode), "secret") source.Sources[0].Secret.Items = tc.mappings
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 40.5K bytes - Viewed (0) -
istioctl/pkg/multicluster/remote_secret_test.go
UID: kubeSystemNamespaceUID, }, } ) const ( testNamespace = "istio-system-test" testServiceAccountName = "test-service-account" ) func makeServiceAccount(secrets ...string) *v1.ServiceAccount { sa := &v1.ServiceAccount{ ObjectMeta: metav1.ObjectMeta{ Name: testServiceAccountName, Namespace: testNamespace, }, } for _, secret := range secrets {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Oct 31 14:48:28 UTC 2023 - 20.6K 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) -
plugin/pkg/admission/podtolerationrestriction/admission_test.go
func TestPodAdmission(t *testing.T) { CPU1000m := resource.MustParse("1000m") CPU500m := resource.MustParse("500m") burstablePod := &api.Pod{ ObjectMeta: metav1.ObjectMeta{Name: "testPod", Namespace: "testNamespace"}, Spec: api.PodSpec{ Containers: []api.Container{ { Name: "test", Resources: api.ResourceRequirements{ Limits: api.ResourceList{api.ResourceCPU: CPU1000m},
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 16K 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) -
cmd/kubeadm/app/util/marshal_test.go
if !ok { t.Fatal("did not get a Pod") } if pod2.Name != "someName" { t.Errorf("expected someName, got %q", pod2.Name) } if pod2.Namespace != "testNamespace" { t.Errorf("expected testNamespace, got %q", pod2.Namespace) } if !reflect.DeepEqual(pod2.Labels, map[string]string{"test": "yes"}) { t.Errorf("expected [test:yes], got %v", pod2.Labels) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 05:14:21 UTC 2024 - 11.6K bytes - Viewed (0) -
pkg/controller/volume/persistentvolume/framework_test.go
// won't have them in its cache). const annSkipLocalStore = "pv-testing-skip-local-store" type testCall func(ctrl *PersistentVolumeController, reactor *pvtesting.VolumeReactor, test controllerTest) error const testNamespace = "default" const mockPluginName = "kubernetes.io/mock-volume" var novolumes []*v1.PersistentVolume var noclaims []*v1.PersistentVolumeClaim var noevents = []string{} var noerrors = []pvtesting.ReactorError{}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 09:54:00 UTC 2023 - 38.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) -
pkg/registry/core/pod/storage/storage_test.go
test := genericregistrytest.New(t, storage.Store) pod := validNewPod() pod.ObjectMeta = metav1.ObjectMeta{} // Make an invalid pod with an incorrect label. invalidPod := validNewPod() invalidPod.Namespace = test.TestNamespace() invalidPod.Labels = map[string]string{ "invalid/label/to/cause/validation/failure": "bar", } test.TestCreate( // valid pod, // invalid (empty contains list) &api.Pod{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Feb 29 07:18:44 UTC 2024 - 38.8K bytes - Viewed (0)