Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Queries = map[QueryType]string{ ShardCountKey: "SELECT COUNT(*) FROM SHARDS WHERE SHARD_TYPE != 'Replica'", CommunalEndpointKey: "SHOW DATABASE DEFAULT ALL", StorageLocationKey: "SELECT NODE_NAME, LOCATION_PATH FROM STORAGE_LOCATIONS WHERE LOCATION_USAGE = ?", SubclusterQueryKey: "SELECT SUBCLUSTER_NAME, IS_PRIMARY FROM SUBCLUSTERS ORDER BY NODE_NAME", }
Functions ¶
Types ¶
type DBGenerator ¶
func (*DBGenerator) Create ¶
func (d *DBGenerator) Create() (*KObjs, error)
Create will generate a VerticaDB based the specifics gathered from a live database
type Options ¶
type Options struct { User string Password string TLSMode string VdbName string Host string Port int DBName string IgnoreClusterLease bool Image string LicenseFile string }
Options contain the command line options and positional arguments
type VDBCreator ¶
Click to show internal directories.
Click to hide internal directories.