Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoginIscsiTarget ¶
func LoginIscsiTarget(targetName string, isInformationalSession bool, initiatorInstance *string, initiatorPortNumber *uint32, targetPortal *iscsidsc.Portal, securityFlags *iscsidsc.SecurityFlags, loginOptions *iscsidsc.LoginOptions, key *string, isPersistent bool) (*iscsidsc.SessionID, *iscsidsc.ConnectionID, error)
LoginIscsiTarget establishes a full featured login session with the indicated target. All pointer arguments are optional. TODO: we don't support passing custom mappings yet. see https://docs.microsoft.com/en-us/windows/desktop/api/iscsidsc/nf-iscsidsc-loginiscsitargetw
func LogoutIScsiTarget ¶
LogoutIScsiTarget closes the specified login session. see https://docs.microsoft.com/en-us/windows/desktop/api/iscsidsc/nf-iscsidsc-logoutiscsitarget
func ReportIScsiTargets ¶
ReportIScsiTargets retrieves the list of targets that the iSCSI initiator service has discovered. if forceUpdate is true, the iSCSI initiator service updates the list of discovered targets before returning the target list data to the caller. see https://docs.microsoft.com/en-us/windows/desktop/api/iscsidsc/nf-iscsidsc-reportiscsitargetsw
Types ¶
This section is empty.