mirror of
https://github.com/ceph/ceph-csi.git
synced 2024-10-19 13:49:53 +00:00
23c324898a
go-ceph v0.16.0 contains subvolume metadata APIs and subvolume snapshot metadata APIs. Please note, as the APIs can not be tested in the go-ceph CI, it requires build-tag `ceph_ci_untested`. Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
16 lines
265 B
Go
16 lines
265 B
Go
package rados
|
|
|
|
// #cgo LDFLAGS: -lrados
|
|
// #include <rados/librados.h>
|
|
// #include <stdlib.h>
|
|
//
|
|
import "C"
|
|
|
|
// Remove object.
|
|
//
|
|
// Implements:
|
|
// void rados_write_op_remove(rados_write_op_t write_op)
|
|
func (w *WriteOp) Remove() {
|
|
C.rados_write_op_remove(w.op)
|
|
}
|