Documentation ¶
Index ¶
- func LogDebug(ctx context.Context, msg string, keysAndValues ...interface{})
- func LogError(ctx context.Context, err error, msg string, keysAndValues ...interface{})
- func LogFatal(ctx context.Context, err error, msg string, keysAndValues ...interface{})
- func LogVerbose(ctx context.Context, msg string, keysAndValues ...interface{})
- func NewBeegfsDriver(connAuthPath, configPath, csDataDir, driverName, endpoint, nodeID, ... string, ...) (*beegfs, error)
- func NewBeegfsDriverSanity(connAuthPath, configPath, csDataDir, driverName, endpoint, nodeID, ... string, ...) (*beegfs, error)
- func NewBeegfsURL(host string, path string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LogFatal ¶ added in v1.1.0
LogFatal writes a request ID aware log message at the error level and immediately exits.
func LogVerbose ¶
LogVerbose writes a request ID aware log message at -v=5.
func NewBeegfsDriver ¶
func NewBeegfsDriver(connAuthPath, configPath, csDataDir, driverName, endpoint, nodeID, clientConfTemplatePath, version string, nodeUnstageTimeout uint64) (*beegfs, error)
NewBeegfsDriver initializes a working BeegfsDriver.
func NewBeegfsDriverSanity ¶ added in v1.2.2
func NewBeegfsDriverSanity(connAuthPath, configPath, csDataDir, driverName, endpoint, nodeID, clientConfTemplatePath, version string, nodeUnstageTimeout uint64) (*beegfs, error)
NewBeegfsDriverSanity initializes a BeegfsDriver that doesn't have a working mounter or beegfs-ctl execution capabilities. This BeegfsDriver can be used for sanity testing on any machine.
func NewBeegfsURL ¶ added in v1.2.2
NewBeegfsURL converts the sysMgmtdHost and path into a URL with the format beegfs://host/path. NewBeegfsURL is exported for use by in test/e2e/driver.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.