s/of referencedFrom/from referenceFrom/
Signed-off-by: Ruquan Zhao <ruquan.zhao@arm.com>
This commit is contained in:
parent
308ab380d7
commit
9150e6b55a
@ -47,11 +47,11 @@ type Manager interface {
|
||||
// Store is the interface for a object cache that
|
||||
// can be used by cacheBasedManager.
|
||||
type Store interface {
|
||||
// AddReference adds a reference of referencedFrom to the object to the store.
|
||||
// AddReference adds a reference from referencedFrom to the object to the store.
|
||||
// Note that multiple additions to the store has to be allowed
|
||||
// in the implementations and effectively treated as refcounted.
|
||||
AddReference(namespace, name string, referencedFrom types.UID)
|
||||
// DeleteReference deletes a reference of referencedFrom to the object from the store.
|
||||
// DeleteReference deletes a reference from referencedFrom to the object from the store.
|
||||
// Note that object should be deleted only when there was a
|
||||
// corresponding Delete call for each of Add calls (effectively
|
||||
// when refcount of every referenceFrom was reduced to zero).
|
||||
|
Loading…
Reference in New Issue
Block a user