mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-11-10 16:30:19 +00:00
5b7b5f1e3a
This commit updates the go-ceph to latest release. More details about release at https://github.com/ceph/go-ceph/releases/tag/v0.10.0 Signed-off-by: Madhu Rajanna <madhupr007@gmail.com>
21 lines
574 B
Go
21 lines
574 B
Go
package commands
|
|
|
|
// MgrCommander in an interface for the API needed to execute JSON formatted
|
|
// commands on the ceph mgr.
|
|
type MgrCommander interface {
|
|
MgrCommand(buf [][]byte) ([]byte, string, error)
|
|
}
|
|
|
|
// MonCommander is an interface for the API needed to execute JSON formatted
|
|
// commands on the ceph mon(s).
|
|
type MonCommander interface {
|
|
MonCommand(buf []byte) ([]byte, string, error)
|
|
}
|
|
|
|
// RadosCommander provides an interface for APIs needed to execute JSON
|
|
// formatted commands on the Ceph cluster.
|
|
type RadosCommander interface {
|
|
MgrCommander
|
|
MonCommander
|
|
}
|