Versions in this module Expand all Collapse all v1 v1.2.5 Apr 3, 2024 Changes in this version + const BackingShareNotFound + const BlockVolumeSizeNotSpecified + const BlockVolumesUnsupported + const ConflictingCapabilities + const CsiPluginName + const DefaultBackingFileSizeBytes + const DefaultVolumeNameFormat + const EmptySnapshotId + const EmptyStagingTargetPath + const EmptyTargetPath + const EmptyVolumeId + const EmptyVolumePath + const FileNotFound + const ImproperlyFormattedSnapshotId + const InvalidAdditionalMetadataTags + const InvalidComment + const InvalidCommentSize + const InvalidDeleteDelay + const InvalidExportOptions + const InvalidObjectiveNameDoesNotExist + const InvalidRootSquash + const InvalidShareNameSize + const LoopDeviceAttachFailed + const MissingBlockBackingShareName + const MissingMountBackingShareName + const MissingSnapshotSourceVolumeId + const NoCapabilitiesSupplied + const OutOfCapacity + const ShareNotFound + const ShareNotMounted + const SharePathPrefix + const ShareStagingDir + const SnapshotIdTooLong + const SourceSnapshotNotFound + const SourceSnapshotShareNotFound + const TargetPathUnknownFiletype + const TopologyKeyDataPortal + const UnexpectedHSStatusCode + const UnknownError + const VolumeBeingDeleted + const VolumeDeleteHasSnapshots + const VolumeExistsSizeMismatch + const VolumeIdTooLong + const VolumeNotFound + var CommandExecTimeout = 300 * time.Second + var CsiVersion = "1" + var DataPortalMountPrefix = "" + var DefaultDataPortalMountPrefixes = [...]string + var ExecCommand = execCommandHelper + var Githash = "NONE" + var UseAnvil bool + var Version = "NONE" + func BindMountDevice(sourcefile, destfile string) error + func DeleteFile(pathname string) error + func EnsureFreeLoopbackDeviceFile() (uint64, error) + func ExpandDeviceFileSize(pathname string, size int64) error + func ExpandFilesystem(device, fsType string) error + func FormatDevice(device, fsType string) error + func GetCommonExtendedInfo() map[string]string + func GetDeviceMinorNumber(device string) (uint32, error) + func GetNFSExports(address string) ([]string, error) + func IsShareMounted(targetPath string) (bool, error) + func MakeEmptyRawFile(pathname string, size int64) error + func MountFilesystem(sourcefile, destfile, fsType string, mountFlags []string) error + func MountShare(sourcePath, targetPath string, mountFlags []string) error + func SetMetadataTags(localPath string, tags map[string]string) error + func UnmountFilesystem(targetPath string) error + type AppliedObjectiveResponse struct + Name string + type Cluster struct + Name string + PortalFloatingIps []PortalFloatingIps + type ClusterObjectiveResponse struct + Name string + type ClusterResponse struct + Capacity map[string]int64 + type DataPortal struct + AdminState string + DataPortalType string + Exported []string + Node DataPortalNode + OperState string + Uoid map[string]string + type DataPortalNode struct + MgmtIpAddress DataPortalNodeAddress + Name string + type DataPortalNodeAddress struct + Address string + PrefixLength int + type File struct + Name string + Path string + Size int64 + type FileSnapshot struct + SourceFilename string + Time string + type HSVolume struct + AdditionalMetadataTags map[string]string + BlockBackingShareName string + Comment string + DeleteDelay int64 + ExportOptions []ShareExportOptions + FSType string + MountBackingShareName string + Name string + Objectives []string + Path string + Size int64 + SourceSnapPath string + SourceSnapShareName string + VolumeMode string + type HSVolumeParameters struct + AdditionalMetadataTags map[string]string + BlockBackingShareName string + Comment string + DeleteDelay int64 + ExportOptions []ShareExportOptions + FSType string + MountBackingShareName string + Objectives []string + VolumeNameFormat string + type ObjectivesResponse struct + Applied []AppliedObjectiveResponse + type PortalFloatingIps struct + Address string + PrefixLength int + type ShareExportOptions struct + AccessPermissions string + RootSquash bool + Subnet string + type ShareInodesResponse struct + Available int64 + Percent int64 + Total int64 + Used int64 + type ShareRequest struct + Comment string + ExportOptions []ShareExportOptions + ExportPath string + ExtendedInfo map[string]string + Name string + Size int64 + type ShareResponse struct + Comment string + ExportOptions []ShareExportOptions + ExportPath string + ExtendedInfo map[string]string + Inodes ShareInodesResponse + Name string + Objectives ObjectivesResponse + ShareState string + Size int64 + Space ShareSpaceResponse + type ShareSpaceResponse struct + Available int64 + Percent int64 + Total int64 + Used int64 + type ShareUpdateRequest struct + Comment string + ExtendedInfo map[string]string + Name string + type SnapshotResponse struct + Created string + Modified string + Name string + type Task struct + Action string + ExitValue string + ParamsMap TaskParamsMap + Status string + Uuid string + type TaskParamsMap struct + CreatePath string + CreatedBy string + CreatedByName string + Name string + OverideMemCheck string + type VolumeResponse struct + Capacity string + Created string + Modified string + Name string + OperatingState string + StorageVolumeState string