package
20.2.19+incompatible
Repository: https://github.com/cockroachdb/cockroach.git
Documentation: pkg.go.dev
# Functions
AllProviderNames returns the names of all known vm Providers.
ExpandZonesFlag takes a slice of strings which may be of the format zone:N which implies that a given zone should be repeated N times and expands it.
FanOut collates a collection of VMs by their provider and invoke the callbacks in parallel.
FindActiveAccounts queries the active providers for the name of the user account.
ForProvider resolves the Provider with the given name and executes the action.
Name generates the name for the i'th node in a cluster.
ProvidersParallel concurrently executes actions for each named Provider.
ProvidersSequential sequentially executes actions for each named Provider.
ZonePlacement allocates zones to numNodes in an equally sized groups in the same order as zones.
# Constants
AcceptMultipleProjects means that multiple projects are supported.
SingleProject means that a single project is accepted.
# Variables
Error values for VM.Error.
Error values for VM.Error.
Error values for VM.Error.
Providers contains all known Provider instances.
# Structs
CreateOpts is the set of options when creating VMs.
A VM is an abstract representation of a specific machine instance.
# Interfaces
DeleteCluster is an optional capability for a Provider which can destroy an entire cluster in a single operation.
A Provider is a source of virtual machines running on some hosting platform.
ProviderFlags is a hook point for Providers to supply additional, provider-specific flags to various roachprod commands.
# Type aliases
List represents a list of VMs.
MultipleProjectsOption is used to specify whether a command accepts multiple values for the --gce-project flag.