mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-28 14:07:14 +00:00
add backticks to comments containing <
or >
This commit is contained in:
parent
3a26b864f4
commit
340555476a
@ -75,11 +75,11 @@ type ResponseMeta struct {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// IndexerFunc is a function that for a given object computes
|
// 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
|
type IndexerFunc func(obj runtime.Object) string
|
||||||
|
|
||||||
// IndexerFuncs is a mapping from <index name> to function that
|
// IndexerFuncs is a mapping from `<index name>` to function that
|
||||||
// for a given object computes <value for that index>.
|
// for a given object computes `<value for that index>`.
|
||||||
type IndexerFuncs map[string]IndexerFunc
|
type IndexerFuncs map[string]IndexerFunc
|
||||||
|
|
||||||
// Everything accepts all objects.
|
// Everything accepts all objects.
|
||||||
@ -88,7 +88,7 @@ var Everything = SelectionPredicate{
|
|||||||
Field: fields.Everything(),
|
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 {
|
type MatchValue struct {
|
||||||
IndexName string
|
IndexName string
|
||||||
Value string
|
Value string
|
||||||
|
Loading…
Reference in New Issue
Block a user