Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddIScsiSendTargetPortal ¶
func AddIScsiSendTargetPortal(initiatorInstance *string, initiatorPortNumber *uint32, loginOptions *iscsidsc.LoginOptions, securityFlags *iscsidsc.SecurityFlags, portal *iscsidsc.Portal) error
AddIScsiSendTargetPortal adds a static target portal to the list of target portals to which the iSCSI initiator service transmits SendTargets requests. Only the `portal` is a required argument - all others can be left `nil`. see https://docs.microsoft.com/en-us/windows/desktop/api/iscsidsc/nf-iscsidsc-addiscsisendtargetportalw
func RemoveIScsiSendTargetPortal ¶
func RemoveIScsiSendTargetPortal(initiatorInstance *string, initiatorPortNumber *uint32, portal *iscsidsc.Portal) error
RemoveIScsiSendTargetPortal removes a portal from the list of portals to which the iSCSI initiator service sends SendTargets requests for target discovery. Only portal is a required argument. see https://docs.microsoft.com/en-us/windows/desktop/api/iscsidsc/nf-iscsidsc-removeiscsisendtargetportalw
func ReportIScsiSendTargetPortals ¶
func ReportIScsiSendTargetPortals() ([]iscsidsc.PortalInfo, error)
ReportIScsiSendTargetPortals retrieves a list of static target portals that the iSCSI initiator service uses to perform automatic discovery with SendTarget requests. see https://docs.microsoft.com/en-us/windows/desktop/api/iscsidsc/nf-iscsidsc-reportiscsisendtargetportalsexw
Types ¶
This section is empty.