Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RadosConn ¶
type RadosConn struct {
// contains filtered or unexported fields
}
RadosConn implements the Conn interface with the underlying *rados.Conn that talks to a real Ceph cluster.
func NewRadosConn ¶
func NewRadosConn(user, configFile string, timeout time.Duration, logger *logrus.Logger) (*RadosConn, error)
NewRadosConn returns a new RadosConn. Unlike the native rados.Conn, there is no need to manage the connection before/after talking to the rados; it is the responsibility of this *RadosConn to manage the connection.
func (*RadosConn) GetPoolStats ¶
GetPoolStats returns the count of unfound objects for the given rados pool.
func (*RadosConn) MgrCommand ¶
MgrCommand executes a manager command to rados.
Click to show internal directories.
Click to hide internal directories.