Documentation
¶
Index ¶
- func ExportsPath(p string)
- func NamespacePath(p string)
- func QuotaPath(p string)
- func SnapshotsPath(p string)
- func VolumeSnapshotsPath(p string)
- func VolumesPath(p string)
- type Client
- func (c *Client) ClearExportClients(name string) error
- func (c *Client) ClearQuota(name string) error
- func (c *Client) CopySnapshot(sourceId int64, sourceName, destinationName string) (Volume, error)
- func (c *Client) CopyVolume(source_name, destination_name string) (Volume, error)
- func (c *Client) CreateSnapshot(path, name string) (Snapshot, error)
- func (c *Client) CreateVolume(name string) (Volume, error)
- func (c *Client) DeleteVolume(name string) error
- func (c *Client) Export(name string) error
- func (c *Client) ExportVolume(name string) error
- func (c *Client) GetExportClients(name string) ([]string, error)
- func (c *Client) GetIsiExport(id, name string) (Export, error)
- func (c *Client) GetIsiExports() (ExportList, error)
- func (c *Client) GetQuota(name string) (Quota, error)
- func (c *Client) GetSnapshot(id int64, name string) (Snapshot, error)
- func (c *Client) GetSnapshots() (SnapshotList, error)
- func (c *Client) GetSnapshotsByPath(path string) (SnapshotList, error)
- func (c *Client) GetVolume(id string, name string) (Volume, error)
- func (c *Client) GetVolumeExports() ([]*VolumeExport, error)
- func (c *Client) GetVolumes() ([]Volume, error)
- func (c *Client) NameFromPath(path string) string
- func (c *Client) Path(name string) string
- func (c *Client) RemoveSnapshot(id int64, name string) error
- func (c *Client) SetExportClients(name string, client []string) error
- func (c *Client) SetQuotaSize(name string, size int64) error
- func (c *Client) Unexport(name string) error
- func (c *Client) UnexportVolume(name string) error
- func (c *Client) UpdateQuotaSize(name string, size int64) error
- type Client1
- type Export
- type ExportList
- type Quota
- type Snapshot
- type SnapshotList
- type Volume
- type VolumeExport
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExportsPath ¶
func ExportsPath(p string)
func NamespacePath ¶
func NamespacePath(p string)
func SnapshotsPath ¶
func SnapshotsPath(p string)
func VolumeSnapshotsPath ¶
func VolumeSnapshotsPath(p string)
func VolumesPath ¶
func VolumesPath(p string)
Types ¶
type Client ¶
type Client Client1
func NewClientWithArgs ¶
func (*Client) ClearExportClients ¶
Clear the list of all clients that can connect to a given volume. This essentially makes the volume accessible by all.
func (*Client) ClearQuota ¶
ClearQuota removes the quota from a volume
func (*Client) CopySnapshot ¶
func (*Client) CopyVolume ¶
CopyVolume creates a volume based on an existing volume
func (*Client) CreateSnapshot ¶
func (*Client) CreateVolume ¶
CreateVolume creates a volume
func (*Client) DeleteVolume ¶
DeleteVolume deletes a volume
func (*Client) ExportVolume ¶
ExportVolume exports a volume
func (*Client) GetExportClients ¶
Get a list of all clients allowed to connect to a given volume
func (*Client) GetIsiExport ¶
Gets a specific export (by volume id or name) on a cluster
func (*Client) GetIsiExports ¶
func (c *Client) GetIsiExports() (ExportList, error)
Gets a list of all exports on the cluster
func (*Client) GetSnapshots ¶
func (c *Client) GetSnapshots() (SnapshotList, error)
func (*Client) GetSnapshotsByPath ¶
func (c *Client) GetSnapshotsByPath(path string) (SnapshotList, error)
func (*Client) GetVolumeExports ¶
func (c *Client) GetVolumeExports() ([]*VolumeExport, error)
GetVolumeExports return a list of volume exports
func (*Client) GetVolumes ¶
GetVolumes returns a list of volumes
func (*Client) NameFromPath ¶
func (*Client) SetExportClients ¶
Set the list of clients allowed to connect to a given volume
func (*Client) SetQuotaSize ¶
SetQuota sets the max size (hard threshold) of a quota for a volume
func (*Client) UnexportVolume ¶
UnexportVolume stops exporting a volume
type ExportList ¶
type Snapshot ¶
type Snapshot *papi.IsiSnapshot
type SnapshotList ¶
type SnapshotList []*papi.IsiSnapshot