- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for label (0.38 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/clioptions/central.go
"XDS Endpoint") cmd.PersistentFlags().StringVar(&o.CertDir, "cert-dir", viper.GetString("CERT-DIR"), "XDS Endpoint certificate directory") cmd.PersistentFlags().StringVar(&o.XdsPodLabel, "xds-label", "", "Istiod pod label selector") cmd.PersistentFlags().IntVar(&o.XdsPodPort, "xds-port", viper.GetInt("XDS-PORT"), "Istiod pod port") cmd.PersistentFlags().DurationVar(&o.Timeout, "timeout", time.Second*30,
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Mon Jun 06 03:39:27 GMT 2022 - 3.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/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
// wait for an update events // total 3 update at before unlabel point: 1. init ns reconcile 2. ns label reconcile 3. pod annotation update mt.Assert(EventTotals.Name(), map[string]string{"type": "update"}, monitortest.AtLeast(4)) waitForMockCalls() assertPodNotAnnotated(t, client, pod) // patch a test label to emulate a POD update event _, err = client.Kube().CoreV1().Pods(pod.Namespace).Patch(ctx, pod.Name,
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) -
istioctl/pkg/checkinject/checkinject_test.go
c.pod.Labels, c.ns.Labels) assert.Equal(t, c.expectedMessages, checkResults) }) } } var nsTestObject = func(namespace, injLabelValue, revLabelValue string) *corev1.Namespace { labels := map[string]string{} if injLabelValue != "" { labels["istio-injection"] = injLabelValue } if revLabelValue != "" { labels[label.IoIstioRev.Name] = revLabelValue }
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jun 15 15:02:17 GMT 2023 - 10.6K bytes - Viewed (0) -
istioctl/pkg/util/ambient/util.go
// limitations under the License. package ambient import ( "context" "strings" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" "istio.io/api/label" "istio.io/istio/pkg/config/constants" "istio.io/istio/pkg/kube" ) func IsZtunnelPod(client kube.CLIClient, podName, podNamespace string) bool { isZtunnel := strings.HasPrefix(podName, "ztunnel")
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) -
src/cmd/asm/internal/asm/asm.go
if p.firstProg == nil { p.firstProg = prog } else { p.lastProg.Link = prog } p.lastProg = prog if doLabel { p.pc++ for _, label := range p.pendingLabels { if p.labels[label] != nil { p.errorf("label %q multiply defined", label) return } p.labels[label] = prog } p.pendingLabels = p.pendingLabels[0:0] } prog.Pc = p.pc if *flags.Debug { fmt.Println(p.lineNum, prog) }
Go - Registered: Tue Apr 30 11:13:12 GMT 2024 - Last Modified: Wed Feb 21 14:34:57 GMT 2024 - 25.3K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list_test.go
}, }, }, expectedRevision: "test-anno", }, { name: "has both rev label and annotation, use label", pod: &corev1.Pod{ ObjectMeta: metav1.ObjectMeta{ Labels: map[string]string{ label.IoIstioRev.Name: "test-label", // don't care about the label }, Annotations: map[string]string{ annotation.SidecarStatus.Name: `{"revision":"test-anno"}`, },
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu May 02 21:29:40 GMT 2024 - 2.9K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
"github.com/spf13/cobra" admitv1 "k8s.io/api/admissionregistration/v1" corev1 "k8s.io/api/core/v1" metav1 "k8s.io/apimachinery/pkg/apis/meta/v1" api_pkg_labels "k8s.io/apimachinery/pkg/labels" "istio.io/api/annotation" "istio.io/api/label" "istio.io/istio/istioctl/pkg/cli" "istio.io/istio/istioctl/pkg/clioptions" "istio.io/istio/istioctl/pkg/describe" "istio.io/istio/istioctl/pkg/util/ambient"
Go - Registered: Wed May 08 22:53:08 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 10.4K bytes - Viewed (0)