Commit e42f7c74 authored by Guangya Liu's avatar Guangya Liu

Added indexer description for the API of NewIndexerInformer.

parent 947db16d
...@@ -296,6 +296,7 @@ func NewInformer( ...@@ -296,6 +296,7 @@ func NewInformer(
// long as possible (until the upstream source closes the watch or times out, // long as possible (until the upstream source closes the watch or times out,
// or you stop the controller). // or you stop the controller).
// * h is the object you want notifications sent to. // * h is the object you want notifications sent to.
// * indexers is the indexer for the received object type.
// //
func NewIndexerInformer( func NewIndexerInformer(
lw ListerWatcher, lw ListerWatcher,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment