- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for LabelSet (0.15 sec)
-
src/runtime/pprof/label.go
// license that can be found in the LICENSE file. package pprof import ( "context" "fmt" "slices" "strings" ) type label struct { key string value string } // LabelSet is a set of labels. type LabelSet struct { list []label } // labelContextKey is the type of contextKeys used for profiler labels. type labelContextKey struct{} func labelValue(ctx context.Context) labelMap {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 23 01:00:11 UTC 2024 - 3K bytes - Viewed (0) -
cmd/metrics-v3-types.go
// managed values follow: labelSet map[string]struct{} } func (md *MetricDescriptor) getLabelSet() map[string]struct{} { if md.labelSet != nil { return md.labelSet } md.labelSet = make(map[string]struct{}, len(md.VariableLabels)) for _, label := range md.VariableLabels { md.labelSet[label] = struct{}{} } return md.labelSet }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Thu May 23 07:41:18 UTC 2024 - 15.1K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/storage/selection_predicate.go
return func(obj runtime.Object) (labels.Set, fields.Set, error) { labelSet, fieldSet, err := f(obj) if err != nil { return nil, nil, err } if err := fieldMutator(obj, fieldSet); err != nil { return nil, nil, err } return labelSet, fieldSet, nil } } // SelectionPredicate is used to represent the way to select objects from api storage.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 09:20:10 UTC 2024 - 5.6K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
testLabels := []LabelSet{} for _, namespaceLabel := range []klabels.Set{empty, revLabel, legacyLabel, legacyLabelDisabled, legacyAndRevLabel, legacyDisabledAndRevLabel} { for _, podLabel := range []klabels.Set{empty, revLabel, objEnabled, objDisable, objEnabledAndRev, objDisableAndRev} { testLabels = append(testLabels, LabelSet{namespaceLabel, podLabel}) } } type assertion struct {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 04 18:05:06 UTC 2024 - 43.5K bytes - Viewed (0) -
pkg/controller/podautoscaler/horizontal_test.go
namespace := "test-namespace" hpaName := "test-hpa" podNamePrefix := "test-pod" labelSet := map[string]string{"name": podNamePrefix} selector := labels.SelectorFromSet(labelSet).String() tc.Lock() tc.scaleUpdated = false tc.statusUpdated = false tc.eventCreated = false tc.processed = make(chan string, 100)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 25 14:24:16 UTC 2024 - 199.3K bytes - Viewed (0)