Versions in this module Expand all Collapse all v1 v1.0.0 Dec 10, 2019 Changes in this version + const UserSpecifiedFilesetTypeDep + const UserSpecifiedInodeLimitDep type Quota_v2 + BlockLimit int v0 v0.9.0 Sep 25, 2019 Changes in this version + const UserSpecifiedClusterId + const UserSpecifiedFilesetType + const UserSpecifiedGID + const UserSpecifiedGid + const UserSpecifiedInodeLimit + const UserSpecifiedParentFset + const UserSpecifiedUID + const UserSpecifiedUid + const UserSpecifiedVolBackendFs + const UserSpecifiedVolDirPath + type AFM struct + AFMAsyncDelay int + AFMDirLookupRefreshInterval int + AFMDirOpenRefreshInterval int + AFMEnableAutoEviction bool + AFMExpirationTimeout int + AFMFileLookupRefreshInterval int + AFMMode string + AFMNumFlushThreads int + AFMParallelReadChunkSize int + AFMParallelReadThreshold int + AFMParallelWriteChunkSize int + AFMParallelWriteThreshold int + AFMPrefetchThreshold int + AFMPrimaryID string + AFMRPO int + AFMShowHomeSnapshots bool + AFMTarget string + type BlockInfo struct + BlockSize int + Disks string + IndirectBlockSize int + InodeSize int + LogfileSize int + MetaDataBlockSize int + MinFragmentSize int + Pools string + WriteCacheThreshold int + type CESNode struct + CESGroup string + CESIPList string + CESState string + type CNFSNode struct + CNFSGroupID string + CNFSIPList string + CNFSState string + type CesSummary struct + AddressPolicy string + CesSharedRoot string + EnabledServices string + LogLevel int + type Cluster struct + CesSummary CesSummary + ClusterSummary ClusterSummary + CnfsSummary CnfsSummary + Links map[string]string + Nodes []ClusterNode + type ClusterNode struct + AdminLoginName string + AdminNodeName string + CESNode CESNode + CNFSNode CNFSNode + DaemonNodeName string + Designation string + IPAddress string + Links map[string]string + NodeNumber int + OtherNodeRoles string + type ClusterSummary struct + ClusterID uint64 + ClusterName string + PrimaryServer string + RcpPath string + RepositoryType string + RshPath string + SecondaryServer string + UIDDomain string + type CnfsSummary struct + CNFSGanesha string + CNFSMonitorEnabled string + CNFSMountdPort string + CNFSNFSDprocs string + CNFSReboot string + CNFSSharedReboot string + type CreateFilesetRequest struct + AfmAsyncDelay string + AfmDirLookupRefreshInterval string + AfmDirOpenRefreshInterval string + AfmEnableAutoEviction string + AfmExpirationTimeout string + AfmFileLookupRefreshInterval string + AfmMode string + AfmNumFlushThreads int + AfmParallelReadChunkSize int + AfmParallelReadThreshold int + AfmParallelWriteChunkSize int + AfmParallelWriteThreshold int + AfmPrefetchThreshold int + AfmPrimaryID string + AfmRPO int + AfmShowHomeSnapshots string + AfmTarget string + AllocInodes string + Comment string + FilesetName string + IamMode string + InodeSpace string + MaxNumInodes string + Owner string + Path string + PermissionChangeMode string + Permissions string + type CreateFilesetResquest struct + AFM AFM + Config FilesetConfig + type CreateMakeDirRequest struct + GID string + UID string + type FileSystem struct + ACLSemantics string + AdditionalMountOptions string + AutomaticMountOption string + BlockAllocationType string + BlockSize string + CreateTime string + DMAPIEnabled string + DefaultMetadataReplicas string + DefaultMountPoint string + DefaultQuotasEnabled string + Disks string + Encryption string + ExactMTime string + FastEAEnabled string + FileLockingSemantics string + FilesetdfEnabled string + FilesystemHighestSupported string + FilesystemName string + FilesystemVersion string + FilesystemVersionLocal string + FilesystemVersionManager string + FilesystemVersionOriginal string + IndirectBlockSize string + InodeSize string + Is4KAligned string + Links map[string]string + LogReplicas string + LogfileSize string + MaxDataReplicas string + MaxMetadataReplicas string + MaxNumberOfInodes string + MaxSnapshotId string + MinFragmentSize string + MountPriority string + NumNodes string + OtherPools []Pool + PerfilesetQuotas string + QuotasAccountingEnable string + QuotasEnforced string + RapidRepairEnabled string + StoragePools string + StrictReplication string + SuppressATime string + UID string + WriteCacheThreshold string + type FileSystem_v2 struct + Block BlockInfo + CreateTime string + Mount MountInfo + Name string + Oid int + Quota QuotaInfo + Replication ReplicationInfo + Settings SettingInfo + Type string + UUID string + Version string + type Fileset struct + AFM AFM + Config FilesetConfig + Links map[string]string + State FilesetState + type FilesetConfig struct + AllocInodes string + Comment string + FilesetName string + FilesystemName string + IAMMode string + INodeSpace string + MaxNumInodes string + Owner string + Path string + PermissionChangeMode string + Permissions string + type FilesetConfig_v2 struct + Comment string + Created string + FilesetName string + FilesystemName string + IamMode string + Id int + InodeSpace int + InodeSpaceMask int + IsInodeSpaceOwner bool + MaxNumInodes int + Oid int + ParentId int + Path string + PermissionChangeMode string + RootInode int + SnapID int + Status string + type FilesetState struct + AFMState string + Created string + DataInKB string + FreeInodes string + ID string + InodeSpaceMAsk string + Inodes string + IsInodeSpaceOwner string + ParentID string + RootInode string + SnapID string + Status string + type Fileset_v2 struct + AFM AFM + Config FilesetConfig_v2 + FilesetName string + type GenericResponse struct + Jobs []Job + Status Status + type GetClusterResponse struct + Cluster Cluster + Status Status + type GetFilesetResponse struct + Filesets []Fileset + Status Status + type GetFilesetResponse_v2 struct + Filesets []Fileset_v2 + Paging Pages + Status Status + type GetFilesystemResponse struct + FileSystems []FileSystem + Status Status + type GetFilesystemResponse_v2 struct + FileSystems []FileSystem_v2 + Paging Pages + Status Status + type GetNodesResponse struct + Nodes []Node + Status Status + type GetNodesResponse_v2 struct + Nodes []Node_v2 + Paging Pages + Status Status + type GetQuotaResponse struct + Links map[string]string + Quotas []Quota + Status Status + type GetQuotaResponse_v2 struct + Paging Pages + Quotas []Quota_v2 + Status Status + type Job struct + Completed string + JobID uint64 + Request Resprequest + Result Respresult + Status string + Submitted string + type LinkFilesetRequest struct + Path string + type MountFilesystemRequest struct + MountOptions string + Nodes []string + type MountInfo struct + AdditionalMountOptions string + AutomaticMountOption string + MountPoint string + MountPriority int + NodesMounted []string + ReadOnly bool + RemoteDeviceName string + type Network struct + AdminIPAddress string + DaemonIPAddress string + DaemonNodeName string + GetcnfsNodeName string + type Node struct + AdminLogin string + CESNode string + CNFSInterface string + CNFSState string + ClientNode string + DaemonIPAddress string + DaemonInterface string + DesignatedLicence string + GPFSState string + GatewayNode string + Links map[string]string + ManagerNode string + NodeName string + NodeNumber string + OSName string + ProductVersion string + QuorumNode string + SNMPNode string + type NodeConfig struct + AdminLoginName string + DesignatedLicense string + RequiredLicense string + type NodeRoles struct + CESNode string + CNFSNode string + ClientNode string + CloudGatewayNode string + Designation string + GatewayNode string + ManagerNode string + OtherNodeRoles string + QuorumNode string + SNMPNode string + type NodeStatus struct + GPFSState string + NodeState string + OSName string + ProductVersion string + type Node_v2 struct + AdminNodename string + CESInfo CESNode + CNFSInfo CNFSNode + Config NodeConfig + Network Network + NodeNumber int + Roles NodeRoles + Status NodeStatus + type OwnerInfo struct + GID int + Group string + UID int + User string + type OwnerResp_v2 struct + Owner OwnerInfo + Status Status + type Pages struct + Next string + type Pool struct + BlockSize string + MinFragmentSize string + type Quota struct + BlockGrace string + BlockInDoubt string + BlockLimit string + BlockQuota string + BlockUsage string + DefQuota string + FilesGrace string + FilesInDoubt string + FilesLimit string + FilesQuota string + FilesUsage string + FilesetId string + FilesetName string + FilesystemName string + ObjectID string + ObjectName string + QuotaType string + type QuotaInfo struct + DefaultQuotasEnabled string + FilesetdfEnabled bool + PerfilesetQuotas bool + QuotasAccountingEnabled string + QuotasEnforced string + type Quota_v2 struct + BlockGrace string + BlockInDoubt int + BlockQuota int + BlockUsage int + DefaultQuota string + FilesGrace string + FilesInDoubt int + FilesLimit int + FilesQuota int + FilesUsage int + FilesetName string + FilesystemName string + ObjectId int + ObjectName string + QuotaID int + QuotaType string + type ReplicationInfo struct + DefaultDataReplicas int + DefaultMetadataReplicas int + LogReplicas int + MaxDataReplicas int + MaxMetadataReplicas int + StrictReplication string + type Resprequest struct + Data map[string]interface{} + Type string + Url string + type Respresult struct + Commands []string + ExitCode int + Progress []string + Stderr []string + Stdout []string + type SetQuotaRequest struct + BlockGracePeriod string + BlockHardLimit string + BlockSoftLimit string + FilesGracePeriod string + FilesHardLimit string + FilesSoftLimit string + FilesetName string + FilesystemName string + ObjectName string + OperationType string + QuotaType string + type SetQuotaRequest_v2 struct + BlockGracePeriod string + BlockHardLimit string + BlockSoftLimit string + FilesGracePeriod string + FilesHardLimit string + FilesSoftLimit string + ObjectName string + OperationType string + QuotaType string + type SettingInfo struct + ACLSemantics string + BlockAllocationType string + DMAPIEnabled bool + Encryption bool + ExactMTime bool + FastEAEnabled bool + FileLockingSemantics string + Is4KAligned bool + MaxNumberOfInodes int + NumNodes int + RapidRepairEnabled bool + StripeMethod string + StripedLogs bool + SuppressATime string + type SpectrumScaleConnector interface + CheckIfFSQuotaEnabled func(filesystem string) error + CheckIfFileDirPresent func(filesystemName string, relPath string) (bool, error) + CreateFileset func(filesystemName string, filesetName string, opts map[string]interface{}) error + CreateSymLink func(SlnkfilesystemName string, TargetFs string, relativePath string, ...) error + DeleteDirectory func(filesystemName string, dirName string) error + DeleteFileset func(filesystemName string, filesetName string) error + DeleteSymLnk func(filesystemName string, LnkName string) error + GetClusterId func() (string, error) + GetFileSetNameFromId func(filesystemName string, Id string) (string, error) + GetFileSetUid func(filesystemName string, filesetName string) (string, error) + GetFilesystemMountDetails func(filesystemName string) (MountInfo, error) + GetFilesystemMountpoint func(filesystemName string) (string, error) + GetFilesystemName func(filesystemUUID string) (string, error) + GetFsUid func(filesystemName string) (string, error) + IsFilesetLinked func(filesystemName string, filesetName string) (bool, error) + IsFilesystemMounted func(filesystemName string) (bool, error) + LinkFileset func(filesystemName string, filesetName string, linkpath string) error + ListFileset func(filesystemName string, filesetName string) (Fileset_v2, error) + ListFilesetQuota func(filesystemName string, filesetName string) (string, error) + ListFilesystems func() ([]string, error) + MakeDirectory func(filesystemName string, relativePath string, uid int, gid int) error + MountFilesystem func(filesystemName string, nodeName string) error + SetFilesetQuota func(filesystemName string, filesetName string, quota string) error + UnlinkFileset func(filesystemName string, filesetName string) error + UnmountFilesystem func(filesystemName string, nodeName string) error + func GetSpectrumScaleConnector(config settings.Clusters) (SpectrumScaleConnector, error) + func NewSpectrumRestV2(scaleConfig settings.Clusters) (SpectrumScaleConnector, error) + type Status struct + Code int + Message string + type SymLnkRequest struct + FilesystemName string + RelativePath string + type UnlinkFilesetRequest struct + Force bool + type UnmountFilesystemRequest struct + Force bool + Nodes []string