mirror of
https://github.com/kubernetes/client-go.git
synced 2025-08-06 09:53:54 +00:00
fix word comment to common
Kubernetes-commit: 3e31933471e015a860e1967acfe730bb35422f17
This commit is contained in:
parent
dbfa30b9d9
commit
1816a40bbb
4
tools/cache/index.go
vendored
4
tools/cache/index.go
vendored
@ -78,7 +78,7 @@ func IndexFuncToKeyFuncAdapter(indexFunc IndexFunc) KeyFunc {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const (
|
const (
|
||||||
// NamespaceIndex is the lookup name for the most comment index function, which is to index by the namespace field.
|
// NamespaceIndex is the lookup name for the most common index function, which is to index by the namespace field.
|
||||||
NamespaceIndex string = "namespace"
|
NamespaceIndex string = "namespace"
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -94,7 +94,7 @@ func MetaNamespaceIndexFunc(obj interface{}) ([]string, error) {
|
|||||||
// Index maps the indexed value to a set of keys in the store that match on that value
|
// Index maps the indexed value to a set of keys in the store that match on that value
|
||||||
type Index map[string]sets.String
|
type Index map[string]sets.String
|
||||||
|
|
||||||
// Indexers maps a name to a IndexFunc
|
// Indexers maps a name to an IndexFunc
|
||||||
type Indexers map[string]IndexFunc
|
type Indexers map[string]IndexFunc
|
||||||
|
|
||||||
// Indices maps a name to an Index
|
// Indices maps a name to an Index
|
||||||
|
2
tools/cache/reflector.go
vendored
2
tools/cache/reflector.go
vendored
@ -69,7 +69,7 @@ type Reflector struct {
|
|||||||
|
|
||||||
// backoff manages backoff of ListWatch
|
// backoff manages backoff of ListWatch
|
||||||
backoffManager wait.BackoffManager
|
backoffManager wait.BackoffManager
|
||||||
// initConnBackoffManager manages backoff the initial connection with the Watch calll of ListAndWatch.
|
// initConnBackoffManager manages backoff the initial connection with the Watch call of ListAndWatch.
|
||||||
initConnBackoffManager wait.BackoffManager
|
initConnBackoffManager wait.BackoffManager
|
||||||
|
|
||||||
resyncPeriod time.Duration
|
resyncPeriod time.Duration
|
||||||
|
Loading…
Reference in New Issue
Block a user