Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IscsiAdmin ¶
type IscsiAdmin interface { DiscoverAndLoginPortals(portals []string) error DiscoverAndLogoutPortals(portals []string) error DiscoverAndLogin(portal string) error DiscoverAndLogout(portal string) error // Login performs an iscsi login for the specified target // portal is an address with port Login(tgtIQN, portal string) error // Logout performs an iscsi logout for the specified target // portal is an address with port Logout(tgtIQN, portal string) error // Discover performs an iscsi discoverydb for the specified target // portal is an address without port Discover(portal string) ([]*IscsiTarget, error) // DeleteDBEntry deletes the iscsi db entry fo the specified target DeleteDBEntry(tgtIQN string) error }
type IscsiTarget ¶
type IscsiTarget struct {
Portal, Port, Iqn string
}
type NodeClient ¶
Click to show internal directories.
Click to hide internal directories.