- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 340 for constants_ (0.78 sec)
-
src/go/types/stmt.go
} if x, ok := constant.Uint64Val(val); ok { return x } case constant.Float: if x, ok := constant.Float64Val(val); ok { return x } case constant.String: return constant.StringVal(val) } return nil } // A valueMap maps a case value (of a basic Go type) to a list of positions // where the same case value appeared, together with the corresponding case // types.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 30.6K bytes - Viewed (0) -
tools/istio-iptables/pkg/capture/run.go
cfg.ruleBuilder.AppendRule(iptableslog.IncludeInboundPort, constants.ISTIOINBOUND, constants.MANGLE, "-p", constants.TCP, "--dport", port, "-m", "conntrack", "--ctstate", "RELATED,ESTABLISHED", "-j", constants.ISTIODIVERT) cfg.ruleBuilder.AppendRule(iptableslog.IncludeInboundPort, constants.ISTIOINBOUND, constants.MANGLE, "-p", constants.TCP, "--dport", port, "-j", constants.ISTIOTPROXY)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 03:53:23 UTC 2024 - 35.4K bytes - Viewed (0) -
cni/pkg/nodeagent/cni-watcher.go
package nodeagent import ( "context" "encoding/json" "fmt" "io" "net" "net/http" "net/netip" "time" corev1 "k8s.io/api/core/v1" pconstants "istio.io/istio/cni/pkg/constants" "istio.io/istio/cni/pkg/pluginlistener" istiolog "istio.io/istio/pkg/log" "istio.io/istio/pkg/sleep" ) // Just a composite of the CNI plugin add event struct + some extracted "args"
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 21:31:35 UTC 2024 - 6.7K bytes - Viewed (0) -
cni/pkg/cmd/root.go
K8sServiceAccountPath: constants.ServiceAccountPath, CNIBinSourceDir: constants.CNIBinDir, CNIBinTargetDirs: []string{constants.HostCNIBinDir}, MonitoringPort: viper.GetInt(constants.MonitoringPort), LogUDSAddress: viper.GetString(constants.LogUDSAddress), CNIEventAddress: viper.GetString(constants.CNIEventAddress), ExcludeNamespaces: viper.GetString(constants.ExcludeNamespaces),
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:35 UTC 2024 - 13K bytes - Viewed (0) -
cni/pkg/util/podutil.go
"istio.io/api/annotation" "istio.io/istio/pkg/config/constants" ) var annotationPatch = []byte(fmt.Sprintf( `{"metadata":{"annotations":{"%s":"%s"}}}`, constants.AmbientRedirection, constants.AmbientRedirectionEnabled, )) var annotationRemovePatch = []byte(fmt.Sprintf( `{"metadata":{"annotations":{"%s":null}}}`, constants.AmbientRedirection, ))
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 17:18:11 UTC 2024 - 4.4K bytes - Viewed (0) -
pilot/pkg/serviceregistry/kube/controller/ambient/waypoints.go
Namespaces krt.Collection[*v1.Namespace], o metav1.ObjectMeta, ) *Waypoint { w := fetchWaypointForTarget(ctx, Waypoints, Namespaces, o) if w != nil { if w.TrafficType == constants.ServiceTraffic || w.TrafficType == constants.AllTraffic { return w } // Waypoint does not support Service traffic log.Debugf("Unable to add waypoint %s/%s; traffic type %s not supported for %s/%s",
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 18:02:28 UTC 2024 - 11.1K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
t.Fatalf("couldn't get create cert tree: %v", err) } for _, kubeConfig := range []string{ constants.AdminKubeConfigFileName, constants.SuperAdminKubeConfigFileName, constants.SchedulerKubeConfigFileName, constants.ControllerManagerKubeConfigFileName, } { if rt.skipKubeConfig == kubeConfig { continue }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
Annotations: map[string]string{constants.AmbientRedirection: constants.AmbientRedirectionEnabled}, }, Spec: corev1.PodSpec{ NodeName: NodeName, }, Status: corev1.PodStatus{ PodIP: "11.1.1.13", }, } ns := &corev1.Namespace{ ObjectMeta: metav1.ObjectMeta{ Name: "test", Labels: map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient}, }, }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jun 06 05:10:23 UTC 2024 - 22.2K 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) -
cmd/kubeadm/app/cmd/config_test.go
name: "InitConfiguration: No component configs", expectedKinds: []string{ constants.ClusterConfigurationKind, constants.InitConfigurationKind, }, cmdProc: newCmdConfigPrintInitDefaults, }, { name: "InitConfiguration: KubeProxyConfiguration", expectedKinds: []string{ constants.ClusterConfigurationKind, constants.InitConfigurationKind, "KubeProxyConfiguration", },
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 13K bytes - Viewed (0)