- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 84 for label (0.15 sec)
-
cmd/metrics-v2_test.go
observations := []struct { val float64 label string }{ { val: 0.02, label: labels[0], }, { val: 0.07, label: labels[1], }, { val: 0.11, label: labels[1], }, { val: 0.19, label: labels[1], }, { val: 0.31, label: labels[1], }, { val: 0.61, label: labels[3], }, { val: 0.79,
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Mon Mar 04 18:05:56 GMT 2024 - 2.3K 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 01 22:53:12 GMT 2024 - Last Modified: Fri Nov 17 22:41:06 GMT 2023 - 8.7K bytes - Viewed (0) -
cmd/metrics-v3-types.go
continue } } labels := make([]string, 0, len(metric.VariableLabels)*2) for k, v := range metric.VariableLabels { if newLabel, ok := renameLabels[k]; ok { labels = append(labels, newLabel, v) } else { labels = append(labels, k, v) } } labels = append(labels, extraLabels...) m.Set(name, metric.Value, labels...) } }
Go - Registered: Sun Apr 28 19:28:10 GMT 2024 - Last Modified: Sun Mar 10 09:15:15 GMT 2024 - 14.6K bytes - Viewed (0) -
cni/pkg/constants/constants.go
RepairDeletePods = "repair-delete-pods" RepairRepairPods = "repair-repair-pods" RepairLabelPods = "repair-label-pods" RepairLabelKey = "repair-broken-pod-label-key" RepairLabelValue = "repair-broken-pod-label-value" RepairNodeName = "repair-node-name" RepairSidecarAnnotation = "repair-sidecar-annotation" RepairInitContainerName = "repair-init-container-name"
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Apr 30 22:24:38 GMT 2024 - 2.7K bytes - Viewed (0) -
cni/pkg/util/podutil_test.go
{ name: "pod has label to enable ambient mode and annotation to disable ambient redirection", args: args{ namespace: namespaceWithAmbientEnabledLabel, pod: podWithAmbientEnabledLabelAndAmbientDisabledAnnotation, }, want: false, }, { name: "pod has sidecar, pod has ambient mode label", args: args{ namespace: unlabelledNamespace,
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{ Use: "generate",
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) -
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 non-annotation POD update event
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 08 01:03:24 GMT 2024 - 15.8K 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 01 22:53:12 GMT 2024 - Last Modified: Thu Jan 04 03:08:06 GMT 2024 - 1.7K bytes - Viewed (0) -
istioctl/pkg/tag/util.go
func GetWebhookTagName(wh admitv1.MutatingWebhookConfiguration) string { return wh.ObjectMeta.Labels[IstioTagLabel] } // GetWebhookRevision extracts tag target revision from webhook object. func GetWebhookRevision(wh admitv1.MutatingWebhookConfiguration) (string, error) { if tagName, ok := wh.ObjectMeta.Labels[label.IoIstioRev.Name]; ok { return tagName, nil }
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Jan 16 17:43:42 GMT 2024 - 5.4K bytes - Viewed (1) -
istioctl/pkg/writer/envoy/configdump/configdump.go
sb strings.Builder ) fmt.Fprintf(&sb, "%d.%d.%d", version.GetMajorNumber(), version.GetMinorNumber(), version.GetPatch()) if label, ok := md[buildLabelKey]; ok { fmt.Fprintf(&sb, "-%s", label.GetStringValue()) } if status, ok := md[statusKey]; ok { fmt.Fprintf(&sb, "/%s", status.GetStringValue()) } if typ, ok := md[buildTypeKey]; ok {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Thu Feb 29 20:46:41 GMT 2024 - 7.4K bytes - Viewed (0)