Versions in this module Expand all Collapse all v0 v0.7.0 Dec 5, 2019 Changes in this version + type Config struct + EnvVars []string + Fabric FabricConfig + HelperStreamCount int + Index uint32 + LogFile string + LogMask string + Modules string + Rank *Rank + ServiceThreadCore int + SocketDir string + Storage StorageConfig + SystemName string + TargetCount int + func NewConfig() *Config + func (c *Config) CmdLineArgs() ([]string, error) + func (c *Config) CmdLineEnv() ([]string, error) + func (c *Config) Validate() error + func (c *Config) WithBdevClass(bdevClass string) *Config + func (c *Config) WithBdevConfigPath(cfgPath string) *Config + func (c *Config) WithBdevDeviceCount(count int) *Config + func (c *Config) WithBdevDeviceList(devices ...string) *Config + func (c *Config) WithBdevFileSize(size int) *Config + func (c *Config) WithEnvVars(newVars ...string) *Config + func (c *Config) WithFabricInterface(iface string) *Config + func (c *Config) WithFabricInterfacePort(ifacePort int) *Config + func (c *Config) WithFabricProvider(provider string) *Config + func (c *Config) WithHelperStreamCount(count int) *Config + func (c *Config) WithHostname(name string) *Config + func (c *Config) WithLogFile(logPath string) *Config + func (c *Config) WithLogMask(logMask string) *Config + func (c *Config) WithModules(mList string) *Config + func (c *Config) WithPinnedNumaNode(numa *uint) *Config + func (c *Config) WithRank(r uint32) *Config + func (c *Config) WithScmClass(scmClass string) *Config + func (c *Config) WithScmDeviceList(devices ...string) *Config + func (c *Config) WithScmMountPoint(scmPath string) *Config + func (c *Config) WithScmRamdiskSize(size int) *Config + func (c *Config) WithServiceThreadCore(idx int) *Config + func (c *Config) WithShmID(shmID int) *Config + func (c *Config) WithSocketDir(dir string) *Config + func (c *Config) WithSystemName(name string) *Config + func (c *Config) WithTargetCount(count int) *Config + type ExitStatus string + const NormalExit + func (es ExitStatus) Error() string + type FabricConfig struct + Interface string + InterfacePort int + PinnedNumaNode *uint + Provider string + func (fc *FabricConfig) GetNumaNode() (uint, error) + func (fc *FabricConfig) Update(other FabricConfig) + func (fc *FabricConfig) Validate() error + type Rank uint32 + const MaxRank + const NilRank + func NewRankPtr(in uint32) *Rank + func (r *Rank) Equals(other *Rank) bool + func (r *Rank) String() string + func (r *Rank) UnmarshalYAML(unmarshal func(interface{}) error) error + type Runner struct + Config *Config + func NewRunner(log logging.Logger, config *Config) *Runner + func (r *Runner) GetConfig() *Config + func (r *Runner) Start(ctx context.Context, errOut chan<- error) error + type StorageConfig struct + Bdev storage.BdevConfig + SCM storage.ScmConfig + func (sc *StorageConfig) Validate() error + type TestRunner struct + func NewTestRunner(trc *TestRunnerConfig, sc *Config) *TestRunner + func (tr *TestRunner) GetConfig() *Config + func (tr *TestRunner) Start(ctx context.Context, errChan chan<- error) error + type TestRunnerConfig struct + ErrChanCb func() error + ErrChanErr error + StartCb func() + StartErr error