Documentation
¶
Index ¶
- Constants
- type Initiator
- type Path
- type Paths
- func (t Paths) DeepCopy() *Paths
- func (t Paths) Has(p Path) bool
- func (t Paths) HasAllOf(paths Paths) bool
- func (t Paths) HasAnyOf(paths Paths) bool
- func (t Paths) Mapping() string
- func (t Paths) MappingList() []string
- func (t Paths) WithInitiatorName(name string) Paths
- func (t Paths) WithTargetName(name string) Paths
- type Target
- type Targets
Constants ¶
View Source
const ( FC = "fc" FCOE = "fcoe" ISCSI = "iscsi" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Initiator ¶
func GetFCInitiator ¶
func GetFCInitiators ¶
func GetISCSIInitiators ¶
func GetInitiators ¶
type Paths ¶
type Paths []Path
Paths is a list of hba:target
func GetISCSIPaths ¶
func ParseMapping ¶
func (Paths) MappingList ¶
func (Paths) WithInitiatorName ¶
WithInitiatorName returns the list of paths whose initiator name matches the argument.
func (Paths) WithTargetName ¶
WithTargetName returns the list of paths whose target name matches the argument.
Click to show internal directories.
Click to hide internal directories.