Versions in this module Expand all Collapse all v1 v1.1.4 Jan 1, 2018 Changes in this version + const DefaultCertsDirectory + const DefaultHTTPPort + const DefaultHeartbeatInterval + const DefaultMaxClockOffset + const DefaultPort + const MinimumStoreSize + const NetworkTimeout + const SlowRequestThreshold + var DefaultTestStoreSpec = StoreSpec + func DefaultRetryOptions() retry.Options + type Config struct + Addr string + AdvertiseAddr string + HTTPAddr string + HistogramWindowInterval time.Duration + Insecure bool + SSLCAKey string + SSLCertsDir string + User string + func (cfg *Config) AdminURL() *url.URL + func (cfg *Config) ClientHasValidCerts(user string) bool + func (cfg *Config) GetCACertPath() (string, error) + func (cfg *Config) GetCertificateManager() (*security.CertificateManager, error) + func (cfg *Config) GetClientCertPaths(user string) (string, string, error) + func (cfg *Config) GetClientTLSConfig() (*tls.Config, error) + func (cfg *Config) GetHTTPClient() (http.Client, error) + func (cfg *Config) GetServerTLSConfig() (*tls.Config, error) + func (cfg *Config) HTTPRequestScheme() string + func (cfg *Config) InitDefaults() + func (cfg *Config) InitializeNodeTLSConfigs(stopper *stop.Stopper) (*security.CertificateManager, error) + func (cfg *Config) PGURL(user *url.Userinfo) (*url.URL, error) + type JoinListType []string + func (jls *JoinListType) Set(value string) error + func (jls *JoinListType) Type() string + func (jls JoinListType) String() string + type ModuleTestingKnobs interface + ModuleTestingKnobs func() + type NodeIDContainer struct + func (n *NodeIDContainer) Get() roachpb.NodeID + func (n *NodeIDContainer) Reset(val roachpb.NodeID) + func (n *NodeIDContainer) Set(ctx context.Context, val roachpb.NodeID) + func (n *NodeIDContainer) String() string + type RaftConfig struct + RaftElectionTimeoutTicks int + RaftTickInterval time.Duration + func (cfg *RaftConfig) SetDefaults() + func (cfg RaftConfig) NodeLivenessDurations() (livenessActive, livenessRenewal time.Duration) + func (cfg RaftConfig) RaftElectionTimeout() time.Duration + func (cfg RaftConfig) RangeLeaseActiveDuration() time.Duration + func (cfg RaftConfig) RangeLeaseDurations() (rangeLeaseActive, rangeLeaseRenewal time.Duration) + func (cfg RaftConfig) RangeLeaseRenewalDuration() time.Duration + type StoreSpec struct + Attributes roachpb.Attributes + InMemory bool + Path string + SizeInBytes int64 + SizePercent float64 + func NewStoreSpec(value string) (StoreSpec, error) + func (ss StoreSpec) String() string + type StoreSpecList struct + Specs []StoreSpec + func (ssl *StoreSpecList) Set(value string) error + func (ssl *StoreSpecList) Type() string + func (ssl StoreSpecList) String() string + type TestClusterArgs struct + ReplicationMode TestClusterReplicationMode + ServerArgs TestServerArgs + ServerArgsPerNode map[int]TestServerArgs + type TestClusterReplicationMode int + const ReplicationAuto + const ReplicationManual + func (i TestClusterReplicationMode) String() string + type TestServerArgs struct + Addr string + DisableEventLog bool + DisableWebSessionAuthentication bool + HTTPAddr string + Insecure bool + JoinAddr string + Knobs TestingKnobs + ListeningURLFile string + MetricsSampleInterval time.Duration + PartOfCluster bool + RetryOptions retry.Options + SQLMemoryPoolSize int64 + SSLCertsDir string + ScanInterval time.Duration + ScanMaxIdleTime time.Duration + SocketFile string + Stopper *stop.Stopper + StoreSpecs []StoreSpec + TimeSeriesQueryWorkerMax int + UseDatabase string + type TestingKnobs struct + DistSQL ModuleTestingKnobs + DistSender ModuleTestingKnobs + SQLExecutor ModuleTestingKnobs + SQLLeaseManager ModuleTestingKnobs + SQLSchemaChanger ModuleTestingKnobs + Store ModuleTestingKnobs