Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for maxField (0.37 sec)

  1. staging/src/k8s.io/apiserver/pkg/cel/value.go

    	return &structValue{
    		Fields:   []*Field{},
    		fieldMap: map[string]*Field{},
    	}
    }
    
    type structValue struct {
    	Fields   []*Field
    	fieldMap map[string]*Field
    }
    
    // AddField appends a MapField to the MapValue and indexes the field by name.
    func (sv *structValue) AddField(field *Field) {
    	sv.Fields = append(sv.Fields, field)
    	sv.fieldMap[field.Name] = field
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 10 22:05:55 UTC 2022
    - 20.5K bytes
    - Viewed (0)
Back to top