- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 16 for Lbl (0.11 sec)
-
src/go/types/labels.go
} // spec: "It is illegal to define a label that is never used." for name, obj := range all.elems { obj = resolve(name, obj) if lbl := obj.(*Label); !lbl.used { check.softErrorf(lbl, UnusedLabel, "label %s declared and not used", lbl.name) } } } // A block tracks label declarations in a block and its enclosing blocks. type block struct { parent *block // enclosing block
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 7.2K bytes - Viewed (0) -
cluster/images/etcd-version-monitor/etcd-version-monitor.go
for _, m := range mf.Metric { for _, lbl := range m.Label { if alias, ok := nameMapping[*lbl.Name]; ok { lbl.Name = &alias } } } } func filterMetricsByLabels(mf *dto.MetricFamily, labelValues map[string]string) { buf := mf.Metric[:0] for _, m := range mf.Metric { shouldRemove := false for _, lbl := range m.Label { if val, ok := labelValues[*lbl.Name]; ok && val != *lbl.Value {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Dec 16 06:50:02 UTC 2023 - 11.5K bytes - Viewed (0) -
src/cmd/compile/internal/types2/labels.go
} // spec: "It is illegal to define a label that is never used." for name, obj := range all.elems { obj = resolve(name, obj) if lbl := obj.(*Label); !lbl.used { check.softErrorf(lbl.pos, UnusedLabel, "label %s declared and not used", lbl.name) } } } // A block tracks label declarations in a block and its enclosing blocks. type block struct {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 7.2K bytes - Viewed (0) -
pkg/apis/core/validation/names.go
domainLabels := strings.Split(segments[0], ".") for _, lbl := range domainLabels { // use IsDNS1123Label as we want to ensure the max length of any single label in the domain // is 63 characters if errs := validation.IsDNS1123Label(lbl); len(errs) > 0 { for _, err := range errs { el = append(el, field.Invalid(fldPath, segments[0], fmt.Sprintf("validating label %q: %s", lbl, err))) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Nov 03 18:40:48 UTC 2023 - 5.5K bytes - Viewed (0) -
src/go/ast/scope.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Mar 28 21:32:41 UTC 2024 - 4.6K bytes - Viewed (0) -
cmd/bucket-replication-metrics.go
histBytes metrics.Histogram } func newInQueueStats(r metrics.Registry, lbl string) InQueueStats { histCounts := metrics.NewHistogram(metrics.NewUniformSample(100)) histBytes := metrics.NewHistogram(metrics.NewUniformSample(100)) r.Register("replication.queue.counts."+lbl, histCounts) r.Register("replication.queue.bytes."+lbl, histBytes) return InQueueStats{ histCounts: histCounts, histBytes: histBytes,
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Tue Feb 06 06:00:45 UTC 2024 - 14.2K bytes - Viewed (0) -
istioctl/pkg/injector/injector-list.go
} func injectionDisabled(pod *corev1.Pod) bool { inject := pod.ObjectMeta.GetAnnotations()[annotation.SidecarInject.Name] if lbl, labelPresent := pod.ObjectMeta.GetLabels()[label.SidecarInject.Name]; labelPresent { inject = lbl } return strings.EqualFold(inject, "false") } func renderCounts(injectedRevision string, counts revisionCount) string { if counts.pods == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 04 03:08:06 UTC 2024 - 10.4K bytes - Viewed (0) -
cni/pkg/plugin/plugin.go
return nil } val := pi.Annotations[injectAnnotationKey] if lbl, labelPresent := pi.Labels[label.SidecarInject.Name]; labelPresent { // The label is the new API; if both are present we prefer the label val = lbl } if val != "" { log.Debugf("contains inject annotation: %s", val) if injectEnabled, err := strconv.ParseBool(val); err == nil {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 16:26:35 UTC 2024 - 10.7K bytes - Viewed (0) -
src/runtime/mprof.go
}) if n <= len(p) { ok = true r, lbl := p, labels // Save current goroutine. sp := getcallersp() pc := getcallerpc() systemstack(func() { saveg(pc, sp, gp, &r[0], pcbuf) }) r = r[1:] // If we have a place to put our goroutine labelmap, insert it there. if labels != nil { lbl[0] = gp.labels lbl = lbl[1:] } // Save other goroutines.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 17:57:37 UTC 2024 - 53.3K bytes - Viewed (0) -
pkg/kube/inject/inject.go
var useDefault bool var inject bool objectSelector := annos[annotation.SidecarInject.Name] if lbl, labelPresent := metadata.GetLabels()[label.SidecarInject.Name]; labelPresent { // The label is the new API; if both are present we prefer the label objectSelector = lbl } switch strings.ToLower(objectSelector) { // http://yaml.org/type/bool.html case "y", "yes", "true", "on": inject = true
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 31 20:35:11 UTC 2024 - 28.8K bytes - Viewed (0)