Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for baseObjectThreadUnsafe (0.15 sec)

  1. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    }
    
    // Count implements storage.Interface.
    func (c *Cacher) Count(pathPrefix string) (int64, error) {
    	return c.storage.Count(pathPrefix)
    }
    
    // baseObjectThreadUnsafe omits locking for cachingObject.
    func baseObjectThreadUnsafe(object runtime.Object) runtime.Object {
    	if co, ok := object.(*cachingObject); ok {
    		return co.object
    	}
    	return object
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
Back to top