fc

package
v4.7.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2023 License: Apache-2.0 Imports: 5 Imported by: ? modules, 0 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

Index

Constants

View Source
const (

	// FcHostLIPNameFormat :
	FcHostLIPNameFormat = "/sys/class/fc_host/host%s/issue_lip"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type FcPlugin

type FcPlugin struct {
}

func NewFcPlugin

func NewFcPlugin() *FcPlugin

func (*FcPlugin) DiscoverDevice

func (plugin *FcPlugin) DiscoverDevice(serial string, lunId string) error

func (*FcPlugin) GetAllFcHostPortWwn

func (plugin *FcPlugin) GetAllFcHostPortWwn() ([]string, error)

GetAllFcHostPortWWN get all FC host port WWN's on the host

func (*FcPlugin) GetAllFcHostPorts

func (plugin *FcPlugin) GetAllFcHostPorts() ([]*model.FcHostPort, error)

GetAllFcHostPorts get all the FC host port details on the host

func (*FcPlugin) GetFcInitiators

func (plugin *FcPlugin) GetFcInitiators() (*model.Initiator, error)

GetInitiators get all host fc initiators (port WWNs)

func (*FcPlugin) RescanAdapter

func (plugin *FcPlugin) RescanAdapter(adapter string) error

func (*FcPlugin) RescanFcTarget

func (plugin *FcPlugin) RescanFcTarget(lunID string) error

RescanFcTarget rescans host ports for new Fibre Channel devices

Jump to

Keyboard shortcuts

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