mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 06:54:01 +00:00
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:
commit
1767a94f15
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user