- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 42 for albers (0.14 sec)
-
istioctl/pkg/checkinject/checkinject.go
if selector == nil { return nil } labels := make([]string, 0) for _, me := range selector.MatchExpressions { if me.Operator != metav1.LabelSelectorOpIn { continue } for _, v := range me.Values { labels = append(labels, fmt.Sprintf("%s=%s", me.Key, v)) } } return labels } var isDeactivated bool for _, wh := range whs {
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Sat Apr 13 05:23:38 GMT 2024 - 9.3K bytes - Viewed (0) -
istioctl/pkg/util/handlers/handlers.go
func SelectorsForObject(object runtime.Object) (namespace string, selector labels.Selector, err error) { switch t := object.(type) { case *gatewayapi.Gateway: if !gateway.IsManaged(&t.Spec) { return "", nil, fmt.Errorf("gateway is not a managed gateway") } namespace = t.Namespace selector, err = labels.Parse(constants.GatewayNameLabel + "=" + t.Name) case *gatewayapibeta.Gateway:
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Tue Feb 06 15:01:41 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/waypoint/waypoint_test.go
} func makeGatewayWithRevision(name, namespace string, programmed, isWaypoint bool, rev string) *gateway.Gateway { gw := makeGateway(name, namespace, programmed, isWaypoint) if gw.Labels == nil { gw.Labels = make(map[string]string) } gw.Labels[label.IoIstioRev.Name] = rev return gw
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Apr 04 15:53:09 GMT 2024 - 4.4K bytes - Viewed (0) -
istioctl/pkg/admin/istiodconfig_test.go
switch request.Method { case http.MethodGet: _, _ = writer.Write([]byte(getResponse)) } } func adsHandler(writer http.ResponseWriter, request *http.Request) { const getResponse = `{"name":"ads","description":"ads debugging","output_level":"info","stack_trace_level":"none","log_callers":false}` switch request.Method { case http.MethodGet:
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 6.2K bytes - Viewed (0) -
istioctl/pkg/workload/workload_test.go
` customYAML = `apiVersion: networking.istio.io/v1alpha3 kind: WorkloadGroup metadata: name: foo namespace: bar spec: metadata: annotations: annotation: foobar labels: app: foo bar: baz template: ports: grpc: 3550 http: 8080 serviceAccount: test ` ) type testcase struct { description string expectedException bool
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed Mar 27 16:59:05 GMT 2024 - 14.6K bytes - Viewed (0) -
istioctl/pkg/tag/tag_test.go
Name: "istio-revision-test", Labels: map[string]string{ label.IoIstioRev.Name: "revision", IstioTagLabel: "test", }, }, }, }, }, namespaces: corev1.NamespaceList{ Items: []corev1.Namespace{ { ObjectMeta: metav1.ObjectMeta{ Name: "dependent", Labels: map[string]string{label.IoIstioRev.Name: "test"}, },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K bytes - Viewed (0) -
cni/pkg/nodeagent/informers_test.go
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri May 03 19:29:42 GMT 2024 - 15.8K bytes - Viewed (0) -
cni/pkg/plugin/plugin_test.go
cniConf := buildMockConf(true, url) pod, ns := buildFakePodAndNSForClient() app := corev1.Container{Name: "app"} ns.ObjectMeta.Labels = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeAmbient} pod.ObjectMeta.Labels = map[string]string{constants.DataplaneModeLabel: constants.DataplaneModeNone} pod.Spec.Containers = []corev1.Container{app} testDoAddRun(t, cniConf, testNSName, pod, ns)
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Wed May 08 15:58:51 GMT 2024 - 17.5K bytes - Viewed (0) -
operator/cmd/mesh/operator-init.go
"istio.io/istio/operator/pkg/translate" operatorutil "istio.io/istio/operator/pkg/util" "istio.io/istio/operator/pkg/util/clog" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/config/labels" "istio.io/istio/pkg/kube" buildversion "istio.io/istio/pkg/version" ) type operatorInitArgs struct { // inFilenames is the path to the input IstioOperator CR. inFilename string
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Fri Mar 15 01:18:49 GMT 2024 - 6.2K bytes - Viewed (0) -
istioctl/pkg/util/ambient/util.go
if client == nil { return isZtunnel } pod, err := client.Kube().CoreV1().Pods(podNamespace).Get(context.Background(), podName, metav1.GetOptions{}) if err != nil { return isZtunnel } if v, ok := pod.Labels["app"]; ok { return v == "ztunnel" } return isZtunnel } // InAmbient returns true if a resource is in ambient data plane mode. func InAmbient(obj metav1.Object) bool { if obj == nil { return false
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 1.7K bytes - Viewed (0)