MCPcopy Create free account

hub / github.com/cockroachlabs/cloud-report-2020 / functions

Functions25 in github.com/cockroachlabs/cloud-report-2020

↓ 12 callersFunctionrunCmd
runCmd is a convenience function around exec.Command.
main.go:184
↓ 4 callersFunctionnewLogFile
(path, filename string)
main.go:299
↓ 3 callersFunctionisIPWellFormed
(ipString string)
main.go:251
↓ 3 callersMethodnodeIDToHostname
(nodeID int)
main.go:666
↓ 3 callersFunctionrunCmdReturnString
runCmdReturnString attempts to convert it to a string without escape characters or trailing line breaks.
main.go:216
↓ 2 callersFunctioncreateDir
createDir is a convenience function to create a directory using the naming schema that we've determined for the cloud report.
main.go:234
↓ 2 callersFunctiongetCpuOptions
Some machine types are not available in the 4xlarge size. Add this option to machine sizes that are not 4xlarge. Note, that the machine still needs to
main.go:427
↓ 2 callersMethodinit
init prepares the given machines to execute the benchmarks contained in the directory.
main.go:321
↓ 2 callersFunctionroachprodRun
roachprodRun creates a roachprod cluster, and then fully executes the benchmark suite.
main.go:437
↓ 2 callersMethodrun
run executes the benchmarks, downloads their artifacts, and then parses them.
main.go:350
↓ 1 callersFunctionazureLocationForMachineType
(machineType string)
main.go:504
↓ 1 callersFunctioncheckForAllArgs
checkForAllArgs checks that all of the expected values are present in the argVals map passed to platformRunner.run().
main.go:50
↓ 1 callersFunctioncreateCluster
(clusterPrefix string, cloudName string, machineType string, ebs bool)
main.go:465
↓ 1 callersFunctiongetClient
Retrieve a token, saves the token, then returns the generated client.
googleSheets.go:19
↓ 1 callersFunctiongetSheetsClient
()
googleSheets.go:73
↓ 1 callersFunctiongetTokenFromWeb
Request a token from the web, then returns the retrieved token.
googleSheets.go:33
↓ 1 callersFunctiononPremRun
onPremRun runs on pre-provisioned VMs, but does not rely on any platform-specific features.
main.go:523
↓ 1 callersFunctionparseResults
parseResults converts the downloaded artifacts into CSVs.
main.go:396
↓ 1 callersFunctionrunCmdFindString
runCmdFindString searches a command's output for the given string and confirms its presence or absence.
main.go:224
↓ 1 callersFunctionsaveToken
Saves a token to a file path.
googleSheets.go:63
↓ 1 callersFunctiontokenFromFile
Retrieves a token from a local file.
googleSheets.go:51
↓ 1 callersFunctionuploadResults
uploadResults posts the CSVs in dir to Google sheets.
main.go:409
FunctionappendDataToSpreadsheet
appendDataToSpreadsheet inserts the CSV file in the named directory into the spreadsheet identified using the ssID const.
googleSheets.go:113
FunctionconvertArtifactFilenameToCSV
(filename string)
main.go:402
Functionmain
()
main.go:586