Documentation
¶
Overview ¶
Package commands provides types and utility functions that are used for interfacing with the JSON based command infrastructure in Ceph.
The *rados.Conn type implements many of the interfaces found in this package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MgrBufferCommander ¶ added in v0.34.0
type MgrBufferCommander interface {
MgrCommandWithInputBuffer([][]byte, []byte) ([]byte, string, error)
}
MgrBufferCommander is an interface for the API needed to execute JSON formatted commands with an input buffer on the Ceph mgr.
type MgrCommander ¶
MgrCommander in an interface for the API needed to execute JSON formatted commands on the ceph mgr.
type MonBufferCommander ¶ added in v0.34.0
type MonBufferCommander interface {
MonCommandWithInputBuffer([]byte, []byte) ([]byte, string, error)
}
MonBufferCommander is an interface for the API needed to execute JSON formatted commands with an input buffer on the Ceph mon(s).
type MonCommander ¶
MonCommander is an interface for the API needed to execute JSON formatted commands on the ceph mon(s).
type RadosBufferCommander ¶ added in v0.34.0
type RadosBufferCommander interface { RadosCommander MgrBufferCommander MonBufferCommander }
RadosBufferCommander provides an interface for APIs that need to execute JSON formatted commands with an input buffer on the Ceph cluster.
type RadosCommander ¶
type RadosCommander interface { MgrCommander MonCommander }
RadosCommander provides an interface for APIs needed to execute JSON formatted commands on the Ceph cluster.