Documentation ¶
Overview ¶
Package fibrechannel provide the way to connect/disconnect volume within FC protocol
Package fibrechannel provide the way to connect/disconnect volume within FC protocol
Package fibrechannel provide the way to connect/disconnect volume within FC protocol
Package fibrechannel provide the way to connect/disconnect volume within FC protocol
Package fibrechannel provide the way to connect/disconnect volume within FC protocol
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FibreChannel ¶
type FibreChannel struct { }
FibreChannel implements the Connector interface for FC protocol
func (*FibreChannel) ConnectVolume ¶
func (fc *FibreChannel) ConnectVolume(ctx context.Context, conn map[string]interface{}) (string, error)
ConnectVolume to mount the source to target path, the source path can be block or nfs Example:
mount /dev/sdb /<target-path> mount <source-path> /<target-path>
func (*FibreChannel) DisConnectVolume ¶
func (fc *FibreChannel) DisConnectVolume(ctx context.Context, tgtLunWWN string) error
DisConnectVolume to unmount the target path