Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for deepCopyLabelPair (0.16 sec)

  1. cluster/images/etcd-version-monitor/etcd-version-monitor.go

    	r.Label = make([]*dto.LabelPair, len(m.Label))
    	for i, lp := range m.Label {
    		r.Label[i] = deepCopyLabelPair(lp)
    	}
    	r.Gauge = m.Gauge
    	r.Counter = m.Counter
    	r.Summary = m.Summary
    	r.Untyped = m.Untyped
    	r.Histogram = m.Histogram
    	r.TimestampMs = m.TimestampMs
    	return r
    }
    
    func deepCopyLabelPair(lp *dto.LabelPair) *dto.LabelPair {
    	r := &dto.LabelPair{}
    	r.Name = lp.Name
    	r.Value = lp.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)
Back to top