powerpath

package
v1.13.1 Latest Latest
Warning

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

Go to latest
Published: Jan 15, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Powerpath

type Powerpath struct {
	// contains filtered or unexported fields
}

Powerpath defines implementation of LimitedOSExec and LimitedFile path interfaces

func NewPowerpath

func NewPowerpath(chroot string) *Powerpath

NewPowerpath initializes powerpath struct

func (*Powerpath) FlushDevice

func (mp *Powerpath) FlushDevice(ctx context.Context) error

FlushDevice flush powerpath device. To prevent stucking always use context.WithTimeout

func (*Powerpath) GetPowerPathDevices

func (mp *Powerpath) GetPowerPathDevices(ctx context.Context, devices []string) (string, error)

GetPowerPathDevices fetches dell-emc power path device name

func (*Powerpath) IsDaemonRunning

func (mp *Powerpath) IsDaemonRunning(ctx context.Context) bool

IsDaemonRunning check if powerpath daemon running

Jump to

Keyboard shortcuts

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