Documentation ¶
Index ¶
- type MountInfo
- func (mount *MountInfo) ChangeDir(path string) error
- func (mount *MountInfo) Chmod(path string, mode uint32) error
- func (mount *MountInfo) Chown(path string, user uint32, group uint32) error
- func (mount *MountInfo) CurrentDir() string
- func (mount *MountInfo) IsMounted() bool
- func (mount *MountInfo) MakeDir(path string, mode uint32) error
- func (mount *MountInfo) Mount() error
- func (mount *MountInfo) ReadDefaultConfigFile() error
- func (mount *MountInfo) Release() error
- func (mount *MountInfo) RemoveDir(path string) error
- func (mount *MountInfo) SyncFs() error
- func (mount *MountInfo) Unmount() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MountInfo ¶
type MountInfo struct {
// contains filtered or unexported fields
}
MountInfo exports ceph's ceph_mount_info from libcephfs.cc
func CreateMount ¶
CreateMount creates a mount handle for interacting with Ceph.
func (*MountInfo) CurrentDir ¶
CurrentDir gets the current working directory.
func (*MountInfo) ReadDefaultConfigFile ¶
ReadDefaultConfigFile loads the ceph configuration from the specified config file.
Click to show internal directories.
Click to hide internal directories.