iscsi

package
v0.0.0-...-f7b152e Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2020 License: Apache-2.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableDebugLogging

func EnableDebugLogging(writer io.Writer)

EnableDebugLogging provides a mechanism to turn on debug logging for this package output is written to the provided io.Writer

func GetDiskMounter

func GetDiskMounter(volID string, mountParams *MountParams,
	iscsiCtxt map[string]string) (*iscsiDiskMounter, error)

GetDiskMounter - constructor for the iscsi disk Mounter

func GetDiskUnmounter

func GetDiskUnmounter(volID string, targetPath string) *iscsiDiskUnmounter

GetDiskUnmounter - constructor for iscsi disk Unmounter

Types

type MountParams

type MountParams struct {
	TargetPath   string
	FsType       string
	MountOptions []string
	ReadOnly     bool
}

MountParams - parameters for Mounter

Jump to

Keyboard shortcuts

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