- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 129 for ns (0.16 sec)
-
cni/pkg/plugin/plugin_test.go
excludedNS := "testExcludeNS" pod, ns := buildFakePodAndNSForClient() app := corev1.Container{Name: "app"} ns.ObjectMeta.Name = excludedNS ns.ObjectMeta.Labels = map[string]string{constants.DataplaneMode: constants.AmbientRedirectionEnabled} pod.ObjectMeta.Namespace = excludedNS pod.Spec.Containers = []corev1.Container{app} testDoAddRun(t, cniConf, excludedNS, pod, ns) wasCalled := serverClose()
Go - Registered: Wed Apr 17 22:53:10 GMT 2024 - Last Modified: Sat Feb 10 00:31:55 GMT 2024 - 17.5K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
constants.DataplaneMode)) _, err = client.Kube().CoreV1().Namespaces().Patch(ctx, ns.Name, types.MergePatchType, labelsPatch, metav1.PatchOptions{}) assert.NoError(t, err) // wait for another two update events // total 3 update at before unlabel point: 1. init ns reconcile 2. ns label reconcile 3. pod annotation update
Go - Registered: Wed Apr 17 22:53:10 GMT 2024 - Last Modified: Thu Feb 08 01:03:24 GMT 2024 - 15.8K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
if err != nil { return fmt.Errorf("failed to create Kubernetes client: %v", err) } var ns string if allNamespaces { ns = "" } else { ns = ctx.NamespaceOrDefault(ctx.Namespace()) } gws, err := kubeClient.GatewayAPI().GatewayV1().Gateways(ns). List(context.Background(), metav1.ListOptions{}) if err != nil { return err } if len(gws.Items) == 0 {
Go - Registered: Wed Apr 17 22:53:10 GMT 2024 - Last Modified: Mon Apr 15 19:31:36 GMT 2024 - 15.1K bytes - Viewed (0) -
schema/naming.go
return ns.TablePrefix + str } if ns.SingularTable { return ns.TablePrefix + ns.toDBName(str) } return ns.TablePrefix + inflection.Plural(ns.toDBName(str)) } // RelationshipFKName generate fk name for relation func (ns NamingStrategy) RelationshipFKName(rel Relationship) string { return ns.formatName("fk", rel.Schema.Table, ns.toDBName(rel.Name)) } // CheckerName generate checker name
Go - Registered: Sun Apr 14 09:35:11 GMT 2024 - Last Modified: Mon Oct 30 09:15:49 GMT 2023 - 5.2K bytes - Viewed (0) -
cni/pkg/ambient/informers.go
switch event.Event { case controllers.EventAdd: ns := s.namespaces.Get(pod.Namespace, "") if ns == nil { return fmt.Errorf("failed to find namespace %v", ns) } // Typically, a pod Add is handled by the CNI plugin. // But if CNI restarts, we clear the rules, so this can happen due to CNI restart as well if PodRedirectionEnabled(ns, pod) && !s.IsPodEnrolledInAmbient(pod) {
Go - Registered: Wed Jan 24 22:53:09 GMT 2024 - Last Modified: Fri Dec 01 02:50:22 GMT 2023 - 5.8K bytes - Viewed (0) -
istioctl/pkg/completion/completion.go
ctx := context.Background() nsList, err := getNamespaces(ctx, kubeClient) if err != nil { return nil, err } var nsNameList []string for _, ns := range nsList { if toComplete == "" || strings.HasPrefix(ns.Name, toComplete) { nsNameList = append(nsNameList, ns.Name) } } return nsNameList, nil } func getNamespaces(ctx context.Context, client kube.CLIClient) ([]corev1.Namespace, error) {
Go - Registered: Wed Apr 17 22:53:10 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 4.9K bytes - Viewed (0) -
istioctl/pkg/writer/ztunnel/configdump/testdata/secretsummary.txt
spiffe://cluster.local/ns/istio-system/sa/istiod CA Available true e5dfb59150b2ba7f108d93dcec5aa613 2033-03-22T13:04:57Z 2023-03-21T13:02:57Z spiffe://cluster.local/ns/istio-system/sa/istiod Cert Chain Available false 8a516645c40ce76c2c0d27ab4e2461c1 2022-03-18T13:04:49Z 2022-03-21T13:04:49Z
Plain Text - Registered: Wed Apr 17 22:53:10 GMT 2024 - Last Modified: Tue Apr 04 13:45:08 GMT 2023 - 1K bytes - Viewed (0) -
cni/pkg/nodeagent/informers.go
})) return s } func (s *InformerHandlers) GetPodIfAmbient(podName, podNamespace string) (*corev1.Pod, error) { ns := s.namespaces.Get(podNamespace, "") if ns == nil { return nil, fmt.Errorf("failed to find namespace %v", ns) } pod := s.pods.Get(podName, podNamespace) if util.PodRedirectionEnabled(ns, pod) { return pod, nil } return nil, nil } func (s *InformerHandlers) Start() {
Go - Registered: Wed Apr 17 22:53:10 GMT 2024 - Last Modified: Thu Feb 08 01:03:24 GMT 2024 - 9.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskLogger.kt
*/ fun formatDuration(ns: Long): String { val s = when { ns <= -999_500_000 -> "${(ns - 500_000_000) / 1_000_000_000} s " ns <= -999_500 -> "${(ns - 500_000) / 1_000_000} ms" ns <= 0 -> "${(ns - 500) / 1_000} µs" ns < 999_500 -> "${(ns + 500) / 1_000} µs" ns < 999_500_000 -> "${(ns + 500_000) / 1_000_000} ms" else -> "${(ns + 500_000_000) / 1_000_000_000} s " }
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.6K bytes - Viewed (0) -
docs/distributed/decom-encrypted-sse-s3.sh
exit 1 fi ./mc ls -r myminio/versioned >decommissioned_ns.txt ./mc ls -r --versions myminio/versioned >decommissioned_ns_versions.txt out=$(diff -qpruN expanded_ns.txt decommissioned_ns.txt) ret=$? if [ $ret -ne 0 ]; then echo "BUG: expected no missing entries after decommission: $out" exit 1 fi out=$(diff -qpruN expanded_ns_versions.txt decommissioned_ns_versions.txt) ret=$? if [ $ret -ne 0 ]; then
Shell Script - Registered: Sun Apr 14 19:28:10 GMT 2024 - Last Modified: Thu Mar 14 15:54:11 GMT 2024 - 4.5K bytes - Viewed (0)