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>
21 lines
528 B
Go
21 lines
528 B
Go
//go:build !(nautilus || octopus) && ceph_preview
|
|
// +build !nautilus,!octopus,ceph_preview
|
|
|
|
package nfs
|
|
|
|
import (
|
|
ccom "github.com/ceph/go-ceph/common/commands"
|
|
)
|
|
|
|
// Admin is used to administer ceph nfs features.
|
|
type Admin struct {
|
|
conn ccom.RadosCommander
|
|
}
|
|
|
|
// NewFromConn creates an new management object from a preexisting
|
|
// rados connection. The existing connection can be rados.Conn or any
|
|
// type implementing the RadosCommander interface.
|
|
func NewFromConn(conn ccom.RadosCommander) *Admin {
|
|
return &Admin{conn}
|
|
}
|