Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for newFieldsCache (0.33 sec)

  1. staging/src/k8s.io/apimachinery/pkg/runtime/converter.go

    type fieldsCache struct {
    	sync.Mutex
    	value atomic.Value
    }
    
    func newFieldsCache() *fieldsCache {
    	cache := &fieldsCache{}
    	cache.value.Store(make(fieldsCacheMap))
    	return cache
    }
    
    var (
    	mapStringInterfaceType = reflect.TypeOf(map[string]interface{}{})
    	stringType             = reflect.TypeOf(string(""))
    	fieldCache             = newFieldsCache()
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jul 11 16:02:13 UTC 2023
    - 24.9K bytes
    - Viewed (0)
Back to top