Merge pull request #104494 from nicomitchell/fix_comment_html_tags

apiserver/pkg/storage/interfaces.go: Add backticks to comments misparsed as HTML by IDEs
This commit is contained in:
Kubernetes Prow Robot 2021-08-24 17:00:39 -07:00 committed by GitHub
commit 1767a94f15
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -75,11 +75,11 @@ type ResponseMeta struct {
}
// IndexerFunc is a function that for a given object computes
// <value of an index> for a particular <index>.
// `<value of an index>` for a particular `<index>`.
type IndexerFunc func(obj runtime.Object) string
// IndexerFuncs is a mapping from <index name> to function that
// for a given object computes <value for that index>.
// IndexerFuncs is a mapping from `<index name>` to function that
// for a given object computes `<value for that index>`.
type IndexerFuncs map[string]IndexerFunc
// Everything accepts all objects.
@ -88,7 +88,7 @@ var Everything = SelectionPredicate{
Field: fields.Everything(),
}
// MatchValue defines a pair (<index name>, <value for that index>).
// MatchValue defines a pair (`<index name>`, `<value for that index>`).
type MatchValue struct {
IndexName string
Value string