import "github.com/cockroachdb/cockroach/pkg/util/cloudinfo"
func Disable() (restore func())
Disable disables cloud detection until the returned function is called. Used for tests that trigger diagnostics updates.
GetInstanceClass returns the node's instance provider (e.g. AWS) and the name given to its instance class (e.g. m5a.large).
GetInstanceRegion returns the node's instance provider (e.g. AWS) and the name given to its region (e.g. us-east-1d).
Package cloudinfo imports 7 packages (graph) and is imported by 5 packages. Updated 2020-12-29. Refresh now. Tools for package owners.