mount

package
v4.2.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2020 License: Apache-2.0 Imports: 6 Imported by: 10 modules, 8 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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