cmd

package
v0.0.0-...-42c3851 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 31, 2022 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Overview

Copyright 2020 The Cockroach Authors.

Use of this software is governed by the Business Source License included in the file licenses/BSL.txt.

As of the Change Date specified in that file, in accordance with the Business Source License, use of this software will be governed by the Apache License, Version 2.0, included in the file licenses/APL.txt.

Copyright 2020 The Cockroach Authors.

Use of this software is governed by the Business Source License included in the file licenses/BSL.txt.

As of the Change Date specified in that file, in accordance with the Business Source License, use of this software will be governed by the Apache License, Version 2.0, included in the file licenses/APL.txt.

Copyright 2020 The Cockroach Authors.

Use of this software is governed by the Business Source License included in the file licenses/BSL.txt.

As of the Change Date specified in that file, in accordance with the Business Source License, use of this software will be governed by the Apache License, Version 2.0, included in the file licenses/APL.txt.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func FormatMachineType

func FormatMachineType(m string) string

func ResultsFile

func ResultsFile(fname string, subdirs ...string) string

Types

type CloudDetails

type CloudDetails struct {
	Cloud string `json:"cloud"`
	Group string `json:"group"`

	// Common arguments passed to roachprod create.
	RoachprodArgs map[string]string `json:"roachprodArgs"`

	// Common benchmark specific args.
	BenchArgs map[string]string `json:"benchArgs"`

	// Map from machine type to the map of the machine specific arguments
	// that should be passed when creating cluster.
	MachineTypes map[string]machineConfig `json:"machineTypes"`
}

CloudDetails provides the name of the cloud and the different machine types you should run the benchmark suite against.

func (CloudDetails) BasePath

func (c CloudDetails) BasePath() string

func (CloudDetails) LogDir

func (c CloudDetails) LogDir() string

func (CloudDetails) ScriptDir

func (c CloudDetails) ScriptDir() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL