Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterRadosConfig ¶
Register Rados client with a specific configuration file as context.
Types ¶
type RadosReadCloser ¶
type RadosReadCloser struct {
// contains filtered or unexported fields
}
RadosReadCloser is a simple ReadCloser for Rados files. It will track its current position in the Rados file and start reading from it.
func NewRadosReadCloser ¶
func NewRadosReadCloser(obj *rados.Object) *RadosReadCloser
NewRadosReadCloser creates a new RadosReadCloser for the given Rados object "obj".
func (*RadosReadCloser) Close ¶
func (r *RadosReadCloser) Close() error
Close doesn't do a lot since Rados doesn't have that notion.
type RadosWriteCloser ¶
type RadosWriteCloser struct {
// contains filtered or unexported fields
}
RadosWriteCloser is a simple WriteCloser for Rados files. It will append any data to the wrapped Rados object, and closing won't do anything.
func NewRadosWriteCloser ¶
func NewRadosWriteCloser(obj *rados.Object) *RadosWriteCloser
NewRadosWriteCloser creates a new RadosWriteCloser for the given Rados object "obj".
func (*RadosWriteCloser) Close ¶
func (*RadosWriteCloser) Close() error
Close does absolutely nothing because why would it?
Click to show internal directories.
Click to hide internal directories.