Versions in this module Expand all Collapse all v1 v1.7.1 Jun 16, 2023 Changes in this version + var ConcurrentHTTPConnections = 2 + type ACL *api.ACL + type Client struct + API api.Client + func NewClient(ctx context.Context) (*Client, error) + func NewClientWithArgs(ctx context.Context, endpoint string, insecure bool, ...) (*Client, error) + func (c *Client) AddExportClients(ctx context.Context, name string, clients ...string) error + func (c *Client) AddExportClientsByID(ctx context.Context, id int, clients ...string) error + func (c *Client) AddExportRootClients(ctx context.Context, name string, clients ...string) error + func (c *Client) AddExportRootClientsByID(ctx context.Context, id int, clients ...string) error + func (c *Client) ClearExportClients(ctx context.Context, name string) error + func (c *Client) ClearExportClientsByID(ctx context.Context, id int) error + func (c *Client) ClearExportRootClients(ctx context.Context, name string) error + func (c *Client) ClearExportRootClientsByID(ctx context.Context, id int) error + func (c *Client) ClearQuota(ctx context.Context, name string) error + func (c *Client) CopySnapshot(ctx context.Context, sourceId int64, sourceName, destinationName string) (Volume, error) + func (c *Client) CopyVolume(ctx context.Context, src, dest string) (Volume, error) + func (c *Client) CreateSnapshot(ctx context.Context, path, name string) (Snapshot, error) + func (c *Client) CreateVolume(ctx context.Context, name string) (Volume, error) + func (c *Client) CreateVolumeDir(ctx context.Context, volumeName, dirPath string, fileMode os.FileMode, ...) error + func (c *Client) DeleteVolume(ctx context.Context, name string) error + func (c *Client) DisableFailureMapping(ctx context.Context, name string) error + func (c *Client) DisableFailureMappingByID(ctx context.Context, id int) error + func (c *Client) DisableNonRootMapping(ctx context.Context, name string) error + func (c *Client) DisableNonRootMappingByID(ctx context.Context, id int) error + func (c *Client) DisableRootMapping(ctx context.Context, name string) error + func (c *Client) DisableRootMappingByID(ctx context.Context, id int) error + func (c *Client) EnableFailureMapping(ctx context.Context, name, user string) error + func (c *Client) EnableFailureMappingByID(ctx context.Context, id int, user string) error + func (c *Client) EnableNonRootMapping(ctx context.Context, name, user string) error + func (c *Client) EnableNonRootMappingByID(ctx context.Context, id int, user string) error + func (c *Client) EnableRootMapping(ctx context.Context, name, user string) error + func (c *Client) EnableRootMappingByID(ctx context.Context, id int, user string) error + func (c *Client) Export(ctx context.Context, name string) (int, error) + func (c *Client) ExportVolume(ctx context.Context, name string) (int, error) + func (c *Client) ForceDeleteVolume(ctx context.Context, name string) error + func (c *Client) GetExportByID(ctx context.Context, id int) (Export, error) + func (c *Client) GetExportByName(ctx context.Context, name string) (Export, error) + func (c *Client) GetExportClients(ctx context.Context, name string) ([]string, error) + func (c *Client) GetExportClientsByID(ctx context.Context, id int) ([]string, error) + func (c *Client) GetExportRootClients(ctx context.Context, name string) ([]string, error) + func (c *Client) GetExportRootClientsByID(ctx context.Context, id int) ([]string, error) + func (c *Client) GetExports(ctx context.Context) (ExportList, error) + func (c *Client) GetFailureMapping(ctx context.Context, name string) (UserMapping, error) + func (c *Client) GetFailureMappingByID(ctx context.Context, id int) (UserMapping, error) + func (c *Client) GetNonRootMapping(ctx context.Context, name string) (UserMapping, error) + func (c *Client) GetNonRootMappingByID(ctx context.Context, id int) (UserMapping, error) + func (c *Client) GetQuota(ctx context.Context, name string) (Quota, error) + func (c *Client) GetRootMapping(ctx context.Context, name string) (UserMapping, error) + func (c *Client) GetRootMappingByID(ctx context.Context, id int) (UserMapping, error) + func (c *Client) GetSnapshot(ctx context.Context, id int64, name string) (Snapshot, error) + func (c *Client) GetSnapshots(ctx context.Context) (SnapshotList, error) + func (c *Client) GetSnapshotsByPath(ctx context.Context, path string) (SnapshotList, error) + func (c *Client) GetVolume(ctx context.Context, id, name string) (Volume, error) + func (c *Client) GetVolumeACL(ctx context.Context, volumeName string) (ACL, error) + func (c *Client) GetVolumeExportMap(ctx context.Context, includeRootClients bool) (map[Volume]Export, error) + func (c *Client) GetVolumes(ctx context.Context) ([]Volume, error) + func (c *Client) IsExported(ctx context.Context, name string) (bool, int, error) + func (c *Client) QueryVolumeChildren(ctx context.Context, name string) (VolumeChildrenMap, error) + func (c *Client) RemoveSnapshot(ctx context.Context, id int64, name string) error + func (c *Client) SetExportClients(ctx context.Context, name string, clients ...string) error + func (c *Client) SetExportClientsByID(ctx context.Context, id int, clients ...string) error + func (c *Client) SetExportRootClients(ctx context.Context, name string, clients ...string) error + func (c *Client) SetExportRootClientsByID(ctx context.Context, id int, clients ...string) error + func (c *Client) SetQuotaSize(ctx context.Context, name string, size int64) error + func (c *Client) SetVolumeOwner(ctx context.Context, volumeName, userName string) error + func (c *Client) SetVolumeOwnerToCurrentUser(ctx context.Context, volumeName string) error + func (c *Client) Unexport(ctx context.Context, name string) error + func (c *Client) UnexportByID(ctx context.Context, id int) error + func (c *Client) UnexportVolume(ctx context.Context, name string) error + func (c *Client) UpdateQuotaSize(ctx context.Context, name string, size int64) error + type Export *api.Export + type ExportList []*api.Export + type Quota *api.IsiQuota + type Snapshot *api.IsiSnapshot + type SnapshotList []*api.IsiSnapshot + type UserMapping *api.UserMapping + type Volume *apiv1.IsiVolume + type VolumeChildren apiv2.ContainerChildList + type VolumeChildrenMap map[string]*apiv2.ContainerChild