Documentation ¶
Overview ¶
(c) Copyright 2019 Hewlett Packard Enterprise Development LP
Index ¶
- type Mounter
- func (mounter *Mounter) CreateMount(serialNumber string, mountPoint string, fsOptions *model.FileSystemOptions) (*model.Mount, error)
- func (mounter *Mounter) DeleteMount(serialNumber string, mountId string) error
- func (mounter *Mounter) GetAllMountDetails(serialNumber string, mountId string) ([]*model.Mount, error)
- func (mounter *Mounter) GetMounts(serialNumber string) ([]*model.Mount, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mounter ¶
type Mounter struct {
// contains filtered or unexported fields
}
func NewMounter ¶
func NewMounter() *Mounter
func (*Mounter) CreateMount ¶
func (mounter *Mounter) CreateMount(serialNumber string, mountPoint string, fsOptions *model.FileSystemOptions) (*model.Mount, error)
CreateMount is called to mount the given device to the given mount point
func (*Mounter) DeleteMount ¶
DeleteMount is called to unmount the given mount point ID
Click to show internal directories.
Click to hide internal directories.