mount

package
v4.1.0+incompatible Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 6, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

(c) Copyright 2019 Hewlett Packard Enterprise Development LP

Index

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

func (mounter *Mounter) DeleteMount(serialNumber string, mountId string) error

DeleteMount is called to unmount the given mount point ID

func (*Mounter) GetAllMountDetails

func (mounter *Mounter) GetAllMountDetails(serialNumber string, mountId string) ([]*model.Mount, error)

GetAllMountDetails enumerates the specified mount point ID

func (*Mounter) GetMounts

func (mounter *Mounter) GetMounts(serialNumber string) ([]*model.Mount, error)

GetMounts reports all mounts on this host for the specified Nimble volume

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL