Documentation ¶
Index ¶
Constants ¶
View Source
const ( RBDSysBusPathDefault = "/sys/bus/rbd" RBDDevicesDir = "devices" RBDDevicePathPrefix = "/dev/rbd" )
Variables ¶
This section is empty.
Functions ¶
func FindRBDMappedFile ¶
FindRBDMappedFile search for the mapped RBD volume and returns its device path
func GetIPFromEndpoint ¶
GetIPFromEndpoint return the IP from an endpoint string (192.168.0.1:6789)
func GetPortFromEndpoint ¶
GetPortFromEndpoint return the port from an endpoint string (192.168.0.1:6789)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.