- Sort Score
- Result 10 results
- Languages All
Results 71 - 80 of 2,714 for namespace1 (0.23 sec)
-
cni/pkg/nodeagent/informers_test.go
fs.AssertExpectations(t) // unlabelling the namespace should cause only one RemovePodFromMesh to happen fs.On("RemovePodFromMesh", ctx, mock.Anything, ).Once().Return(nil) // unlabel the namespace labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":null}}}`, constants.DataplaneModeLabel)) _, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name,
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 22.2K bytes - Viewed (0) -
plugin/pkg/admission/podtolerationrestriction/admission_test.go
t.Errorf("error in marshalling namespace tolerations %v", namespaceTolerations) } namespace := &corev1.Namespace{ ObjectMeta: metav1.ObjectMeta{ Name: "testNamespace", Namespace: "", }, } namespace.Annotations = map[string]string{NSDefaultTolerations: string(tolerationsStr)} err = informerFactory.Core().V1().Namespaces().Informer().GetStore().Update(namespace) if err != nil { t.Fatal(err) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Mar 06 00:00:21 UTC 2024 - 16K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/endpoints/installer.go
if producedObject == nil { producedObject = defaultVersionedObject } reqScope.Namer = action.Namer requestScope := "cluster" var namespaced string var operationSuffix string if apiResource.Namespaced { requestScope = "namespace" namespaced = "Namespaced" } if strings.HasSuffix(action.Path, "/{path:*}") { requestScope = "resource" operationSuffix = operationSuffix + "WithPath" }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 01 18:15:22 UTC 2024 - 51.5K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/testing/watcher_tests.go
} func baseNamespacedPod(podName, namespace string) *example.Pod { return &example.Pod{ ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: namespace}, } } func baseNamespacedPodUpdated(podName, namespace string) *example.Pod { return &example.Pod{ ObjectMeta: metav1.ObjectMeta{Name: podName, Namespace: namespace}, Status: example.PodStatus{Phase: "Running"}, } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 24 18:25:29 UTC 2024 - 63.8K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher_test.go
pluginServer := startCniPluginServer(ctx, "/tmp/test.sock", handlers, dpServer) // label the namespace labelsPatch := []byte(fmt.Sprintf(`{"metadata":{"labels":{"%s":"%s"}}}`, constants.DataplaneModeLabel, constants.DataplaneModeAmbient)) _, err := client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name, types.MergePatchType, labelsPatch, metav1.PatchOptions{}) assert.NoError(t, err)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 7.6K bytes - Viewed (0) -
istioctl/pkg/checkinject/checkinject.go
nsLabels = ns.GetLabels() } else { namespace := ctx.NamespaceOrDefault(ctx.Namespace()) ns, err := kubeClient.Kube().CoreV1().Namespaces().Get(context.TODO(), namespace, metav1.GetOptions{}) if err != nil { return err } ls, err := metav1.ParseToLabelSelector(labelPairs) if err != nil { return err } podLabels = ls.MatchLabels nsLabels = ns.GetLabels() }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Apr 13 05:23:38 UTC 2024 - 9.3K bytes - Viewed (0) -
tests/integration/pilot/multi_version_revision_test.go
installRevisionOrFail(t, v, configs) // create a namespace pointed to the revisioned control plane we just installed rev := strings.ReplaceAll(v, ".", "-") ns, err := namespace.New(t, namespace.Config{ Prefix: fmt.Sprintf("revision-%s", rev), Inject: true, Revision: rev, }) if err != nil { t.Fatalf("failed to created revisioned namespace: %v", err) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 6.1K bytes - Viewed (0) -
src/html/template/doc.go
# Namespaced and data- attributes Attributes with a namespace are treated as if they had no namespace. Given the excerpt <a my:href="{{.}}"></a> At parse time the attribute will be treated as if it were just "href". So at parse time the template becomes: <a my:href="{{. | urlescaper | attrescaper}}"></a> Similarly to attributes with namespaces, attributes with a "data-" prefix are
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 18:04:29 UTC 2024 - 7.9K bytes - Viewed (0) -
pkg/kubelet/userns/userns_manager.go
lock sync.Mutex } // UserNamespace holds the configuration for the user namespace. type userNamespace struct { // UIDs mappings for the user namespace. UIDMappings []idMapping `json:"uidMappings"` // GIDs mappings for the user namespace. GIDMappings []idMapping `json:"gidMappings"` } // Pod user namespace mapping type idMapping struct { // Required. HostId uint32 `json:"hostId"` // Required.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.3K bytes - Viewed (0) -
tests/integration/pilot/analyze_test.go
// If we look at one namespace, we should successfully run and see one message (and not anything from any other namespace) output, _ := istioctlSafe(t, istioCtl, ns1.Name(), true) expectMessages(t, g, output, msg.ReferencedResourceNotFound, msg.ConflictingGateways) // If we use --all-namespaces, we should successfully run and see a message from each namespace
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 08 22:02:59 UTC 2024 - 16.3K bytes - Viewed (0)