beegfs

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2024 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LogDebug

func LogDebug(ctx context.Context, msg string, keysAndValues ...interface{})

LogDebug writes a request ID aware log message at -v=3 (the default).

func LogError added in v1.1.0

func LogError(ctx context.Context, err error, msg string, keysAndValues ...interface{})

LogError writes a request ID aware log message at the error level.

func LogFatal added in v1.1.0

func LogFatal(ctx context.Context, err error, msg string, keysAndValues ...interface{})

LogFatal writes a request ID aware log message at the error level and immediately exits.

func LogVerbose

func LogVerbose(ctx context.Context, msg string, keysAndValues ...interface{})

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

func NewBeegfsURL(host string, path string) string

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL