Documentation ¶
Index ¶
- type Client
- func (c *Client) DeleteInitiator(id string, name string) error
- func (c *Client) DeleteLunMap(id string, name string) error
- func (c *Client) DeleteSnapshot(id string, name string) error
- func (c *Client) DeleteVolume(id string, name string) error
- func (c *Client) GetEvents(severity, eventCode, descRxPatt string) ([]Event, error)
- func (c *Client) GetIGFolder(id string, name string) (InitiatorGroupFolder, error)
- func (c *Client) GetIGFolders() (Refs, error)
- func (c *Client) GetISCSIPortal(id string, name string) (ISCSIPortal, error)
- func (c *Client) GetISCSIPortals() (Refs, error)
- func (c *Client) GetInitiator(id string, name string) (Initiator, error)
- func (c *Client) GetInitiatorGroup(id string, name string) (*InitiatorGroup, error)
- func (c *Client) GetInitiatorGroups() (Refs, error)
- func (c *Client) GetInitiators() (Refs, error)
- func (c *Client) GetLunMap(id string, name string) (LunMap, error)
- func (c *Client) GetLunMaps() (Refs, error)
- func (c *Client) GetSnapshot(id string, name string) (Snapshot, error)
- func (c *Client) GetSnapshots() (Refs, error)
- func (c *Client) GetVolume(id string, name string) (Volume, error)
- func (c *Client) GetVolumeFolder(id string, name string) (VolumeFolder, error)
- func (c *Client) GetVolumeFolders() (Refs, error)
- func (c *Client) GetVolumes() (Refs, error)
- func (c *Client) NewInitiator(opts *NewInitiatorOptions) (NewInitiatorResult, error)
- func (c *Client) NewLunMap(opts *NewLunMapOptions) (NewLunMapResult, error)
- func (c *Client) NewSnapshot(opts *NewSnapshotOptions) (NewSnapshotResult, error)
- func (c *Client) NewVolume(opts *NewVolumeOptions) (NewVolumeResult, error)
- type Client3
- type Event
- type ISCSIPortal
- type Initiator
- type InitiatorGroup
- type InitiatorGroupFolder
- type LunMap
- type NewInitiatorOptions
- type NewInitiatorResult
- type NewLunMapOptions
- type NewLunMapResult
- type NewSnapshotOptions
- type NewSnapshotResult
- type NewVolumeOptions
- type NewVolumeResult
- type Refs
- type SnapListItems
- type Snapshot
- type Volume
- type VolumeFolder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client Client3
func NewClientWithArgs ¶
func (*Client) DeleteInitiator ¶
DeleteInitiator deletes a volume
func (*Client) DeleteLunMap ¶
DeleteLunMap deletes a volume
func (*Client) DeleteSnapshot ¶
DeleteSnapshot deletes a volume
func (*Client) DeleteVolume ¶
DeleteVolume deletes a volume
func (*Client) GetEvents ¶
GetEvents returns a list or a specific events filtered by severity, eventCode, or description
func (*Client) GetIGFolder ¶
func (c *Client) GetIGFolder(id string, name string) (InitiatorGroupFolder, error)
GetIGFolder returns a specific initiator by name or ID
func (*Client) GetIGFolders ¶
GetIGFolders returns a list of initiators
func (*Client) GetISCSIPortal ¶
func (c *Client) GetISCSIPortal(id string, name string) (ISCSIPortal, error)
GetISCSIPortal returns a specific iSCSI portal by name or ID
func (*Client) GetISCSIPortals ¶
GetISCSIPortals returns a list of iSCSI portals
func (*Client) GetInitiator ¶
GetInitiator returns a specific initiator by name or ID
func (*Client) GetInitiatorGroup ¶
func (c *Client) GetInitiatorGroup( id string, name string) (*InitiatorGroup, error)
GetInitiatorGroup returns a specific initiator by name or ID
func (*Client) GetInitiatorGroups ¶
GetInitiatorGroups returns a list of initiators
func (*Client) GetInitiators ¶
GetInitiators returns a list of initiators
func (*Client) GetLunMaps ¶
GetLunMaps returns a list of lunMaps
func (*Client) GetSnapshot ¶
GetSnapshot returns a specific snapshot by name or ID
func (*Client) GetSnapshots ¶
GetSnapshots returns a list of snapshots
func (*Client) GetVolumeFolder ¶
func (c *Client) GetVolumeFolder(id string, name string) (VolumeFolder, error)
GetVolumeFolder returns a specific initiator by name or ID
func (*Client) GetVolumeFolders ¶
GetVolumeFolders returns a list of initiators
func (*Client) GetVolumes ¶
GetVolumes returns a list of volumes
func (*Client) NewInitiator ¶
func (c *Client) NewInitiator(opts *NewInitiatorOptions) (NewInitiatorResult, error)
NewInitiator creates a volume
func (*Client) NewLunMap ¶
func (c *Client) NewLunMap(opts *NewLunMapOptions) (NewLunMapResult, error)
NewLunMap creates a volume
func (*Client) NewSnapshot ¶
func (c *Client) NewSnapshot(opts *NewSnapshotOptions) (NewSnapshotResult, error)
NewSnapshot creates a volume
func (*Client) NewVolume ¶
func (c *Client) NewVolume(opts *NewVolumeOptions) (NewVolumeResult, error)
NewVolume creates a volume
type ISCSIPortal ¶
type ISCSIPortal *xms.ISCSIPortal
type InitiatorGroup ¶
type InitiatorGroup xms.InitiatorGroup
type InitiatorGroupFolder ¶
type NewInitiatorOptions ¶
type NewInitiatorOptions xms.PostInitiatorsReq
type NewInitiatorResult ¶
type NewInitiatorResult *xms.PostInitiatorsResp
type NewLunMapOptions ¶
type NewLunMapOptions xms.PostLunMapsReq
type NewLunMapResult ¶
type NewLunMapResult *xms.PostLunMapsResp
type NewSnapshotOptions ¶
type NewSnapshotOptions xms.PostSnapshotsReq
type NewSnapshotResult ¶
type NewSnapshotResult *xms.PostSnapshotsResp
type NewVolumeOptions ¶
type NewVolumeOptions xms.PostVolumesReq
type NewVolumeResult ¶
type NewVolumeResult *xms.PostVolumesResp
type SnapListItems ¶
type SnapListItems []*xms.SnapListItem
func NewSnapListItems ¶
func NewSnapListItems(ancestorIdsAndNames ...string) SnapListItems
type Snapshot ¶
func SnapshotCtorNameIndex ¶
Constructs a new Snapshot instance
type Volume ¶
func VolumeCtorNameIndex ¶
Constructs a new Volume instance
type VolumeFolder ¶
type VolumeFolder *xms.VolumeFolder