Skip to content

Commit

Permalink
Merge pull request #325 from vincepri/indexer-func-doc
Browse files Browse the repository at this point in the history
:docs: Clarify IndexerFunc comment with namespaced objects
  • Loading branch information
k8s-ci-robot committed Feb 14, 2019
2 parents 45d6520 + 496f339 commit d25df1b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/client/interfaces.go
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,8 @@ type Client interface {
}

// IndexerFunc knows how to take an object and turn it into a series
// of (non-namespaced) keys for that object.
// of non-namespaced keys. Namespaced objects are automatically given
// namespaced and non-spaced variants, so keys do not need to include namespace.
type IndexerFunc func(runtime.Object) []string

// FieldIndexer knows how to index over a particular "field" such that it
Expand Down

0 comments on commit d25df1b

Please sign in to comment.