mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-19 18:02:01 +00:00
go fmt
Change-Id: I631ef35f10e8434b5a6deccedab6158f7199faa3
This commit is contained in:
parent
bf7d65c15c
commit
f61fcef706
@ -30,12 +30,12 @@ The entrypoint to this package is defined in a shell script (i.e. stability-util
|
||||
the logic for feeding file names as arguments into the program. The logic of this program is as
|
||||
follows:
|
||||
|
||||
- parse all files fed in, keeping track of:
|
||||
- the function and struct pointers which correspond to prometheus metric definitions.
|
||||
- consts/variable we encounter, so that we can use these to resolve values in metric definitions
|
||||
- then, iterate over the function and struct pointers, resolving attributes to concrete metric values
|
||||
- then, using our collected and resolved metric definitions, output (depending on the mode):
|
||||
- a yaml file corresponding to all stable metrics
|
||||
- a documentation file corresponding to all parseable metrics in the Kubernetes codebase
|
||||
- parse all files fed in, keeping track of:
|
||||
- the function and struct pointers which correspond to prometheus metric definitions.
|
||||
- consts/variable we encounter, so that we can use these to resolve values in metric definitions
|
||||
- then, iterate over the function and struct pointers, resolving attributes to concrete metric values
|
||||
- then, using our collected and resolved metric definitions, output (depending on the mode):
|
||||
- a yaml file corresponding to all stable metrics
|
||||
- a documentation file corresponding to all parseable metrics in the Kubernetes codebase
|
||||
*/
|
||||
package main
|
||||
|
Loading…
Reference in New Issue
Block a user