beegfs

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2021 License: Apache-2.0 Imports: 29 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LogLevelDebug   = 3 // This log level is used for most informational logs in RPCs and GRPC calls
	LogLevelVerbose = 5 // This log level is used for only very repetitive logs such as the Probe GRPC call
)

Variables

This section is empty.

Functions

func LogDebug

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

func LogError added in v1.1.0

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

func LogFatal added in v1.1.0

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

func LogVerbose

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

func NewBeegfsDriver

func NewBeegfsDriver(connAuthPath, configPath, csDataDir, driverName, endpoint, nodeID, clientConfTemplatePath, version string) (*beegfs, error)

func NewBeegfsUrl added in v1.1.0

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.

func NewControllerServer

func NewControllerServer(nodeID string, pluginConfig beegfsv1.PluginConfig, clientConfTemplatePath, csDataDir string) *controllerServer

func NewIdentityServer

func NewIdentityServer(name, version string) *identityServer

func NewNodeServer

func NewNodeServer(nodeId string, pluginConfig beegfsv1.PluginConfig, clientConfTemplatePath string) *nodeServer

func NewNonBlockingGRPCServer

func NewNonBlockingGRPCServer() *nonBlockingGRPCServer

Types

This section is empty.

Jump to

Keyboard shortcuts

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