target

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: 5 Imported by: 0

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

func LogoutIScsiTarget(sessionID iscsidsc.SessionID) error

LogoutIScsiTarget closes the specified login session. see https://docs.microsoft.com/en-us/windows/desktop/api/iscsidsc/nf-iscsidsc-logoutiscsitarget

func ReportIScsiTargets

func ReportIScsiTargets(forceUpdate bool) ([]string, error)

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.

Jump to

Keyboard shortcuts

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