package
5.0.0-rc0+incompatible
Repository: https://github.com/gluster/glusterd2.git
Documentation: pkg.go.dev

# Functions

ExecuteCommandOutput runs the command and adds additional error information.
ExecuteCommandRun runs the command and adds additional error information.
FormRemotePeerAddress will check and validate peeraddress provided.
GenerateQsh generate the hash string to avoid URL tampering.
GetFuncName returns the name of the passed function pointer.
GetLocalIP will give local IP address of this node.
GetSnapshotDir returns path to snapshot directory.
GetTypeString returns the type of instance passed, as a string.
GetVolumeDir returns path to volume directory.
InitDir creates directory path and checks if files can be created in it.
IsAddressSame checks is two host addresses are same.
IsLocalAddress checks whether a given host/IP is local Does lookup only after string matching IP addresses.
IsPeerAddressSame checks if two peer addresses are same by normalizing each address to <ip>:<port> form.
MergeStringMaps merges give string maps and returns a single string map If maps have same keys, the merged map will have the value of the last map the key was present in.
ParseHostAndBrickPath parses the host & brick path out of req.Bricks list.
StringInSlice will return true if the given string is present in the list of strings provided.
WriteStatedump writes statedump information to a file.

# Structs

ExecuteCommandError represents command execution error.
MutexWithTry is a regular mutex with TryLock() functionality.