- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for String (0.19 sec)
-
cni/pkg/util/podutil_test.go
} func TestPodRedirectionEnabled(t *testing.T) { var ( ambientEnabledLabel = map[string]string{constants.DataplaneMode: constants.DataplaneModeAmbient} ambientDisabledAnnotation = map[string]string{constants.AmbientRedirection: constants.AmbientRedirectionDisabled} sidecarStatusAnnotation = map[string]string{annotation.SidecarStatus.Name: "test"} namespaceWithAmbientEnabledLabel = &corev1.Namespace{
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 18:04:40 GMT 2024 - 5.9K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint.go
return nil, fmt.Errorf("invalid traffic type: %s. Valid options are: %s", trafficType, validTrafficTypes.String()) } if gw.Labels == nil { gw.Labels = map[string]string{} } gw.Labels[constants.AmbientWaypointForTrafficType] = trafficType if revision != "" { gw.Labels = map[string]string{label.IoIstioRev.Name: revision} } return &gw, nil } waypointGenerateCmd := &cobra.Command{
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 16:16:40 GMT 2024 - 15.2K bytes - Viewed (0) -
istioctl/pkg/ztunnelconfig/ztunnelconfig.go
} return string(result), nil } // getComponentPodName returns the pod name and namespace of the Istio component func getComponentPodName(ctx cli.Context, podflag string) (string, string, error) { return getPodNameWithNamespace(ctx, podflag, ctx.IstioNamespace()) } func getPodNameWithNamespace(ctx cli.Context, podflag, ns string) (string, string, error) { var podName, podNamespace string
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 13:11:40 GMT 2024 - 22.2K bytes - Viewed (0) -
cni/pkg/util/podutil.go
} return true } func podHasSidecar(pod *corev1.Pod) bool { if _, f := pod.GetAnnotations()[annotation.SidecarStatus.Name]; f { return true } return false } func IsZtunnelPod(systemNs string, pod *corev1.Pod) bool { return pod.Namespace == systemNs && pod.GetLabels()["app"] == "ztunnel" } func AnnotateEnrolledPod(client kubernetes.Interface, pod *metav1.ObjectMeta) error { _, err := client.CoreV1().
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Wed May 01 18:04:40 GMT 2024 - 4.1K bytes - Viewed (0)