Versions in this module Expand all Collapse all v1 v1.2.0 Sep 16, 2018 v1.1.1 May 10, 2018 v1.1.0 Mar 25, 2018 v1.0.0 Dec 19, 2017 v0 v0.4.0 Aug 30, 2017 Changes in this version + const UserSpecifiedGid + const UserSpecifiedUid type SetQuotaRequest_v2 + ObjectName string v0.3.0 Jul 6, 2017 Changes in this version + const UserSpecifiedFilesetType + const UserSpecifiedInodeLimit + func CreateFilesetInternal(logger *log.Logger, executor utils.Executor, filesystemName string, ...) error + func DeleteFilesetInternal(logger *log.Logger, executor utils.Executor, filesystemName string, ...) error + func ExportNfsInternal(logger *log.Logger, executor utils.Executor, command string, args []string) error + func GetClusterIdInternal(logger *log.Logger, executor utils.Executor, command string, args []string) (string, error) + func GetFilesystemMountpointInternal(logger *log.Logger, executor utils.Executor, filesystemName string, ...) (string, error) + func IsFilesetLinkedInternal(logger *log.Logger, executor utils.Executor, filesystemName string, ...) (bool, error) + func IsFilesystemMountedInternal(logger *log.Logger, executor utils.Executor, filesystemName string, ...) (bool, error) + func LinkFilesetInternal(logger *log.Logger, executor utils.Executor, filesystemName string, ...) error + func ListFilesetInternal(logger *log.Logger, executor utils.Executor, filesystemName string, ...) (resources.Volume, error) + func ListFilesetQuotaInternal(logger *log.Logger, executor utils.Executor, filesystemName string, ...) (string, error) + func MountFileSystemInternal(logger *log.Logger, executor utils.Executor, filesystemName string, ...) error + func SetFilesetQuotaInternal(logger *log.Logger, executor utils.Executor, filesystemName string, ...) error + func UnexportNfsInternal(logger *log.Logger, executor utils.Executor, command string, args []string) error + func UnlinkFilesetInternal(logger *log.Logger, executor utils.Executor, filesystemName string, ...) error + 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 + RcpSudoWrapper 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 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 + 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 string + 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 MountInfo struct + AdditionalMountOptions string + AutomaticMountOption string + DriveLetter string + MountPoint string + MountPriority int + 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 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 + 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 + CreateFileset func(filesystemName string, filesetName string, opts map[string]interface{}) error + DeleteFileset func(filesystemName string, filesetName string) error + ExportNfs func(volumeMountpoint string, clientConfig string) error + GetClusterId func() (string, error) + GetFilesystemMountpoint 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) error + ListFileset func(filesystemName string, filesetName string) (resources.Volume, error) + ListFilesetQuota func(filesystemName string, filesetName string) (string, error) + ListFilesets func(filesystemName string) ([]resources.Volume, error) + ListFilesystems func() ([]string, error) + MountFileSystem func(filesystemName string) error + SetFilesetQuota func(filesystemName string, filesetName string, quota string) error + UnexportNfs func(volumeMountpoint string) error + UnlinkFileset func(filesystemName string, filesetName string) error + func GetSpectrumScaleConnector(logger *log.Logger, config resources.SpectrumScaleConfig) (SpectrumScaleConnector, error) + func NewSpectrumMMCLI(logger *log.Logger) (SpectrumScaleConnector, error) + func NewSpectrumMMCLIWithExecutor(logger *log.Logger, executor utils.Executor) (SpectrumScaleConnector, error) + func NewSpectrumRest(logger *log.Logger, restConfig resources.RestConfig) (SpectrumScaleConnector, error) + func NewSpectrumRestV2(logger *log.Logger, restConfig resources.RestConfig) (SpectrumScaleConnector, error) + func NewSpectrumRestWithClient(logger *log.Logger, restConfig resources.RestConfig, client *http.Client) (SpectrumScaleConnector, error) + func NewSpectrumSSH(logger *log.Logger, sshConfig resources.SshConfig) (SpectrumScaleConnector, error) + func NewSpectrumSSHWithExecutor(logger *log.Logger, sshConfig resources.SshConfig, executor utils.Executor) (SpectrumScaleConnector, error) + func NewspectrumRestV2WithClient(logger *log.Logger, restConfig resources.RestConfig) (SpectrumScaleConnector, *http.Client, error) + type Status struct + Code int + Message string + type UnlinkFilesetRequest struct + Force bool Incompatible versions in this module v2.1.0+incompatible Apr 15, 2019 v2.0.0+incompatible Dec 19, 2018