targetportal

package
v0.0.0-...-4e4ffe9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 24, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL