mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-12 05:21:58 +00:00
Merge pull request #104653 from astraw99/fix-word-comment
Fix word most `comment` to `common` and typo
This commit is contained in:
commit
ca08978c2d
@ -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
|
||||||
|
@ -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