package
4.2.0+incompatible
Repository: https://github.com/kvaps/common-host-libs.git
Documentation: pkg.go.dev

# Constants

AccessProtocolFC - Fibre Channel volume.
AccessProtocolIscsi - iSCSI volume.
ConnectTypeAutoInitiator - Let the host's iSCSI initiator automatically select the initiator to use to make a connection to the target ports.
ConnectTypeDefault - CHAPI2 will automatically detect and choose the optimal connection type.
ConnectTypePing - Ping each I_T nexus to detect where connections are possible.
ConnectTypeSubnet - Only make connections to initiator ports in same subnet as target ports.
FsCreateOpt filesystem create type.
FsModeOpt filesystem mode option.
FsOwnerOpt filesystem owner option.
Group Scoped Target (GST).
Volume Scoped Target (VST).

# Structs

BlockDeviceAccessInfo contains the common fields for accessing a block device.
TODO: create fc and iscsi specific attributes Device struct.
DevicePartition Partition Info for a Device.
DevicePrivate provides model.Device platform specific private data.
FcHostPort FC host port.
FileSystemOptions represent file system options to be configured during mount.
Host : Host information.
Initiator : Initiator details.
IscsiAccessInfo contains the fields necessary for iSCSI access.
IscsiTarget struct.
Mount structure represents all information required to mount and setup filesystem.
MountPrivate provides model.Mount platform specific private data.
Network : network interface info for host.
NetworkPrivate provides model.Network platform specific private data.
Path struct.
PublishInfo is the node side data required to access a volume.
TargetPortal provides information for a single iSCSI target portal (i.e.
TargetPortalPrivate provides model.TargetPortal platform specific private data.
VirtualDeviceAccessInfo contains the required data to access a virtual device.

# Type aliases

Hosts returns an array of Host objects.