const kubeMetricImportPath …
const kubeMetricsDefaultImportName …
var GOOS …
var ALL_STABILITY_CLASSES …
func findGOOS() string { … }
func main() { … }
func searchPathForStableMetrics(path string) ([]metric, []error) { … }
func searchFileForStableMetrics(filename string, src interface{ … }
func getLocalNameOfImportedPackage(tree *ast.File, importPath, defaultImportName string) (string, error) { … }
func addFileInformationToErrors(es []error, fileset *token.FileSet) []error { … }
func globalVariableDeclarations(tree *ast.File) map[string]ast.Expr { … }
func findPkgDir(pkg string) (string, error) { … }
func importedGlobalVariableDeclaration(localVariables map[string]ast.Expr, imports []*ast.ImportSpec) (map[string]ast.Expr, error) { … }