Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cockroachlabs/cloud-report-2020
/ functions
Functions
25 in github.com/cockroachlabs/cloud-report-2020
⨍
Functions
25
◇
Types & classes
5
↓ 12 callers
Function
runCmd
runCmd is a convenience function around exec.Command.
main.go:184
↓ 4 callers
Function
newLogFile
(path, filename string)
main.go:299
↓ 3 callers
Function
isIPWellFormed
(ipString string)
main.go:251
↓ 3 callers
Method
nodeIDToHostname
(nodeID int)
main.go:666
↓ 3 callers
Function
runCmdReturnString
runCmdReturnString attempts to convert it to a string without escape characters or trailing line breaks.
main.go:216
↓ 2 callers
Function
createDir
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 callers
Function
getCpuOptions
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 callers
Method
init
init prepares the given machines to execute the benchmarks contained in the directory.
main.go:321
↓ 2 callers
Function
roachprodRun
roachprodRun creates a roachprod cluster, and then fully executes the benchmark suite.
main.go:437
↓ 2 callers
Method
run
run executes the benchmarks, downloads their artifacts, and then parses them.
main.go:350
↓ 1 callers
Function
azureLocationForMachineType
(machineType string)
main.go:504
↓ 1 callers
Function
checkForAllArgs
checkForAllArgs checks that all of the expected values are present in the argVals map passed to platformRunner.run().
main.go:50
↓ 1 callers
Function
createCluster
(clusterPrefix string, cloudName string, machineType string, ebs bool)
main.go:465
↓ 1 callers
Function
getClient
Retrieve a token, saves the token, then returns the generated client.
googleSheets.go:19
↓ 1 callers
Function
getSheetsClient
()
googleSheets.go:73
↓ 1 callers
Function
getTokenFromWeb
Request a token from the web, then returns the retrieved token.
googleSheets.go:33
↓ 1 callers
Function
onPremRun
onPremRun runs on pre-provisioned VMs, but does not rely on any platform-specific features.
main.go:523
↓ 1 callers
Function
parseResults
parseResults converts the downloaded artifacts into CSVs.
main.go:396
↓ 1 callers
Function
runCmdFindString
runCmdFindString searches a command's output for the given string and confirms its presence or absence.
main.go:224
↓ 1 callers
Function
saveToken
Saves a token to a file path.
googleSheets.go:63
↓ 1 callers
Function
tokenFromFile
Retrieves a token from a local file.
googleSheets.go:51
↓ 1 callers
Function
uploadResults
uploadResults posts the CSVs in dir to Google sheets.
main.go:409
Function
appendDataToSpreadsheet
appendDataToSpreadsheet inserts the CSV file in the named directory into the spreadsheet identified using the ssID const.
googleSheets.go:113
Function
convertArtifactFilenameToCSV
(filename string)
main.go:402
Function
main
()
main.go:586