mirror of
https://github.com/kubernetes/sample-controller.git
synced 2025-02-21 08:12:59 +08:00
sample-controller/docs/controller-client-go.md: Use italics font on package name
Kubernetes-commit: 79a7caeb76ea0b04bb02e250d05040ab0d8bc2c1
This commit is contained in:
parent
3927bee026
commit
a67d4807c7
@ -32,7 +32,7 @@ is to save the object for later retrieval, and to invoke our controller passing
|
||||
It is defined in [type *Indexer* inside package *cache*](https://github.com/kubernetes/client-go/blob/master/tools/cache/index.go). A typical indexing use-case is to create an index based on object labels. Indexer can
|
||||
maintain indexes based on several indexing functions.
|
||||
Indexer uses a thread-safe data store to store objects and their keys.
|
||||
There is a default function named *MetaNamespaceKeyFunc* defined in [type Store inside package cache](https://github.com/kubernetes/client-go/blob/master/tools/cache/store.go)
|
||||
There is a default function named *MetaNamespaceKeyFunc* defined in [type *Store* inside package *cache*](https://github.com/kubernetes/client-go/blob/master/tools/cache/store.go)
|
||||
that generates an object’s key as `<namespace>/<name>` combination for that object.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user