Documentation
¶
Index ¶
- Variables
- func CacheExpires(r *http.Response) time.Time
- type APIClient
- type APIKey
- type APIResponse
- type ActiveJobStatus
- type ApiKey
- type ApiKeyCollection
- type ApiKeyFull
- type ApiKeyScope
- type AttributeError
- type BasicAuth
- type Blank
- type CloudBucket
- type CloudBucketCollection
- type CloudBucketSimpleCollection
- type CloudBucketsApiService
- func (a *CloudBucketsApiService) IndexCloudBuckets(ctx context.Context, localVarOptionals *IndexCloudBucketsOpts) (CloudBucketCollection, *http.Response, error)
- func (a *CloudBucketsApiService) IndexCloudBucketsByCloudConnector(ctx context.Context, cloudConnectorId string, ...) (CloudBucketCollection, *http.Response, error)
- func (a *CloudBucketsApiService) IndexCloudBucketsByCloudPool(ctx context.Context, cloudPoolId string, ...) (CloudBucketCollection, *http.Response, error)
- func (a *CloudBucketsApiService) MountStatusCloudBucket(ctx context.Context, cloudBucketId string) (MountStatus, *http.Response, error)
- func (a *CloudBucketsApiService) MountStatusCloudBucketByCloudConnector(ctx context.Context, cloudConnectorId string, cloudBucketId string) (MountStatus, *http.Response, error)
- func (a *CloudBucketsApiService) MountStatusCloudBucketByCloudPool(ctx context.Context, cloudPoolId string, cloudBucketId string) (MountStatus, *http.Response, error)
- func (a *CloudBucketsApiService) ShowCloudBucket(ctx context.Context, cloudBucketId string) (CloudBucket, *http.Response, error)
- func (a *CloudBucketsApiService) ShowCloudBucketByCloudConnector(ctx context.Context, cloudConnectorId string, cloudBucketId string) (CloudBucket, *http.Response, error)
- func (a *CloudBucketsApiService) ShowCloudBucketByCloudPool(ctx context.Context, cloudPoolId string, cloudBucketId string) (CloudBucket, *http.Response, error)
- func (a *CloudBucketsApiService) SyncCloudBuckets(ctx context.Context, cloudConnectorId string) (ActiveJobStatus, *http.Response, error)
- func (a *CloudBucketsApiService) SyncResultCloudBuckets(ctx context.Context, cloudConnectorId string, ...) (CloudBucketSimpleCollection, *http.Response, error)
- type CloudConnector
- type CloudConnectorCollection
- type CloudConnectorsApiService
- func (a *CloudConnectorsApiService) CreateCloudConnector(ctx context.Context, cloudConnectorBody CloudConnector) (CloudConnector, *http.Response, error)
- func (a *CloudConnectorsApiService) DestroyCloudConnector(ctx context.Context, cloudConnectorId string) (*http.Response, error)
- func (a *CloudConnectorsApiService) IndexCloudConnectors(ctx context.Context, localVarOptionals *IndexCloudConnectorsOpts) (CloudConnectorCollection, *http.Response, error)
- func (a *CloudConnectorsApiService) ShowCloudConnector(ctx context.Context, cloudConnectorId string) (CloudConnector, *http.Response, error)
- func (a *CloudConnectorsApiService) TestCloudConnector(ctx context.Context, cloudConnectorBody CloudConnector) (ActiveJobStatus, *http.Response, error)
- func (a *CloudConnectorsApiService) TestResultCloudConnector(ctx context.Context, localVarOptionals *TestResultCloudConnectorOpts) (CloudBucketSimpleCollection, *http.Response, error)
- func (a *CloudConnectorsApiService) UpdateCloudConnector(ctx context.Context, cloudConnectorId string, ...) (CloudConnector, *http.Response, error)
- type CloudPool
- type CloudPoolCollection
- type CloudPoolUp
- type CloudPoolsApiService
- func (a *CloudPoolsApiService) CreateCloudPool(ctx context.Context, cloudPoolBody CloudPoolUp) (CloudPool, *http.Response, error)
- func (a *CloudPoolsApiService) DestroyCloudPool(ctx context.Context, cloudPoolId string) (*http.Response, error)
- func (a *CloudPoolsApiService) IndexCloudPools(ctx context.Context, localVarOptionals *IndexCloudPoolsOpts) (CloudPoolCollection, *http.Response, error)
- func (a *CloudPoolsApiService) MountStatusCloudPool(ctx context.Context, cloudPoolId string) (MountStatus, *http.Response, error)
- func (a *CloudPoolsApiService) ShowCloudPool(ctx context.Context, cloudPoolId string) (CloudPool, *http.Response, error)
- func (a *CloudPoolsApiService) UpdateCloudPool(ctx context.Context, cloudPoolId string, cloudPoolBody CloudPoolUp) (CloudPool, *http.Response, error)
- type Configuration
- type Container
- type ContainerCollection
- type ContainerPrivilege
- type ContainerPrivilegeCollection
- type ContainersApiService
- func (a *ContainersApiService) CreateContainer(ctx context.Context, containerBody Container) (Container, *http.Response, error)
- func (a *ContainersApiService) CreateContainerPrivilege(ctx context.Context, containerId string, ...) (ContainerPrivilege, *http.Response, error)
- func (a *ContainersApiService) DestroyContainer(ctx context.Context, containerId string) (*http.Response, error)
- func (a *ContainersApiService) DestroyContainerPrivilege(ctx context.Context, containerId string, containerPrivilegeId int32) (*http.Response, error)
- func (a *ContainersApiService) IndexContainerPrivileges(ctx context.Context, containerId string, ...) (ContainerPrivilegeCollection, *http.Response, error)
- func (a *ContainersApiService) IndexContainers(ctx context.Context, localVarOptionals *IndexContainersOpts) (ContainerCollection, *http.Response, error)
- func (a *ContainersApiService) ShowContainer(ctx context.Context, containerId string) (Container, *http.Response, error)
- func (a *ContainersApiService) ShowContainerPrivilege(ctx context.Context, containerId string, containerPrivilegeId int32) (ContainerPrivilege, *http.Response, error)
- func (a *ContainersApiService) UpdateContainer(ctx context.Context, containerId string, containerBody Container) (Container, *http.Response, error)
- func (a *ContainersApiService) UpdateContainerPrivilege(ctx context.Context, containerId string, containerPrivilegeId int32, ...) (ContainerPrivilege, *http.Response, error)
- type FilesApiService
- func (a *FilesApiService) FilesChildren(ctx context.Context, fileParentId int32, localVarOptionals *FilesChildrenOpts) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) FilesChildrenByCloudPool(ctx context.Context, cloudPoolId string, fileParentId int32, ...) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) FilesChildrenByContainer(ctx context.Context, containerId string, fileParentId int32, ...) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) FilesChildrenByNasPool(ctx context.Context, nasPoolId string, fileParentId int32, ...) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) FilesChildrenByTapePool(ctx context.Context, tapePoolId string, fileParentId int32, ...) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) FilesChildrenByTask(ctx context.Context, taskId string, fileParentId int32, ...) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) FilesChildrenByTaskExecution(ctx context.Context, taskExecutionId int64, fileParentId int32, ...) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) FilesChildrenByTaskExecutionByTask(ctx context.Context, taskId string, taskExecutionId int64, fileParentId int32, ...) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) IndexFiles(ctx context.Context, localVarOptionals *IndexFilesOpts) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) IndexFilesByCloudPool(ctx context.Context, cloudPoolId string, ...) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) IndexFilesByContainer(ctx context.Context, containerId string, ...) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) IndexFilesByNasPool(ctx context.Context, nasPoolId string, ...) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) IndexFilesByTapePool(ctx context.Context, tapePoolId string, ...) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) IndexFilesByTask(ctx context.Context, taskId string, localVarOptionals *IndexFilesByTaskOpts) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) IndexFilesByTaskExecution(ctx context.Context, taskExecutionId int64, ...) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) IndexFilesByTaskExecutionByTask(ctx context.Context, taskId string, taskExecutionId int64, ...) (NodeumFileCollection, *http.Response, error)
- func (a *FilesApiService) ShowFile(ctx context.Context, fileId int32) (NodeumFileWithPath, *http.Response, error)
- func (a *FilesApiService) ShowFileByCloudPool(ctx context.Context, cloudPoolId string, fileId int32) (NodeumFileWithPath, *http.Response, error)
- func (a *FilesApiService) ShowFileByContainer(ctx context.Context, containerId string, fileId int32) (NodeumFileWithPath, *http.Response, error)
- func (a *FilesApiService) ShowFileByNasPool(ctx context.Context, nasPoolId string, fileId int32) (NodeumFileWithPath, *http.Response, error)
- func (a *FilesApiService) ShowFileByTapePool(ctx context.Context, tapePoolId string, fileId int32) (NodeumFileWithPath, *http.Response, error)
- func (a *FilesApiService) ShowFileByTask(ctx context.Context, taskId string, fileId int32) (NodeumFileWithPath, *http.Response, error)
- func (a *FilesApiService) ShowFileByTaskExecution(ctx context.Context, taskExecutionId int64, fileId int32) (NodeumFileWithPath, *http.Response, error)
- func (a *FilesApiService) ShowFileByTaskExecutionByTask(ctx context.Context, taskId string, taskExecutionId int64, fileId int32) (NodeumFileWithPath, *http.Response, error)
- type FilesChildrenByCloudPoolOpts
- type FilesChildrenByContainerOpts
- type FilesChildrenByNasPoolOpts
- type FilesChildrenByTapePoolOpts
- type FilesChildrenByTaskExecutionByTaskOpts
- type FilesChildrenByTaskExecutionOpts
- type FilesChildrenByTaskOpts
- type FilesChildrenOpts
- type Frozen
- type GenericSwaggerError
- type GreaterThan
- type GreaterThanOrEqualTo
- type ImportFile
- type IndexApiKeysOpts
- type IndexCloudBucketsByCloudConnectorOpts
- type IndexCloudBucketsByCloudPoolOpts
- type IndexCloudBucketsOpts
- type IndexCloudConnectorsOpts
- type IndexCloudPoolsOpts
- type IndexContainerPrivilegesOpts
- type IndexContainersOpts
- type IndexFilesByCloudPoolOpts
- type IndexFilesByContainerOpts
- type IndexFilesByNasPoolOpts
- type IndexFilesByTapePoolOpts
- type IndexFilesByTaskExecutionByTaskOpts
- type IndexFilesByTaskExecutionOpts
- type IndexFilesByTaskOpts
- type IndexFilesOpts
- type IndexMountPointsOpts
- type IndexNasOpts
- type IndexNasPoolsOpts
- type IndexNasSharesByNasOpts
- type IndexNasSharesByNasPoolOpts
- type IndexNasSharesOpts
- type IndexTapeDriveDevicesOpts
- type IndexTapeDrivesByTapeLibraryOpts
- type IndexTapeDrivesOpts
- type IndexTapeLibrariesOpts
- type IndexTapeLibraryDevicesOpts
- type IndexTapePoolsOpts
- type IndexTapesByTapeLibraryOpts
- type IndexTapesByTapePoolOpts
- type IndexTapesOpts
- type IndexTaskExecutionsOpts
- type IndexTaskMetadataOpts
- type IndexTaskOptionsOpts
- type IndexTaskSourcesOpts
- type IndexTasksOpts
- type Invalid
- type LessThan
- type LessThanOrEqualTo
- type ModelError
- type MountCollection
- type MountInfo
- type MountNotification
- type MountPoint
- type MountPointCollection
- type MountPointsApiService
- func (a *MountPointsApiService) CreateMountPoint(ctx context.Context, mountPointBody MountPoint) (MountPoint, *http.Response, error)
- func (a *MountPointsApiService) DestroyMountPoint(ctx context.Context, mountPointId string) (*http.Response, error)
- func (a *MountPointsApiService) IndexMountPoints(ctx context.Context, localVarOptionals *IndexMountPointsOpts) (MountPointCollection, *http.Response, error)
- func (a *MountPointsApiService) MountMountPoint(ctx context.Context, mountPointId string) (MountStatus, *http.Response, error)
- func (a *MountPointsApiService) MountStatusMountPoint(ctx context.Context, mountPointId string) (MountStatus, *http.Response, error)
- func (a *MountPointsApiService) ShowMountPoint(ctx context.Context, mountPointId string) (MountPoint, *http.Response, error)
- func (a *MountPointsApiService) UnmountMountPoint(ctx context.Context, mountPointId string) (MountStatus, *http.Response, error)
- func (a *MountPointsApiService) UpdateMountPoint(ctx context.Context, mountPointId string, mountPointBody MountPoint) (MountPoint, *http.Response, error)
- type MountStatus
- type MountsApiService
- type Nas
- type NasApiService
- func (a *NasApiService) CreateNas(ctx context.Context, nasBody Nas) (Nas, *http.Response, error)
- func (a *NasApiService) DestroyNas(ctx context.Context, nasId string) (*http.Response, error)
- func (a *NasApiService) IndexNas(ctx context.Context, localVarOptionals *IndexNasOpts) (NasCollection, *http.Response, error)
- func (a *NasApiService) ShowNas(ctx context.Context, nasId string) (Nas, *http.Response, error)
- func (a *NasApiService) UpdateNas(ctx context.Context, nasId string, nasBody Nas) (Nas, *http.Response, error)
- type NasCollection
- type NasPool
- type NasPoolCollection
- type NasPoolUp
- type NasPoolsApiService
- func (a *NasPoolsApiService) CreateNasPool(ctx context.Context, nasPoolBody NasPoolUp) (NasPool, *http.Response, error)
- func (a *NasPoolsApiService) DestroyNasPool(ctx context.Context, nasPoolId string) (*http.Response, error)
- func (a *NasPoolsApiService) IndexNasPools(ctx context.Context, localVarOptionals *IndexNasPoolsOpts) (NasPoolCollection, *http.Response, error)
- func (a *NasPoolsApiService) MountStatusNasPool(ctx context.Context, nasPoolId string) (MountStatus, *http.Response, error)
- func (a *NasPoolsApiService) ShowNasPool(ctx context.Context, nasPoolId string) (NasPool, *http.Response, error)
- func (a *NasPoolsApiService) UpdateNasPool(ctx context.Context, nasPoolId string, nasPoolBody NasPoolUp) (NasPool, *http.Response, error)
- type NasShare
- type NasShareCollection
- type NasSharesApiService
- func (a *NasSharesApiService) CreateNasShareByNas(ctx context.Context, nasId string, nasShareBody NasShare) (NasShare, *http.Response, error)
- func (a *NasSharesApiService) DestroyNasShare(ctx context.Context, nasShareId int32) (*http.Response, error)
- func (a *NasSharesApiService) DestroyNasShareByNas(ctx context.Context, nasId string, nasShareId int32) (*http.Response, error)
- func (a *NasSharesApiService) DestroyNasShareByNasPool(ctx context.Context, nasPoolId string, nasShareId int32) (*http.Response, error)
- func (a *NasSharesApiService) IndexNasShares(ctx context.Context, localVarOptionals *IndexNasSharesOpts) (NasShareCollection, *http.Response, error)
- func (a *NasSharesApiService) IndexNasSharesByNas(ctx context.Context, nasId string, localVarOptionals *IndexNasSharesByNasOpts) (NasShareCollection, *http.Response, error)
- func (a *NasSharesApiService) IndexNasSharesByNasPool(ctx context.Context, nasPoolId string, ...) (NasShareCollection, *http.Response, error)
- func (a *NasSharesApiService) MountStatusNasShare(ctx context.Context, nasShareId int32) (MountStatus, *http.Response, error)
- func (a *NasSharesApiService) MountStatusNasShareByNas(ctx context.Context, nasId string, nasShareId int32) (MountStatus, *http.Response, error)
- func (a *NasSharesApiService) MountStatusNasShareByNasPool(ctx context.Context, nasPoolId string, nasShareId int32) (MountStatus, *http.Response, error)
- func (a *NasSharesApiService) ShowNasShareByNas(ctx context.Context, nasId string, nasShareId int32) (NasShare, *http.Response, error)
- func (a *NasSharesApiService) ShowNasShares(ctx context.Context, nasShareId int32) (NasShare, *http.Response, error)
- func (a *NasSharesApiService) ShowNasSharesByNasPool(ctx context.Context, nasPoolId string, nasShareId int32) (NasShare, *http.Response, error)
- func (a *NasSharesApiService) TestNasShare(ctx context.Context, nasId string, nasShareBody NasShare) (ActiveJobStatus, *http.Response, error)
- func (a *NasSharesApiService) TestResultNasShare(ctx context.Context, nasId string, localVarOptionals *TestResultNasShareOpts) (ActiveJobStatus, *http.Response, error)
- func (a *NasSharesApiService) UpdateNasShare(ctx context.Context, nasShareId int32, nasShareBody NasShare) (NasShare, *http.Response, error)
- func (a *NasSharesApiService) UpdateNasShareByNas(ctx context.Context, nasId string, nasShareId int32, nasShareBody NasShare) (NasShare, *http.Response, error)
- func (a *NasSharesApiService) UpdateNasShareByNasPool(ctx context.Context, nasPoolId string, nasShareId int32, nasShareBody NasShare) (NasShare, *http.Response, error)
- type NodeumFile
- type NodeumFileCollection
- type NodeumFileWithPath
- type OccurrenceLessThan
- type OccurrenceLessThanOrEqualTo
- type QuotaOnCache
- type SyncResultCloudBucketsOpts
- type Taken
- type Tape
- type TapeCollection
- type TapeDrive
- type TapeDriveCollection
- type TapeDriveDevice
- type TapeDriveDeviceCollection
- type TapeDrivesApiService
- func (a *TapeDrivesApiService) CreateTapeDriveByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeDriveBody TapeDrive) (TapeDrive, *http.Response, error)
- func (a *TapeDrivesApiService) DestroyTapeDrive(ctx context.Context, tapeDriveId string) (*http.Response, error)
- func (a *TapeDrivesApiService) DestroyTapeDriveByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeDriveId string) (*http.Response, error)
- func (a *TapeDrivesApiService) IndexTapeDriveDevices(ctx context.Context, tapeLibraryId string, ...) (TapeDriveDeviceCollection, *http.Response, error)
- func (a *TapeDrivesApiService) IndexTapeDrives(ctx context.Context, localVarOptionals *IndexTapeDrivesOpts) (TapeDriveCollection, *http.Response, error)
- func (a *TapeDrivesApiService) IndexTapeDrivesByTapeLibrary(ctx context.Context, tapeLibraryId string, ...) (TapeDriveCollection, *http.Response, error)
- func (a *TapeDrivesApiService) ShowTapeDrive(ctx context.Context, tapeDriveId string) (TapeDrive, *http.Response, error)
- func (a *TapeDrivesApiService) ShowTapeDriveByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeDriveId string) (TapeDrive, *http.Response, error)
- func (a *TapeDrivesApiService) UpdateTapeDrive(ctx context.Context, tapeDriveId string, tapeDriveBody TapeDrive) (TapeDrive, *http.Response, error)
- func (a *TapeDrivesApiService) UpdateTapeDriveByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeDriveId string, ...) (TapeDrive, *http.Response, error)
- type TapeLibrariesApiService
- func (a *TapeLibrariesApiService) CreateTapeLibrary(ctx context.Context, tapeLibraryBody TapeLibrary) (TapeLibrary, *http.Response, error)
- func (a *TapeLibrariesApiService) DestroyTapeLibrary(ctx context.Context, tapeLibraryId string) (*http.Response, error)
- func (a *TapeLibrariesApiService) IndexTapeLibraries(ctx context.Context, localVarOptionals *IndexTapeLibrariesOpts) (TapeLibraryCollection, *http.Response, error)
- func (a *TapeLibrariesApiService) IndexTapeLibraryDevices(ctx context.Context, localVarOptionals *IndexTapeLibraryDevicesOpts) (TapeLibraryDeviceCollection, *http.Response, error)
- func (a *TapeLibrariesApiService) ShowTapeLibrary(ctx context.Context, tapeLibraryId string) (TapeLibrary, *http.Response, error)
- func (a *TapeLibrariesApiService) UpdateTapeLibrary(ctx context.Context, tapeLibraryId string, tapeLibraryBody TapeLibrary) (TapeLibrary, *http.Response, error)
- type TapeLibrary
- type TapeLibraryCollection
- type TapeLibraryDevice
- type TapeLibraryDeviceCollection
- type TapePool
- type TapePoolCollection
- type TapePoolUp
- type TapePoolsApiService
- func (a *TapePoolsApiService) CreateTapePool(ctx context.Context, tapePoolBody TapePoolUp) (TapePool, *http.Response, error)
- func (a *TapePoolsApiService) DestroyTapePool(ctx context.Context, tapePoolId string) (*http.Response, error)
- func (a *TapePoolsApiService) IndexTapePools(ctx context.Context, localVarOptionals *IndexTapePoolsOpts) (TapePoolCollection, *http.Response, error)
- func (a *TapePoolsApiService) ShowTapePool(ctx context.Context, tapePoolId string) (TapePool, *http.Response, error)
- func (a *TapePoolsApiService) UpdateTapePool(ctx context.Context, tapePoolId string, tapePoolBody TapePoolUp) (TapePool, *http.Response, error)
- type TapesApiService
- func (a *TapesApiService) IndexTapes(ctx context.Context, localVarOptionals *IndexTapesOpts) (TapeCollection, *http.Response, error)
- func (a *TapesApiService) IndexTapesByTapeLibrary(ctx context.Context, tapeLibraryId string, ...) (TapeCollection, *http.Response, error)
- func (a *TapesApiService) IndexTapesByTapePool(ctx context.Context, tapePoolId string, ...) (TapeCollection, *http.Response, error)
- func (a *TapesApiService) MountStatusTape(ctx context.Context, tapeId string) (MountStatus, *http.Response, error)
- func (a *TapesApiService) MountStatusTapeByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeId string) (MountStatus, *http.Response, error)
- func (a *TapesApiService) MountStatusTapeByTapePool(ctx context.Context, tapePoolId string, tapeId string) (MountStatus, *http.Response, error)
- func (a *TapesApiService) ShowTape(ctx context.Context, tapeId string) (Tape, *http.Response, error)
- func (a *TapesApiService) ShowTapeByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeId string) (Tape, *http.Response, error)
- func (a *TapesApiService) ShowTapeByTapePool(ctx context.Context, tapePoolId string, tapeId string) (Tape, *http.Response, error)
- type Task
- type TaskCollection
- type TaskDestinationCollection
- type TaskDestinationDown
- type TaskDestinationUp
- type TaskDestinationsApiService
- func (a *TaskDestinationsApiService) CreateTaskDestination(ctx context.Context, taskId string, taskDestinationBody TaskDestinationUp) (TaskDestinationDown, *http.Response, error)
- func (a *TaskDestinationsApiService) DestroyTaskDestination(ctx context.Context, taskId string, taskDestinationId int32) (*http.Response, error)
- func (a *TaskDestinationsApiService) IndexTaskDestinations(ctx context.Context, taskId string) (TaskDestinationCollection, *http.Response, error)
- func (a *TaskDestinationsApiService) ShowTaskDestination(ctx context.Context, taskId string, taskDestinationId int32) (TaskDestinationDown, *http.Response, error)
- func (a *TaskDestinationsApiService) UpdateTaskDestination(ctx context.Context, taskId string, taskDestinationId int32, ...) (TaskDestinationDown, *http.Response, error)
- type TaskExecution
- type TaskExecutionCollection
- type TaskExecutionsApiService
- func (a *TaskExecutionsApiService) IndexTaskExecutions(ctx context.Context, localVarOptionals *IndexTaskExecutionsOpts) (TaskExecutionCollection, *http.Response, error)
- func (a *TaskExecutionsApiService) IndexTaskExecutionsByTask(ctx context.Context, taskId string) (TaskExecutionCollection, *http.Response, error)
- func (a *TaskExecutionsApiService) ShowTaskExecution(ctx context.Context, taskExecutionId int64) (TaskExecution, *http.Response, error)
- func (a *TaskExecutionsApiService) ShowTaskExecutionByTask(ctx context.Context, taskId string, taskExecutionId int64) (TaskExecution, *http.Response, error)
- type TaskMetadataApiService
- func (a *TaskMetadataApiService) CreateTaskMetadatum(ctx context.Context, taskId string, taskMetadatumBody TaskMetadatum) (TaskMetadatum, *http.Response, error)
- func (a *TaskMetadataApiService) DestroyTaskMetadatum(ctx context.Context, taskId string, taskMetadatumId int32) (*http.Response, error)
- func (a *TaskMetadataApiService) IndexTaskMetadata(ctx context.Context, taskId string, localVarOptionals *IndexTaskMetadataOpts) (TaskMetadatumCollection, *http.Response, error)
- func (a *TaskMetadataApiService) ShowTaskMetadat(ctx context.Context, taskId string, taskMetadatumId int32) (TaskMetadatum, *http.Response, error)
- func (a *TaskMetadataApiService) UpdateTaskMetadatum(ctx context.Context, taskId string, taskMetadatumId int32, ...) (TaskMetadatum, *http.Response, error)
- type TaskMetadatum
- type TaskMetadatumCollection
- type TaskOption
- type TaskOptionCollection
- type TaskOptionsApiService
- func (a *TaskOptionsApiService) CreateTaskOption(ctx context.Context, taskId string, taskOptionBody TaskOption) (TaskOption, *http.Response, error)
- func (a *TaskOptionsApiService) DestroyTaskOption(ctx context.Context, taskId string, taskOptionId int32) (*http.Response, error)
- func (a *TaskOptionsApiService) IndexTaskOptions(ctx context.Context, taskId string, localVarOptionals *IndexTaskOptionsOpts) (TaskOptionCollection, *http.Response, error)
- func (a *TaskOptionsApiService) ShowTaskOption(ctx context.Context, taskId string, taskOptionId int32) (TaskOption, *http.Response, error)
- func (a *TaskOptionsApiService) UpdateTaskOption(ctx context.Context, taskId string, taskOptionId int32, ...) (TaskOption, *http.Response, error)
- type TaskSourceCollection
- type TaskSourceDown
- type TaskSourceUp
- type TaskSourcesApiService
- func (a *TaskSourcesApiService) CreateTaskSource(ctx context.Context, taskId string, taskSourceBody TaskSourceUp) (TaskSourceDown, *http.Response, error)
- func (a *TaskSourcesApiService) DestroyTaskSource(ctx context.Context, taskId string, taskSourceId int32) (*http.Response, error)
- func (a *TaskSourcesApiService) IndexTaskSources(ctx context.Context, taskId string, localVarOptionals *IndexTaskSourcesOpts) (TaskSourceCollection, *http.Response, error)
- func (a *TaskSourcesApiService) ShowTaskSource(ctx context.Context, taskId string, taskSourceId int32) (TaskSourceDown, *http.Response, error)
- func (a *TaskSourcesApiService) UpdateTaskSource(ctx context.Context, taskId string, taskSourceId int32, ...) (TaskSourceDown, *http.Response, error)
- type TasksApiService
- func (a *TasksApiService) CreateTask(ctx context.Context, taskBody Task) (Task, *http.Response, error)
- func (a *TasksApiService) DestroyTask(ctx context.Context, taskId string) (*http.Response, error)
- func (a *TasksApiService) IndexTasks(ctx context.Context, localVarOptionals *IndexTasksOpts) (TaskCollection, *http.Response, error)
- func (a *TasksApiService) ShowTask(ctx context.Context, taskId string) (Task, *http.Response, error)
- func (a *TasksApiService) UpdateTask(ctx context.Context, taskId string, taskBody Task) (Task, *http.Response, error)
- type TestResultCloudConnectorOpts
- type TestResultNasShareOpts
- type TooLong
- type TooShort
- type UsersApiService
- func (a *UsersApiService) CreateApiKey(ctx context.Context, apiKeyBody ApiKeyFull) (ApiKeyFull, *http.Response, error)
- func (a *UsersApiService) DestroyApiKey(ctx context.Context, apiKeyId int32) (*http.Response, error)
- func (a *UsersApiService) IndexApiKeys(ctx context.Context, localVarOptionals *IndexApiKeysOpts) (ApiKeyCollection, *http.Response, error)
- func (a *UsersApiService) ShowApiKey(ctx context.Context, apiKeyId int32) (ApiKeyFull, *http.Response, error)
- func (a *UsersApiService) UpdateApiKey(ctx context.Context, apiKeyId int32, apiKeyBody ApiKeyFull) (ApiKeyFull, *http.Response, error)
Constants ¶
This section is empty.
Variables ¶
var ( // ContextOAuth2 takes a oauth2.TokenSource as authentication for the request. ContextOAuth2 = contextKey("token") // ContextBasicAuth takes BasicAuth as authentication for the request. ContextBasicAuth = contextKey("basic") // ContextAccessToken takes a string oauth2 access token as authentication for the request. ContextAccessToken = contextKey("accesstoken") // ContextAPIKey takes an APIKey as authentication for the request ContextAPIKey = contextKey("apikey") )
Functions ¶
Types ¶
type APIClient ¶
type APIClient struct { CloudBucketsApi *CloudBucketsApiService CloudConnectorsApi *CloudConnectorsApiService CloudPoolsApi *CloudPoolsApiService ContainersApi *ContainersApiService FilesApi *FilesApiService MountPointsApi *MountPointsApiService MountsApi *MountsApiService NasApi *NasApiService NasPoolsApi *NasPoolsApiService TapeDrivesApi *TapeDrivesApiService TapeLibrariesApi *TapeLibrariesApiService TapePoolsApi *TapePoolsApiService TapesApi *TapesApiService TaskDestinationsApi *TaskDestinationsApiService TaskExecutionsApi *TaskExecutionsApiService TaskMetadataApi *TaskMetadataApiService TaskOptionsApi *TaskOptionsApiService TaskSourcesApi *TaskSourcesApiService TasksApi *TasksApiService UsersApi *UsersApiService // contains filtered or unexported fields }
APIClient manages communication with the Nodeum API API v2.0.0 In most cases there should be only one, shared, APIClient.
func NewAPIClient ¶
func NewAPIClient(cfg *Configuration) *APIClient
NewAPIClient creates a new API client. Requires a userAgent string describing your application. optionally a custom http.Client to allow for advanced features such as caching.
func (*APIClient) ChangeBasePath ¶
Change base path to allow switching to mocks
type APIKey ¶
APIKey provides API key based authentication to a request passed via context using ContextAPIKey
type APIResponse ¶
type APIResponse struct { *http.Response `json:"-"` Message string `json:"message,omitempty"` // Operation is the name of the swagger operation. Operation string `json:"operation,omitempty"` // RequestURL is the request URL. This value is always available, even if the // embedded *http.Response is nil. RequestURL string `json:"url,omitempty"` // Method is the HTTP method used for the request. This value is always // available, even if the embedded *http.Response is nil. Method string `json:"method,omitempty"` // Payload holds the contents of the response body (which may be nil or empty). // This is provided here as the raw response.Body() reader will have already // been drained. Payload []byte `json:"-"` }
func NewAPIResponse ¶
func NewAPIResponse(r *http.Response) *APIResponse
func NewAPIResponseWithError ¶
func NewAPIResponseWithError(errorMessage string) *APIResponse
type ActiveJobStatus ¶
type ApiKeyCollection ¶
type ApiKeyFull ¶
type ApiKeyFull struct { Id int32 `json:"id,omitempty"` Key string `json:"key,omitempty"` Name string `json:"name,omitempty"` ApiKeyScopes []ApiKeyScope `json:"api_key_scopes,omitempty"` }
type ApiKeyScope ¶
type AttributeError ¶
type AttributeError struct {
Error_ string `json:"error"`
}
type BasicAuth ¶
type BasicAuth struct { UserName string `json:"userName,omitempty"` Password string `json:"password,omitempty"` }
BasicAuth provides basic http authentication to a request passed via context using ContextBasicAuth
type CloudBucket ¶
type CloudBucket struct { Id int32 `json:"id,omitempty"` CloudConnectorId int32 `json:"cloud_connector_id,omitempty"` CloudPoolId int32 `json:"cloud_pool_id,omitempty"` Name string `json:"name,omitempty"` FilesCount int32 `json:"files_count,omitempty"` FilesSize int32 `json:"files_size,omitempty"` Location string `json:"location,omitempty"` Price string `json:"price,omitempty"` }
type CloudBucketCollection ¶
type CloudBucketCollection struct { Count int32 `json:"count,omitempty"` CloudBuckets []CloudBucket `json:"cloud_buckets,omitempty"` }
type CloudBucketSimpleCollection ¶
type CloudBucketSimpleCollection struct {
CloudBuckets []CloudBucket `json:"cloud_buckets,omitempty"`
}
type CloudBucketsApiService ¶
type CloudBucketsApiService service
func (*CloudBucketsApiService) IndexCloudBuckets ¶
func (a *CloudBucketsApiService) IndexCloudBuckets(ctx context.Context, localVarOptionals *IndexCloudBucketsOpts) (CloudBucketCollection, *http.Response, error)
func (*CloudBucketsApiService) IndexCloudBucketsByCloudConnector ¶
func (a *CloudBucketsApiService) IndexCloudBucketsByCloudConnector(ctx context.Context, cloudConnectorId string, localVarOptionals *IndexCloudBucketsByCloudConnectorOpts) (CloudBucketCollection, *http.Response, error)
func (*CloudBucketsApiService) IndexCloudBucketsByCloudPool ¶
func (a *CloudBucketsApiService) IndexCloudBucketsByCloudPool(ctx context.Context, cloudPoolId string, localVarOptionals *IndexCloudBucketsByCloudPoolOpts) (CloudBucketCollection, *http.Response, error)
func (*CloudBucketsApiService) MountStatusCloudBucket ¶
func (a *CloudBucketsApiService) MountStatusCloudBucket(ctx context.Context, cloudBucketId string) (MountStatus, *http.Response, error)
CloudBucketsApiService Get mount status of Cloud bucket. **API Key Scope**: cloud_buckets / mount_status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudBucketId Numeric ID or name of cloud bucket.
@return MountStatus
func (*CloudBucketsApiService) MountStatusCloudBucketByCloudConnector ¶
func (a *CloudBucketsApiService) MountStatusCloudBucketByCloudConnector(ctx context.Context, cloudConnectorId string, cloudBucketId string) (MountStatus, *http.Response, error)
CloudBucketsApiService Get mount status of Cloud bucket. **API Key Scope**: cloud_buckets / mount_status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudConnectorId Numeric ID or name of cloud connector.
- @param cloudBucketId Numeric ID or name of cloud bucket.
@return MountStatus
func (*CloudBucketsApiService) MountStatusCloudBucketByCloudPool ¶
func (a *CloudBucketsApiService) MountStatusCloudBucketByCloudPool(ctx context.Context, cloudPoolId string, cloudBucketId string) (MountStatus, *http.Response, error)
CloudBucketsApiService Get mount status of Cloud bucket. **API Key Scope**: cloud_buckets / mount_status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudPoolId Numeric ID or name of cloud pool.
- @param cloudBucketId Numeric ID or name of cloud bucket.
@return MountStatus
func (*CloudBucketsApiService) ShowCloudBucket ¶
func (a *CloudBucketsApiService) ShowCloudBucket(ctx context.Context, cloudBucketId string) (CloudBucket, *http.Response, error)
CloudBucketsApiService Displays a specific cloud bucket. **API Key Scope**: cloud_buckets / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudBucketId Numeric ID or name of cloud bucket.
@return CloudBucket
func (*CloudBucketsApiService) ShowCloudBucketByCloudConnector ¶
func (a *CloudBucketsApiService) ShowCloudBucketByCloudConnector(ctx context.Context, cloudConnectorId string, cloudBucketId string) (CloudBucket, *http.Response, error)
CloudBucketsApiService Displays a specific cloud bucket. **API Key Scope**: cloud_buckets / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudConnectorId Numeric ID or name of cloud connector.
- @param cloudBucketId Numeric ID or name of cloud bucket.
@return CloudBucket
func (*CloudBucketsApiService) ShowCloudBucketByCloudPool ¶
func (a *CloudBucketsApiService) ShowCloudBucketByCloudPool(ctx context.Context, cloudPoolId string, cloudBucketId string) (CloudBucket, *http.Response, error)
CloudBucketsApiService Displays a specific cloud bucket. **API Key Scope**: cloud_buckets / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudPoolId Numeric ID or name of cloud pool.
- @param cloudBucketId Numeric ID or name of cloud bucket.
@return CloudBucket
func (*CloudBucketsApiService) SyncCloudBuckets ¶
func (a *CloudBucketsApiService) SyncCloudBuckets(ctx context.Context, cloudConnectorId string) (ActiveJobStatus, *http.Response, error)
CloudBucketsApiService Synchronize internal cloud buckets with their remote equivalent. **API Key Scope**: cloud_buckets / sync
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudConnectorId Numeric ID or name of cloud connector.
@return ActiveJobStatus
func (*CloudBucketsApiService) SyncResultCloudBuckets ¶
func (a *CloudBucketsApiService) SyncResultCloudBuckets(ctx context.Context, cloudConnectorId string, localVarOptionals *SyncResultCloudBucketsOpts) (CloudBucketSimpleCollection, *http.Response, error)
type CloudConnector ¶
type CloudConnector struct { Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` Url string `json:"url,omitempty"` UrlProxy string `json:"url_proxy,omitempty"` Provider string `json:"provider,omitempty"` Region string `json:"region,omitempty"` AccessKey string `json:"access_key,omitempty"` SecretKey string `json:"secret_key,omitempty"` }
type CloudConnectorCollection ¶
type CloudConnectorCollection struct { Count int32 `json:"count,omitempty"` CloudConnectors []CloudConnector `json:"cloud_connectors,omitempty"` }
type CloudConnectorsApiService ¶
type CloudConnectorsApiService service
func (*CloudConnectorsApiService) CreateCloudConnector ¶
func (a *CloudConnectorsApiService) CreateCloudConnector(ctx context.Context, cloudConnectorBody CloudConnector) (CloudConnector, *http.Response, error)
CloudConnectorsApiService Creates a new cloud connector. **API Key Scope**: cloud_connectors / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudConnectorBody
@return CloudConnector
func (*CloudConnectorsApiService) DestroyCloudConnector ¶
func (a *CloudConnectorsApiService) DestroyCloudConnector(ctx context.Context, cloudConnectorId string) (*http.Response, error)
CloudConnectorsApiService Destroys a specific cloud connector. **API Key Scope**: cloud_connectors / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudConnectorId Numeric ID or name of cloud connector.
func (*CloudConnectorsApiService) IndexCloudConnectors ¶
func (a *CloudConnectorsApiService) IndexCloudConnectors(ctx context.Context, localVarOptionals *IndexCloudConnectorsOpts) (CloudConnectorCollection, *http.Response, error)
func (*CloudConnectorsApiService) ShowCloudConnector ¶
func (a *CloudConnectorsApiService) ShowCloudConnector(ctx context.Context, cloudConnectorId string) (CloudConnector, *http.Response, error)
CloudConnectorsApiService Displays a specific cloud connector. **API Key Scope**: cloud_connectors / show Optional API Key Explicit Scope: cloud_connectors / get_secret_key
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudConnectorId Numeric ID or name of cloud connector.
@return CloudConnector
func (*CloudConnectorsApiService) TestCloudConnector ¶
func (a *CloudConnectorsApiService) TestCloudConnector(ctx context.Context, cloudConnectorBody CloudConnector) (ActiveJobStatus, *http.Response, error)
CloudConnectorsApiService Test an unsaved cloud connector. **API Key Scope**: cloud_connectors / test
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudConnectorBody
@return ActiveJobStatus
func (*CloudConnectorsApiService) TestResultCloudConnector ¶
func (a *CloudConnectorsApiService) TestResultCloudConnector(ctx context.Context, localVarOptionals *TestResultCloudConnectorOpts) (CloudBucketSimpleCollection, *http.Response, error)
func (*CloudConnectorsApiService) UpdateCloudConnector ¶
func (a *CloudConnectorsApiService) UpdateCloudConnector(ctx context.Context, cloudConnectorId string, cloudConnectorBody CloudConnector) (CloudConnector, *http.Response, error)
CloudConnectorsApiService Updates a specific cloud connector. **API Key Scope**: cloud_connectors / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudConnectorId Numeric ID or name of cloud connector.
- @param cloudConnectorBody
@return CloudConnector
type CloudPoolCollection ¶
type CloudPoolUp ¶
type CloudPoolsApiService ¶
type CloudPoolsApiService service
func (*CloudPoolsApiService) CreateCloudPool ¶
func (a *CloudPoolsApiService) CreateCloudPool(ctx context.Context, cloudPoolBody CloudPoolUp) (CloudPool, *http.Response, error)
CloudPoolsApiService Creates a new cloud pool. **API Key Scope**: cloud_pools / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudPoolBody
@return CloudPool
func (*CloudPoolsApiService) DestroyCloudPool ¶
func (a *CloudPoolsApiService) DestroyCloudPool(ctx context.Context, cloudPoolId string) (*http.Response, error)
CloudPoolsApiService Destroys a specific cloud pool. **API Key Scope**: cloud_pools / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudPoolId Numeric ID or name of cloud pool.
func (*CloudPoolsApiService) IndexCloudPools ¶
func (a *CloudPoolsApiService) IndexCloudPools(ctx context.Context, localVarOptionals *IndexCloudPoolsOpts) (CloudPoolCollection, *http.Response, error)
func (*CloudPoolsApiService) MountStatusCloudPool ¶
func (a *CloudPoolsApiService) MountStatusCloudPool(ctx context.Context, cloudPoolId string) (MountStatus, *http.Response, error)
CloudPoolsApiService Get mount status of Cloud pool. **API Key Scope**: cloud_pools / mount_status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudPoolId Numeric ID or name of cloud pool.
@return MountStatus
func (*CloudPoolsApiService) ShowCloudPool ¶
func (a *CloudPoolsApiService) ShowCloudPool(ctx context.Context, cloudPoolId string) (CloudPool, *http.Response, error)
CloudPoolsApiService Displays a specific cloud pool. **API Key Scope**: cloud_pools / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudPoolId Numeric ID or name of cloud pool.
@return CloudPool
func (*CloudPoolsApiService) UpdateCloudPool ¶
func (a *CloudPoolsApiService) UpdateCloudPool(ctx context.Context, cloudPoolId string, cloudPoolBody CloudPoolUp) (CloudPool, *http.Response, error)
CloudPoolsApiService Updates a specific cloud pool. **API Key Scope**: cloud_pools / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudPoolId Numeric ID or name of cloud pool.
- @param cloudPoolBody
@return CloudPool
type Configuration ¶
type Configuration struct { BasePath string `json:"basePath,omitempty"` Host string `json:"host,omitempty"` Scheme string `json:"scheme,omitempty"` DefaultHeader map[string]string `json:"defaultHeader,omitempty"` UserAgent string `json:"userAgent,omitempty"` HTTPClient *http.Client }
func NewConfiguration ¶
func NewConfiguration() *Configuration
func (*Configuration) AddDefaultHeader ¶
func (c *Configuration) AddDefaultHeader(key string, value string)
type Container ¶
type Container struct { Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` Comment string `json:"comment,omitempty"` QuotaTotalSize int32 `json:"quota_total_size,omitempty"` QuotaOnCache int32 `json:"quota_on_cache,omitempty"` StatTotalFiles int32 `json:"stat_total_files,omitempty"` StatTotalSize int32 `json:"stat_total_size,omitempty"` StatSizeOnCache int32 `json:"stat_size_on_cache,omitempty"` GuestRight string `json:"guest_right,omitempty"` LastUpdate string `json:"last_update,omitempty"` }
type ContainerCollection ¶
type ContainerPrivilege ¶
type ContainerPrivilegeCollection ¶
type ContainerPrivilegeCollection struct { Count int32 `json:"count,omitempty"` ContainerPrivileges []ContainerPrivilege `json:"container_privileges,omitempty"` }
type ContainersApiService ¶
type ContainersApiService service
func (*ContainersApiService) CreateContainer ¶
func (a *ContainersApiService) CreateContainer(ctx context.Context, containerBody Container) (Container, *http.Response, error)
ContainersApiService Creates a new container. It **does not** yet create the file structure and configure the samba connection. Use API v1 instead. **API Key Scope**: containers / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param containerBody
@return Container
func (*ContainersApiService) CreateContainerPrivilege ¶
func (a *ContainersApiService) CreateContainerPrivilege(ctx context.Context, containerId string, containerPrivilegeBody ContainerPrivilege) (ContainerPrivilege, *http.Response, error)
ContainersApiService Creates a new privilege on the container. **API Key Scope**: container_privileges / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param containerId Numeric ID or name of container.
- @param containerPrivilegeBody
@return ContainerPrivilege
func (*ContainersApiService) DestroyContainer ¶
func (a *ContainersApiService) DestroyContainer(ctx context.Context, containerId string) (*http.Response, error)
ContainersApiService Destroys a specific container. **API Key Scope**: containers / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param containerId Numeric ID or name of container.
func (*ContainersApiService) DestroyContainerPrivilege ¶
func (a *ContainersApiService) DestroyContainerPrivilege(ctx context.Context, containerId string, containerPrivilegeId int32) (*http.Response, error)
ContainersApiService Destroys a specific privilege. **API Key Scope**: container_privileges / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param containerId Numeric ID or name of container.
- @param containerPrivilegeId Numeric ID of container privilege.
func (*ContainersApiService) IndexContainerPrivileges ¶
func (a *ContainersApiService) IndexContainerPrivileges(ctx context.Context, containerId string, localVarOptionals *IndexContainerPrivilegesOpts) (ContainerPrivilegeCollection, *http.Response, error)
func (*ContainersApiService) IndexContainers ¶
func (a *ContainersApiService) IndexContainers(ctx context.Context, localVarOptionals *IndexContainersOpts) (ContainerCollection, *http.Response, error)
func (*ContainersApiService) ShowContainer ¶
func (a *ContainersApiService) ShowContainer(ctx context.Context, containerId string) (Container, *http.Response, error)
ContainersApiService Displays a specific container. **API Key Scope**: containers / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param containerId Numeric ID or name of container.
@return Container
func (*ContainersApiService) ShowContainerPrivilege ¶
func (a *ContainersApiService) ShowContainerPrivilege(ctx context.Context, containerId string, containerPrivilegeId int32) (ContainerPrivilege, *http.Response, error)
ContainersApiService Displays a specific privilege. **API Key Scope**: container_privileges / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param containerId Numeric ID or name of container.
- @param containerPrivilegeId Numeric ID of container privilege.
@return ContainerPrivilege
func (*ContainersApiService) UpdateContainer ¶
func (a *ContainersApiService) UpdateContainer(ctx context.Context, containerId string, containerBody Container) (Container, *http.Response, error)
ContainersApiService Updates a specific container. It **does not** yet create the file structure and configure the samba connection. Use API v1 instead. **API Key Scope**: containers / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param containerId Numeric ID or name of container.
- @param containerBody
@return Container
func (*ContainersApiService) UpdateContainerPrivilege ¶
func (a *ContainersApiService) UpdateContainerPrivilege(ctx context.Context, containerId string, containerPrivilegeId int32, containerPrivilegeBody ContainerPrivilege) (ContainerPrivilege, *http.Response, error)
ContainersApiService Updates a specific privilege. **API Key Scope**: container_privileges / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param containerId Numeric ID or name of container.
- @param containerPrivilegeId Numeric ID of container privilege.
- @param containerPrivilegeBody
@return ContainerPrivilege
type FilesApiService ¶
type FilesApiService service
func (*FilesApiService) FilesChildren ¶
func (a *FilesApiService) FilesChildren(ctx context.Context, fileParentId int32, localVarOptionals *FilesChildrenOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) FilesChildrenByCloudPool ¶
func (a *FilesApiService) FilesChildrenByCloudPool(ctx context.Context, cloudPoolId string, fileParentId int32, localVarOptionals *FilesChildrenByCloudPoolOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) FilesChildrenByContainer ¶
func (a *FilesApiService) FilesChildrenByContainer(ctx context.Context, containerId string, fileParentId int32, localVarOptionals *FilesChildrenByContainerOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) FilesChildrenByNasPool ¶
func (a *FilesApiService) FilesChildrenByNasPool(ctx context.Context, nasPoolId string, fileParentId int32, localVarOptionals *FilesChildrenByNasPoolOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) FilesChildrenByTapePool ¶
func (a *FilesApiService) FilesChildrenByTapePool(ctx context.Context, tapePoolId string, fileParentId int32, localVarOptionals *FilesChildrenByTapePoolOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) FilesChildrenByTask ¶
func (a *FilesApiService) FilesChildrenByTask(ctx context.Context, taskId string, fileParentId int32, localVarOptionals *FilesChildrenByTaskOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) FilesChildrenByTaskExecution ¶
func (a *FilesApiService) FilesChildrenByTaskExecution(ctx context.Context, taskExecutionId int64, fileParentId int32, localVarOptionals *FilesChildrenByTaskExecutionOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) FilesChildrenByTaskExecutionByTask ¶
func (a *FilesApiService) FilesChildrenByTaskExecutionByTask(ctx context.Context, taskId string, taskExecutionId int64, fileParentId int32, localVarOptionals *FilesChildrenByTaskExecutionByTaskOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) IndexFiles ¶
func (a *FilesApiService) IndexFiles(ctx context.Context, localVarOptionals *IndexFilesOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) IndexFilesByCloudPool ¶
func (a *FilesApiService) IndexFilesByCloudPool(ctx context.Context, cloudPoolId string, localVarOptionals *IndexFilesByCloudPoolOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) IndexFilesByContainer ¶
func (a *FilesApiService) IndexFilesByContainer(ctx context.Context, containerId string, localVarOptionals *IndexFilesByContainerOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) IndexFilesByNasPool ¶
func (a *FilesApiService) IndexFilesByNasPool(ctx context.Context, nasPoolId string, localVarOptionals *IndexFilesByNasPoolOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) IndexFilesByTapePool ¶
func (a *FilesApiService) IndexFilesByTapePool(ctx context.Context, tapePoolId string, localVarOptionals *IndexFilesByTapePoolOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) IndexFilesByTask ¶
func (a *FilesApiService) IndexFilesByTask(ctx context.Context, taskId string, localVarOptionals *IndexFilesByTaskOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) IndexFilesByTaskExecution ¶
func (a *FilesApiService) IndexFilesByTaskExecution(ctx context.Context, taskExecutionId int64, localVarOptionals *IndexFilesByTaskExecutionOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) IndexFilesByTaskExecutionByTask ¶
func (a *FilesApiService) IndexFilesByTaskExecutionByTask(ctx context.Context, taskId string, taskExecutionId int64, localVarOptionals *IndexFilesByTaskExecutionByTaskOpts) (NodeumFileCollection, *http.Response, error)
func (*FilesApiService) ShowFile ¶
func (a *FilesApiService) ShowFile(ctx context.Context, fileId int32) (NodeumFileWithPath, *http.Response, error)
FilesApiService Displays a specific file. **API Key Scope**: files / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param fileId Numeric ID of file.
@return NodeumFileWithPath
func (*FilesApiService) ShowFileByCloudPool ¶
func (a *FilesApiService) ShowFileByCloudPool(ctx context.Context, cloudPoolId string, fileId int32) (NodeumFileWithPath, *http.Response, error)
FilesApiService Displays a specific file. **API Key Scope**: files / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param cloudPoolId Numeric ID or name of cloud pool.
- @param fileId Numeric ID of file.
@return NodeumFileWithPath
func (*FilesApiService) ShowFileByContainer ¶
func (a *FilesApiService) ShowFileByContainer(ctx context.Context, containerId string, fileId int32) (NodeumFileWithPath, *http.Response, error)
FilesApiService Displays a specific file. **API Key Scope**: files / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param containerId Numeric ID or name of container.
- @param fileId Numeric ID of file.
@return NodeumFileWithPath
func (*FilesApiService) ShowFileByNasPool ¶
func (a *FilesApiService) ShowFileByNasPool(ctx context.Context, nasPoolId string, fileId int32) (NodeumFileWithPath, *http.Response, error)
FilesApiService Displays a specific file. **API Key Scope**: files / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasPoolId Numeric ID or name of NAS pool.
- @param fileId Numeric ID of file.
@return NodeumFileWithPath
func (*FilesApiService) ShowFileByTapePool ¶
func (a *FilesApiService) ShowFileByTapePool(ctx context.Context, tapePoolId string, fileId int32) (NodeumFileWithPath, *http.Response, error)
FilesApiService Displays a specific file. **API Key Scope**: files / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapePoolId Numeric ID, or name of tape pool.
- @param fileId Numeric ID of file.
@return NodeumFileWithPath
func (*FilesApiService) ShowFileByTask ¶
func (a *FilesApiService) ShowFileByTask(ctx context.Context, taskId string, fileId int32) (NodeumFileWithPath, *http.Response, error)
FilesApiService Displays a specific file. **API Key Scope**: files / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param fileId Numeric ID of file.
@return NodeumFileWithPath
func (*FilesApiService) ShowFileByTaskExecution ¶
func (a *FilesApiService) ShowFileByTaskExecution(ctx context.Context, taskExecutionId int64, fileId int32) (NodeumFileWithPath, *http.Response, error)
FilesApiService Displays a specific file. **API Key Scope**: files / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskExecutionId Numeric ID of task execution.
- @param fileId Numeric ID of file.
@return NodeumFileWithPath
func (*FilesApiService) ShowFileByTaskExecutionByTask ¶
func (a *FilesApiService) ShowFileByTaskExecutionByTask(ctx context.Context, taskId string, taskExecutionId int64, fileId int32) (NodeumFileWithPath, *http.Response, error)
FilesApiService Displays a specific file. **API Key Scope**: files / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskExecutionId Numeric ID of task execution.
- @param fileId Numeric ID of file.
@return NodeumFileWithPath
type FilesChildrenByCloudPoolOpts ¶
type FilesChildrenByCloudPoolOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type FilesChildrenByContainerOpts ¶
type FilesChildrenByContainerOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type FilesChildrenByNasPoolOpts ¶
type FilesChildrenByNasPoolOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type FilesChildrenByTapePoolOpts ¶
type FilesChildrenByTapePoolOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type FilesChildrenByTaskExecutionByTaskOpts ¶
type FilesChildrenByTaskExecutionByTaskOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type FilesChildrenByTaskExecutionOpts ¶
type FilesChildrenByTaskExecutionOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type FilesChildrenByTaskOpts ¶
type FilesChildrenByTaskOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type FilesChildrenOpts ¶
type FilesChildrenOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type GenericSwaggerError ¶
type GenericSwaggerError struct {
// contains filtered or unexported fields
}
GenericSwaggerError Provides access to the body, error and model on returned errors.
func (GenericSwaggerError) Body ¶
func (e GenericSwaggerError) Body() []byte
Body returns the raw bytes of the response
func (GenericSwaggerError) Error ¶
func (e GenericSwaggerError) Error() string
Error returns non-empty string if there was an error.
func (GenericSwaggerError) Model ¶
func (e GenericSwaggerError) Model() interface{}
Model returns the unpacked model of the error
type GreaterThan ¶
type GreaterThan struct { Error_ string `json:"error"` // Value received Value int32 `json:"value,omitempty"` // Expected maximum value Count int32 `json:"count,omitempty"` }
Attribute must be greater than %{count}
type GreaterThanOrEqualTo ¶
type GreaterThanOrEqualTo struct { Error_ string `json:"error"` // Value received Value int32 `json:"value,omitempty"` // Expected maximum value Count int32 `json:"count,omitempty"` }
Attribute must be greater than or equal to %{count}
type ImportFile ¶
type ImportFile struct { Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` Parent int32 `json:"parent,omitempty"` Type_ string `json:"type,omitempty"` Permission int32 `json:"permission,omitempty"` Size int32 `json:"size,omitempty"` ChangeDate string `json:"change_date,omitempty"` ModificationDate string `json:"modification_date,omitempty"` AccessDate string `json:"access_date,omitempty"` Uid int32 `json:"uid,omitempty"` Gid int32 `json:"gid,omitempty"` }
type IndexCloudBucketsOpts ¶
type IndexCloudPoolsOpts ¶
type IndexContainersOpts ¶
type IndexContainersOpts struct { Limit optional.Int32 Offset optional.Int32 SortBy optional.Interface Id optional.String Name optional.String Comment optional.String QuotaTotalSize optional.String QuotaOnCache optional.String StatTotalFiles optional.String StatTotalSize optional.String StatSizeOnCache optional.String GuestRight optional.String LastUpdate optional.String }
type IndexFilesByCloudPoolOpts ¶
type IndexFilesByCloudPoolOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type IndexFilesByContainerOpts ¶
type IndexFilesByContainerOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type IndexFilesByNasPoolOpts ¶
type IndexFilesByNasPoolOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type IndexFilesByTapePoolOpts ¶
type IndexFilesByTapePoolOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type IndexFilesByTaskExecutionByTaskOpts ¶
type IndexFilesByTaskExecutionByTaskOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type IndexFilesByTaskExecutionOpts ¶
type IndexFilesByTaskExecutionOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type IndexFilesByTaskOpts ¶
type IndexFilesByTaskOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type IndexFilesOpts ¶
type IndexFilesOpts struct { Limit optional.Int32 Offset optional.Int32 FileId optional.String Name optional.String Type_ optional.String Permission optional.String Size optional.String ChangeDate optional.String ModificationDate optional.String AccessDate optional.String Gid optional.String Uid optional.String }
type IndexMountPointsOpts ¶
type IndexMountPointsOpts struct { Limit optional.Int32 Offset optional.Int32 SortBy optional.Interface Id optional.String Name optional.String Target optional.String Type_ optional.String Options optional.String Username optional.String Comment optional.String ScanInterval optional.String Price optional.String }
type IndexNasOpts ¶
type IndexNasPoolsOpts ¶
type IndexNasSharesByNasOpts ¶
type IndexNasSharesByNasOpts struct {}
type IndexNasSharesByNasPoolOpts ¶
type IndexNasSharesByNasPoolOpts struct {}
type IndexNasSharesOpts ¶
type IndexNasSharesOpts struct {}
type IndexTapeDrivesByTapeLibraryOpts ¶
type IndexTapeDrivesByTapeLibraryOpts struct { Limit optional.Int32 Offset optional.Int32 SortBy optional.Interface Id optional.String Name optional.String Serial optional.String Comment optional.String ScsiAddress optional.String Vendor optional.String Product optional.String Firmware optional.String Device optional.String Sgdevice optional.String Libso optional.String Acs optional.String Lsm optional.String Panel optional.String Transport optional.String Status optional.String Full optional.String MountCount optional.String UseTo optional.String UseBy optional.String UseFileProcessedSize optional.String UseFileSizeToProcess optional.String UseFileNameProcessed optional.String Bandwidth optional.String }
type IndexTapeDrivesOpts ¶
type IndexTapeDrivesOpts struct { Limit optional.Int32 Offset optional.Int32 SortBy optional.Interface Id optional.String TapeLibraryId optional.String Name optional.String Serial optional.String Comment optional.String ScsiAddress optional.String Vendor optional.String Product optional.String Firmware optional.String Device optional.String Sgdevice optional.String Libso optional.String Acs optional.String Lsm optional.String Panel optional.String Transport optional.String Status optional.String Full optional.String MountCount optional.String UseTo optional.String UseBy optional.String UseFileProcessedSize optional.String UseFileSizeToProcess optional.String UseFileNameProcessed optional.String Bandwidth optional.String }
type IndexTapeLibrariesOpts ¶
type IndexTapeLibrariesOpts struct { Limit optional.Int32 Offset optional.Int32 SortBy optional.Interface Id optional.String Name optional.String Serial optional.String Comment optional.String Protocol optional.String Vendor optional.String Product optional.String Firmware optional.String Device optional.String Libso optional.String Acs optional.String Status optional.String StorageSlots optional.String StorageSlotsAddress optional.String IoSlots optional.String IoSlotsAddress optional.String Price optional.String }
type IndexTapePoolsOpts ¶
type IndexTapesByTapeLibraryOpts ¶
type IndexTapesByTapeLibraryOpts struct { Limit optional.Int32 Offset optional.Int32 SortBy optional.Interface Id optional.String TapePoolId optional.String Barcode optional.String Location optional.String Type_ optional.String Locked optional.String Scratch optional.String Cleaning optional.String WriteProtect optional.String Mounted optional.String Ejected optional.String Known optional.String MountCount optional.String DateIn optional.String DateMove optional.String Free optional.String Max optional.String LastSizeUpdate optional.String LastMaintenance optional.String LastRepack optional.String RepackStatus optional.String Hash optional.String ForceImportType optional.String NeedToCheck optional.String }
type IndexTapesByTapePoolOpts ¶
type IndexTapesByTapePoolOpts struct { Limit optional.Int32 Offset optional.Int32 SortBy optional.Interface Id optional.String TapeLibraryId optional.String Barcode optional.String Location optional.String Type_ optional.String Locked optional.String Scratch optional.String Cleaning optional.String WriteProtect optional.String Mounted optional.String Ejected optional.String Known optional.String MountCount optional.String DateIn optional.String DateMove optional.String Free optional.String Max optional.String LastSizeUpdate optional.String LastMaintenance optional.String LastRepack optional.String RepackStatus optional.String Hash optional.String ForceImportType optional.String NeedToCheck optional.String }
type IndexTapesOpts ¶
type IndexTapesOpts struct { Limit optional.Int32 Offset optional.Int32 SortBy optional.Interface Id optional.String TapeLibraryId optional.String TapePoolId optional.String Barcode optional.String Location optional.String Type_ optional.String Locked optional.String Scratch optional.String Cleaning optional.String WriteProtect optional.String Mounted optional.String Ejected optional.String Known optional.String MountCount optional.String DateIn optional.String DateMove optional.String Free optional.String Max optional.String LastSizeUpdate optional.String LastMaintenance optional.String LastRepack optional.String RepackStatus optional.String Hash optional.String ForceImportType optional.String NeedToCheck optional.String }
type IndexTaskExecutionsOpts ¶
type IndexTaskExecutionsOpts struct { Limit optional.Int32 Offset optional.Int32 SortBy optional.Interface Id optional.String TaskId optional.String Name optional.String Type_ optional.String Status optional.String LogTime optional.String JobStarted optional.String JobFinished optional.String ToProcessSize optional.String ProcessedSize optional.String ToProcessFiles optional.String ProcessedFiles optional.String FinalizedFiles optional.String EstimationTime optional.String Bandwidth optional.String }
type IndexTaskMetadataOpts ¶
type IndexTaskOptionsOpts ¶
type IndexTaskSourcesOpts ¶
type IndexTasksOpts ¶
type IndexTasksOpts struct { Limit optional.Int32 Offset optional.Int32 SortBy optional.Interface Id optional.String Name optional.String Comment optional.String Type_ optional.String Priority optional.String ConflictResolution optional.String Action optional.String Activate optional.String CreationDate optional.String CreationUsername optional.String ModificationDate optional.String ModificationUsername optional.String JobStarted optional.String JobFinished optional.String Status optional.String ProcessedSize optional.String ToProcessSize optional.String }
type Invalid ¶
type Invalid struct { Error_ string `json:"error"` // Value received Value string `json:"value,omitempty"` }
Attribute is invalid
type LessThan ¶
type LessThan struct { Error_ string `json:"error"` // Value received Value int32 `json:"value,omitempty"` // Expected minimum value Count int32 `json:"count,omitempty"` }
Attribute must be less than %{count}
type LessThanOrEqualTo ¶
type LessThanOrEqualTo struct { Error_ string `json:"error"` // Value received Value int32 `json:"value,omitempty"` // Expected minimum value Count int32 `json:"count,omitempty"` }
Attribute must be less than or equal to %{count}
type ModelError ¶
type ModelError struct { // Parsable objects describing the errors. The key is the invalid attribute name. Details map[string][]AttributeError `json:"details,omitempty"` // English description of the errors. Messages []string `json:"messages,omitempty"` }
type MountCollection ¶
type MountCollection struct {
Mounts []MountInfo `json:"mounts,omitempty"`
}
type MountInfo ¶
type MountInfo struct { Id int32 `json:"id,omitempty"` MajorMinor string `json:"major_minor,omitempty"` Target string `json:"target,omitempty"` Source string `json:"source,omitempty"` Options string `json:"options,omitempty"` Type_ string `json:"type,omitempty"` NasId int32 `json:"nas_id,omitempty"` NasName string `json:"nas_name,omitempty"` NasPoolId int32 `json:"nas_pool_id,omitempty"` NasPoolName string `json:"nas_pool_name,omitempty"` CloudConnectorId int32 `json:"cloud_connector_id,omitempty"` CloudConnectorName string `json:"cloud_connector_name,omitempty"` CloudBucketId int32 `json:"cloud_bucket_id,omitempty"` CloudBucketName string `json:"cloud_bucket_name,omitempty"` CloudPoolId int32 `json:"cloud_pool_id,omitempty"` CloudPoolName string `json:"cloud_pool_name,omitempty"` MountPointId int32 `json:"mount_point_id,omitempty"` MountPointName string `json:"mount_point_name,omitempty"` TapeId int32 `json:"tape_id,omitempty"` TapeBarcode string `json:"tape_barcode,omitempty"` TapeLibraryId int32 `json:"tape_library_id,omitempty"` TapeLibraryName string `json:"tape_library_name,omitempty"` TapeLibrarySerial string `json:"tape_library_serial,omitempty"` }
type MountNotification ¶
type MountPoint ¶
type MountPoint struct { Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` Comment string `json:"comment,omitempty"` Target string `json:"target,omitempty"` Type_ string `json:"type,omitempty"` Options string `json:"options,omitempty"` Username string `json:"username,omitempty"` Password string `json:"password,omitempty"` ScanInterval string `json:"scan_interval,omitempty"` Price string `json:"price,omitempty"` }
type MountPointCollection ¶
type MountPointCollection struct { Count int32 `json:"count,omitempty"` MountPoints []MountPoint `json:"mount_points,omitempty"` }
type MountPointsApiService ¶
type MountPointsApiService service
func (*MountPointsApiService) CreateMountPoint ¶
func (a *MountPointsApiService) CreateMountPoint(ctx context.Context, mountPointBody MountPoint) (MountPoint, *http.Response, error)
MountPointsApiService Creates a new mount point. It **does not** create and mount the file structure. Use API v1 instead. **API Key Scope**: mount_points / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param mountPointBody
@return MountPoint
func (*MountPointsApiService) DestroyMountPoint ¶
func (a *MountPointsApiService) DestroyMountPoint(ctx context.Context, mountPointId string) (*http.Response, error)
MountPointsApiService Destroys a specific mount point. **API Key Scope**: mount_points / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param mountPointId Numeric ID or name of mount point.
func (*MountPointsApiService) IndexMountPoints ¶
func (a *MountPointsApiService) IndexMountPoints(ctx context.Context, localVarOptionals *IndexMountPointsOpts) (MountPointCollection, *http.Response, error)
func (*MountPointsApiService) MountMountPoint ¶
func (a *MountPointsApiService) MountMountPoint(ctx context.Context, mountPointId string) (MountStatus, *http.Response, error)
MountPointsApiService Mount Mount Point. **API Key Scope**: mount_points / mount
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param mountPointId Numeric ID or name of mount point.
@return MountStatus
func (*MountPointsApiService) MountStatusMountPoint ¶
func (a *MountPointsApiService) MountStatusMountPoint(ctx context.Context, mountPointId string) (MountStatus, *http.Response, error)
MountPointsApiService Get mount status of Mount Point. **API Key Scope**: mount_points / mount_status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param mountPointId Numeric ID or name of mount point.
@return MountStatus
func (*MountPointsApiService) ShowMountPoint ¶
func (a *MountPointsApiService) ShowMountPoint(ctx context.Context, mountPointId string) (MountPoint, *http.Response, error)
MountPointsApiService Displays a specific mount point`. **API Key Scope**: mount_points / show Optional API Key Explicit Scope: mount_points / get_password
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param mountPointId Numeric ID or name of mount point.
@return MountPoint
func (*MountPointsApiService) UnmountMountPoint ¶
func (a *MountPointsApiService) UnmountMountPoint(ctx context.Context, mountPointId string) (MountStatus, *http.Response, error)
MountPointsApiService Unmount Mount Point. **API Key Scope**: mount_points / unmount
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param mountPointId Numeric ID or name of mount point.
@return MountStatus
func (*MountPointsApiService) UpdateMountPoint ¶
func (a *MountPointsApiService) UpdateMountPoint(ctx context.Context, mountPointId string, mountPointBody MountPoint) (MountPoint, *http.Response, error)
MountPointsApiService Updates a specific mount point`. It **does not** create and mount the file structure. Use API v1 instead. **API Key Scope**: mount_points / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param mountPointId Numeric ID or name of mount point.
- @param mountPointBody
@return MountPoint
type MountStatus ¶
type MountsApiService ¶
type MountsApiService service
func (*MountsApiService) IndexMounts ¶
func (a *MountsApiService) IndexMounts(ctx context.Context) (MountCollection, *http.Response, error)
MountsApiService List all mounted storages **API Key Scope**: mounts / index
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
@return MountCollection
type NasApiService ¶
type NasApiService service
func (*NasApiService) CreateNas ¶
NasApiService Creates a new NAS. **API Key Scope**: nas / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasBody
@return Nas
func (*NasApiService) DestroyNas ¶
NasApiService Destroys a specific NAS. **API Key Scope**: nas / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasId Numeric ID or name of NAS.
func (*NasApiService) IndexNas ¶
func (a *NasApiService) IndexNas(ctx context.Context, localVarOptionals *IndexNasOpts) (NasCollection, *http.Response, error)
func (*NasApiService) ShowNas ¶
NasApiService Displays a specific NAS. **API Key Scope**: nas / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasId Numeric ID or name of NAS.
@return Nas
func (*NasApiService) UpdateNas ¶
func (a *NasApiService) UpdateNas(ctx context.Context, nasId string, nasBody Nas) (Nas, *http.Response, error)
NasApiService Updates a specific NAS. **API Key Scope**: nas / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasId Numeric ID or name of NAS.
- @param nasBody
@return Nas
type NasCollection ¶
type NasPoolCollection ¶
type NasPoolsApiService ¶
type NasPoolsApiService service
func (*NasPoolsApiService) CreateNasPool ¶
func (a *NasPoolsApiService) CreateNasPool(ctx context.Context, nasPoolBody NasPoolUp) (NasPool, *http.Response, error)
NasPoolsApiService Creates a new NAS pool. **API Key Scope**: nas_pools / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasPoolBody
@return NasPool
func (*NasPoolsApiService) DestroyNasPool ¶
func (a *NasPoolsApiService) DestroyNasPool(ctx context.Context, nasPoolId string) (*http.Response, error)
NasPoolsApiService Destroys a specific NAS pool. **API Key Scope**: nas_pools / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasPoolId Numeric ID or name of NAS pool.
func (*NasPoolsApiService) IndexNasPools ¶
func (a *NasPoolsApiService) IndexNasPools(ctx context.Context, localVarOptionals *IndexNasPoolsOpts) (NasPoolCollection, *http.Response, error)
func (*NasPoolsApiService) MountStatusNasPool ¶
func (a *NasPoolsApiService) MountStatusNasPool(ctx context.Context, nasPoolId string) (MountStatus, *http.Response, error)
NasPoolsApiService Get mount status of NAS pool. **API Key Scope**: nas_pools / mount_status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasPoolId Numeric ID or name of NAS pool.
@return MountStatus
func (*NasPoolsApiService) ShowNasPool ¶
func (a *NasPoolsApiService) ShowNasPool(ctx context.Context, nasPoolId string) (NasPool, *http.Response, error)
NasPoolsApiService Displays a specific NAS pool. **API Key Scope**: nas_pools / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasPoolId Numeric ID or name of NAS pool.
@return NasPool
func (*NasPoolsApiService) UpdateNasPool ¶
func (a *NasPoolsApiService) UpdateNasPool(ctx context.Context, nasPoolId string, nasPoolBody NasPoolUp) (NasPool, *http.Response, error)
NasPoolsApiService Updates a specific NAS pool. **API Key Scope**: nas_pools / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasPoolId Numeric ID or name of NAS pool.
- @param nasPoolBody
@return NasPool
type NasShareCollection ¶
type NasShareCollection struct {}
type NasSharesApiService ¶
type NasSharesApiService service
func (*NasSharesApiService) CreateNasShareByNas ¶
func (a *NasSharesApiService) CreateNasShareByNas(ctx context.Context, nasId string, nasShareBody NasShare) (NasShare, *http.Response, error)
NasSharesApiService Creates a new NAS share. **API Key Scope**: nas_shares / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasId Numeric ID or name of NAS.
- @param nasShareBody
@return NasShare
func (*NasSharesApiService) DestroyNasShare ¶
func (a *NasSharesApiService) DestroyNasShare(ctx context.Context, nasShareId int32) (*http.Response, error)
NasSharesApiService Destroys a specific NAS share. **API Key Scope**: nas_shares / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasShareId Numeric ID of NAS share.
func (*NasSharesApiService) DestroyNasShareByNas ¶
func (a *NasSharesApiService) DestroyNasShareByNas(ctx context.Context, nasId string, nasShareId int32) (*http.Response, error)
NasSharesApiService Destroys a specific NAS share. **API Key Scope**: nas_shares / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasId Numeric ID or name of NAS.
- @param nasShareId Numeric ID of NAS share.
func (*NasSharesApiService) DestroyNasShareByNasPool ¶
func (a *NasSharesApiService) DestroyNasShareByNasPool(ctx context.Context, nasPoolId string, nasShareId int32) (*http.Response, error)
NasSharesApiService Destroys a specific NAS share. **API Key Scope**: nas_shares / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasPoolId Numeric ID or name of NAS pool.
- @param nasShareId Numeric ID of NAS share.
func (*NasSharesApiService) IndexNasShares ¶
func (a *NasSharesApiService) IndexNasShares(ctx context.Context, localVarOptionals *IndexNasSharesOpts) (NasShareCollection, *http.Response, error)
func (*NasSharesApiService) IndexNasSharesByNas ¶
func (a *NasSharesApiService) IndexNasSharesByNas(ctx context.Context, nasId string, localVarOptionals *IndexNasSharesByNasOpts) (NasShareCollection, *http.Response, error)
func (*NasSharesApiService) IndexNasSharesByNasPool ¶
func (a *NasSharesApiService) IndexNasSharesByNasPool(ctx context.Context, nasPoolId string, localVarOptionals *IndexNasSharesByNasPoolOpts) (NasShareCollection, *http.Response, error)
func (*NasSharesApiService) MountStatusNasShare ¶
func (a *NasSharesApiService) MountStatusNasShare(ctx context.Context, nasShareId int32) (MountStatus, *http.Response, error)
NasSharesApiService Get mount status of NAS Share. **API Key Scope**: nas_shares / mount_status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasShareId Numeric ID of NAS share.
@return MountStatus
func (*NasSharesApiService) MountStatusNasShareByNas ¶
func (a *NasSharesApiService) MountStatusNasShareByNas(ctx context.Context, nasId string, nasShareId int32) (MountStatus, *http.Response, error)
NasSharesApiService Get mount status of NAS Share. **API Key Scope**: nas_shares / mount_status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasId Numeric ID or name of NAS.
- @param nasShareId Numeric ID of NAS share.
@return MountStatus
func (*NasSharesApiService) MountStatusNasShareByNasPool ¶
func (a *NasSharesApiService) MountStatusNasShareByNasPool(ctx context.Context, nasPoolId string, nasShareId int32) (MountStatus, *http.Response, error)
NasSharesApiService Get mount status of NAS Share. **API Key Scope**: nas_shares / mount_status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasPoolId Numeric ID or name of NAS pool.
- @param nasShareId Numeric ID of NAS share.
@return MountStatus
func (*NasSharesApiService) ShowNasShareByNas ¶
func (a *NasSharesApiService) ShowNasShareByNas(ctx context.Context, nasId string, nasShareId int32) (NasShare, *http.Response, error)
NasSharesApiService Displays a specific NAS share. **API Key Scope**: nas_shares / show Optional API Key Explicit Scope: nas_shares / get_password
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasId Numeric ID or name of NAS.
- @param nasShareId Numeric ID of NAS share.
@return NasShare
func (*NasSharesApiService) ShowNasShares ¶
func (a *NasSharesApiService) ShowNasShares(ctx context.Context, nasShareId int32) (NasShare, *http.Response, error)
NasSharesApiService Displays a specific NAS share. **API Key Scope**: nas_shares / show Optional API Key Explicit Scope: nas_shares / get_password
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasShareId Numeric ID of NAS share.
@return NasShare
func (*NasSharesApiService) ShowNasSharesByNasPool ¶
func (a *NasSharesApiService) ShowNasSharesByNasPool(ctx context.Context, nasPoolId string, nasShareId int32) (NasShare, *http.Response, error)
NasSharesApiService Displays a specific NAS share. **API Key Scope**: nas_shares / show Optional API Key Explicit Scope: nas_shares / get_password
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasPoolId Numeric ID or name of NAS pool.
- @param nasShareId Numeric ID of NAS share.
@return NasShare
func (*NasSharesApiService) TestNasShare ¶
func (a *NasSharesApiService) TestNasShare(ctx context.Context, nasId string, nasShareBody NasShare) (ActiveJobStatus, *http.Response, error)
NasSharesApiService Test an unsaved NAS Share. **API Key Scope**: nas_shares / test
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasId Numeric ID or name of NAS.
- @param nasShareBody
@return ActiveJobStatus
func (*NasSharesApiService) TestResultNasShare ¶
func (a *NasSharesApiService) TestResultNasShare(ctx context.Context, nasId string, localVarOptionals *TestResultNasShareOpts) (ActiveJobStatus, *http.Response, error)
func (*NasSharesApiService) UpdateNasShare ¶
func (a *NasSharesApiService) UpdateNasShare(ctx context.Context, nasShareId int32, nasShareBody NasShare) (NasShare, *http.Response, error)
NasSharesApiService Updates a specific NAS share. **API Key Scope**: nas_shares / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasShareId Numeric ID of NAS share.
- @param nasShareBody
@return NasShare
func (*NasSharesApiService) UpdateNasShareByNas ¶
func (a *NasSharesApiService) UpdateNasShareByNas(ctx context.Context, nasId string, nasShareId int32, nasShareBody NasShare) (NasShare, *http.Response, error)
NasSharesApiService Updates a specific NAS share. **API Key Scope**: nas_shares / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasId Numeric ID or name of NAS.
- @param nasShareId Numeric ID of NAS share.
- @param nasShareBody
@return NasShare
func (*NasSharesApiService) UpdateNasShareByNasPool ¶
func (a *NasSharesApiService) UpdateNasShareByNasPool(ctx context.Context, nasPoolId string, nasShareId int32, nasShareBody NasShare) (NasShare, *http.Response, error)
NasSharesApiService Updates a specific NAS share. **API Key Scope**: nas_shares / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param nasPoolId Numeric ID or name of NAS pool.
- @param nasShareId Numeric ID of NAS share.
- @param nasShareBody
@return NasShare
type NodeumFile ¶
type NodeumFile struct { Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` Parent int32 `json:"parent,omitempty"` Type_ string `json:"type,omitempty"` Permission int32 `json:"permission,omitempty"` Size int32 `json:"size,omitempty"` ChangeDate string `json:"change_date,omitempty"` ModificationDate string `json:"modification_date,omitempty"` AccessDate string `json:"access_date,omitempty"` Uid int32 `json:"uid,omitempty"` Gid int32 `json:"gid,omitempty"` }
type NodeumFileCollection ¶
type NodeumFileCollection struct { Count int32 `json:"count,omitempty"` Files []NodeumFile `json:"files,omitempty"` }
type NodeumFileWithPath ¶
type NodeumFileWithPath struct { Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` Parent int32 `json:"parent,omitempty"` Type_ string `json:"type,omitempty"` Permission int32 `json:"permission,omitempty"` Size int32 `json:"size,omitempty"` ChangeDate string `json:"change_date,omitempty"` ModificationDate string `json:"modification_date,omitempty"` AccessDate string `json:"access_date,omitempty"` Uid int32 `json:"uid,omitempty"` Gid int32 `json:"gid,omitempty"` FilePath string `json:"file_path,omitempty"` }
type OccurrenceLessThan ¶
type OccurrenceLessThan struct { Error_ string `json:"error"` // Expected maximum number of occurrences Count int32 `json:"count,omitempty"` // Current number of occurrences Value int32 `json:"value,omitempty"` }
Must have less than %{count} occurrences (currently have %{value})
type OccurrenceLessThanOrEqualTo ¶
type OccurrenceLessThanOrEqualTo struct { Error_ string `json:"error"` // Expected maximum number of occurrences Count int32 `json:"count,omitempty"` // Current number of occurrences Value int32 `json:"value,omitempty"` }
Must have at most or less than %{count} occurrences (currently have %{value})
type QuotaOnCache ¶
type QuotaOnCache struct {
Error_ string `json:"error"`
}
Quota on cache can't be above 100% (total)
type Taken ¶
type Taken struct { Error_ string `json:"error"` // Value received Value string `json:"value,omitempty"` }
Attribute has already been taken
type Tape ¶
type Tape struct { Id int32 `json:"id,omitempty"` TapeLibraryId int32 `json:"tape_library_id,omitempty"` TapePoolId int32 `json:"tape_pool_id,omitempty"` Barcode string `json:"barcode,omitempty"` Location string `json:"location,omitempty"` Type_ string `json:"type,omitempty"` Locked bool `json:"locked,omitempty"` Scratch bool `json:"scratch,omitempty"` Cleaning bool `json:"cleaning,omitempty"` WriteProtect bool `json:"write_protect,omitempty"` Mounted bool `json:"mounted,omitempty"` Ejected bool `json:"ejected,omitempty"` Known bool `json:"known,omitempty"` MountCount int32 `json:"mount_count,omitempty"` DateIn string `json:"date_in,omitempty"` DateMove string `json:"date_move,omitempty"` Free int32 `json:"free,omitempty"` Max int32 `json:"max,omitempty"` LastSizeUpdate string `json:"last_size_update,omitempty"` LastMaintenance string `json:"last_maintenance,omitempty"` LastRepack string `json:"last_repack,omitempty"` RepackStatus bool `json:"repack_status,omitempty"` Hash string `json:"hash,omitempty"` ForceImportType bool `json:"force_import_type,omitempty"` NeedToCheck bool `json:"need_to_check,omitempty"` }
type TapeCollection ¶
type TapeDrive ¶
type TapeDrive struct { Serial string `json:"serial,omitempty"` ScsiAddress int32 `json:"scsi_address,omitempty"` Vendor string `json:"vendor,omitempty"` Product string `json:"product,omitempty"` Firmware string `json:"firmware,omitempty"` // When saved, device may be prefixed by *n* (eg. `/dev/nst5`) Device string `json:"device,omitempty"` Sgdevice string `json:"sgdevice,omitempty"` Id int32 `json:"id,omitempty"` TapeLibraryId int32 `json:"tape_library_id,omitempty"` Name string `json:"name,omitempty"` Comment string `json:"comment,omitempty"` Libso string `json:"libso,omitempty"` Acs int32 `json:"acs,omitempty"` Lsm int32 `json:"lsm,omitempty"` Panel int32 `json:"panel,omitempty"` Transport int32 `json:"transport,omitempty"` Status string `json:"status,omitempty"` Full int32 `json:"full,omitempty"` MountCount int32 `json:"mount_count,omitempty"` UseTo string `json:"use_to,omitempty"` UseBy string `json:"use_by,omitempty"` UseFileProcessedSize int32 `json:"use_file_processed_size,omitempty"` UseFileSizeToProcess int32 `json:"use_file_size_to_process,omitempty"` UseFileNameProcessed string `json:"use_file_name_processed,omitempty"` Bandwidth int32 `json:"bandwidth,omitempty"` }
type TapeDriveCollection ¶
type TapeDriveDevice ¶
type TapeDriveDevice struct { Serial string `json:"serial,omitempty"` ScsiAddress int32 `json:"scsi_address,omitempty"` Vendor string `json:"vendor,omitempty"` Product string `json:"product,omitempty"` Firmware string `json:"firmware,omitempty"` // When saved, device may be prefixed by *n* (eg. `/dev/nst5`) Device string `json:"device,omitempty"` Sgdevice string `json:"sgdevice,omitempty"` }
type TapeDriveDeviceCollection ¶
type TapeDriveDeviceCollection struct {
TapeDrives []TapeDriveDevice `json:"tape_drives,omitempty"`
}
type TapeDrivesApiService ¶
type TapeDrivesApiService service
func (*TapeDrivesApiService) CreateTapeDriveByTapeLibrary ¶
func (a *TapeDrivesApiService) CreateTapeDriveByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeDriveBody TapeDrive) (TapeDrive, *http.Response, error)
TapeDrivesApiService Creates a new tape drive. **API Key Scope**: tape_drives / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeLibraryId Numeric ID, serial, or name of tape library.
- @param tapeDriveBody
@return TapeDrive
func (*TapeDrivesApiService) DestroyTapeDrive ¶
func (a *TapeDrivesApiService) DestroyTapeDrive(ctx context.Context, tapeDriveId string) (*http.Response, error)
TapeDrivesApiService Destroys a specific tape drive. **API Key Scope**: tape_drives / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeDriveId Numeric ID, serial, or name of tape drive.
func (*TapeDrivesApiService) DestroyTapeDriveByTapeLibrary ¶
func (a *TapeDrivesApiService) DestroyTapeDriveByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeDriveId string) (*http.Response, error)
TapeDrivesApiService Destroys a specific tape drive. **API Key Scope**: tape_drives / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeLibraryId Numeric ID, serial, or name of tape library.
- @param tapeDriveId Numeric ID, serial, or name of tape drive.
func (*TapeDrivesApiService) IndexTapeDriveDevices ¶
func (a *TapeDrivesApiService) IndexTapeDriveDevices(ctx context.Context, tapeLibraryId string, localVarOptionals *IndexTapeDriveDevicesOpts) (TapeDriveDeviceCollection, *http.Response, error)
func (*TapeDrivesApiService) IndexTapeDrives ¶
func (a *TapeDrivesApiService) IndexTapeDrives(ctx context.Context, localVarOptionals *IndexTapeDrivesOpts) (TapeDriveCollection, *http.Response, error)
func (*TapeDrivesApiService) IndexTapeDrivesByTapeLibrary ¶
func (a *TapeDrivesApiService) IndexTapeDrivesByTapeLibrary(ctx context.Context, tapeLibraryId string, localVarOptionals *IndexTapeDrivesByTapeLibraryOpts) (TapeDriveCollection, *http.Response, error)
func (*TapeDrivesApiService) ShowTapeDrive ¶
func (a *TapeDrivesApiService) ShowTapeDrive(ctx context.Context, tapeDriveId string) (TapeDrive, *http.Response, error)
TapeDrivesApiService Displays a specific tape drive. **API Key Scope**: tape_drives / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeDriveId Numeric ID, serial, or name of tape drive.
@return TapeDrive
func (*TapeDrivesApiService) ShowTapeDriveByTapeLibrary ¶
func (a *TapeDrivesApiService) ShowTapeDriveByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeDriveId string) (TapeDrive, *http.Response, error)
TapeDrivesApiService Displays a specific tape drive. **API Key Scope**: tape_drives / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeLibraryId Numeric ID, serial, or name of tape library.
- @param tapeDriveId Numeric ID, serial, or name of tape drive.
@return TapeDrive
func (*TapeDrivesApiService) UpdateTapeDrive ¶
func (a *TapeDrivesApiService) UpdateTapeDrive(ctx context.Context, tapeDriveId string, tapeDriveBody TapeDrive) (TapeDrive, *http.Response, error)
TapeDrivesApiService Updates a specific tape drive. **API Key Scope**: tape_drives / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeDriveId Numeric ID, serial, or name of tape drive.
- @param tapeDriveBody
@return TapeDrive
func (*TapeDrivesApiService) UpdateTapeDriveByTapeLibrary ¶
func (a *TapeDrivesApiService) UpdateTapeDriveByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeDriveId string, tapeDriveBody TapeDrive) (TapeDrive, *http.Response, error)
TapeDrivesApiService Updates a specific tape drive. **API Key Scope**: tape_drives / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeLibraryId Numeric ID, serial, or name of tape library.
- @param tapeDriveId Numeric ID, serial, or name of tape drive.
- @param tapeDriveBody
@return TapeDrive
type TapeLibrariesApiService ¶
type TapeLibrariesApiService service
func (*TapeLibrariesApiService) CreateTapeLibrary ¶
func (a *TapeLibrariesApiService) CreateTapeLibrary(ctx context.Context, tapeLibraryBody TapeLibrary) (TapeLibrary, *http.Response, error)
TapeLibrariesApiService Creates a new tape library. **API Key Scope**: tape_libraries / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeLibraryBody
@return TapeLibrary
func (*TapeLibrariesApiService) DestroyTapeLibrary ¶
func (a *TapeLibrariesApiService) DestroyTapeLibrary(ctx context.Context, tapeLibraryId string) (*http.Response, error)
TapeLibrariesApiService Destroys a specific tape library. **API Key Scope**: tape_libraries / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeLibraryId Numeric ID, serial, or name of tape library.
func (*TapeLibrariesApiService) IndexTapeLibraries ¶
func (a *TapeLibrariesApiService) IndexTapeLibraries(ctx context.Context, localVarOptionals *IndexTapeLibrariesOpts) (TapeLibraryCollection, *http.Response, error)
func (*TapeLibrariesApiService) IndexTapeLibraryDevices ¶
func (a *TapeLibrariesApiService) IndexTapeLibraryDevices(ctx context.Context, localVarOptionals *IndexTapeLibraryDevicesOpts) (TapeLibraryDeviceCollection, *http.Response, error)
func (*TapeLibrariesApiService) ShowTapeLibrary ¶
func (a *TapeLibrariesApiService) ShowTapeLibrary(ctx context.Context, tapeLibraryId string) (TapeLibrary, *http.Response, error)
TapeLibrariesApiService Displays a specific tape library. **API Key Scope**: tape_libraries / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeLibraryId Numeric ID, serial, or name of tape library.
@return TapeLibrary
func (*TapeLibrariesApiService) UpdateTapeLibrary ¶
func (a *TapeLibrariesApiService) UpdateTapeLibrary(ctx context.Context, tapeLibraryId string, tapeLibraryBody TapeLibrary) (TapeLibrary, *http.Response, error)
TapeLibrariesApiService Updates a specific tape library. **API Key Scope**: tape_libraries / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeLibraryId Numeric ID, serial, or name of tape library.
- @param tapeLibraryBody
@return TapeLibrary
type TapeLibrary ¶
type TapeLibrary struct { Serial string `json:"serial,omitempty"` Protocol string `json:"protocol,omitempty"` Vendor string `json:"vendor,omitempty"` Product string `json:"product,omitempty"` Firmware string `json:"firmware,omitempty"` Device string `json:"device,omitempty"` Acs int32 `json:"acs,omitempty"` StorageSlots int32 `json:"storage_slots,omitempty"` StorageSlotsAddress int32 `json:"storage_slots_address,omitempty"` IoSlots int32 `json:"io_slots,omitempty"` IoSlotsAddress int32 `json:"io_slots_address,omitempty"` Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` Comment string `json:"comment,omitempty"` Libso string `json:"libso,omitempty"` Status string `json:"status,omitempty"` Price string `json:"price,omitempty"` }
type TapeLibraryCollection ¶
type TapeLibraryCollection struct { Count int32 `json:"count,omitempty"` TapeLibraries []TapeLibrary `json:"tape_libraries,omitempty"` }
type TapeLibraryDevice ¶
type TapeLibraryDevice struct { Serial string `json:"serial,omitempty"` Protocol string `json:"protocol,omitempty"` Vendor string `json:"vendor,omitempty"` Product string `json:"product,omitempty"` Firmware string `json:"firmware,omitempty"` Device string `json:"device,omitempty"` Acs int32 `json:"acs,omitempty"` StorageSlots int32 `json:"storage_slots,omitempty"` StorageSlotsAddress int32 `json:"storage_slots_address,omitempty"` IoSlots int32 `json:"io_slots,omitempty"` IoSlotsAddress int32 `json:"io_slots_address,omitempty"` }
type TapeLibraryDeviceCollection ¶
type TapeLibraryDeviceCollection struct {
TapeLibraries []TapeLibraryDevice `json:"tape_libraries,omitempty"`
}
type TapePoolCollection ¶
type TapePoolUp ¶
type TapePoolsApiService ¶
type TapePoolsApiService service
func (*TapePoolsApiService) CreateTapePool ¶
func (a *TapePoolsApiService) CreateTapePool(ctx context.Context, tapePoolBody TapePoolUp) (TapePool, *http.Response, error)
TapePoolsApiService Creates a new tape pool. **API Key Scope**: tape_pools / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapePoolBody
@return TapePool
func (*TapePoolsApiService) DestroyTapePool ¶
func (a *TapePoolsApiService) DestroyTapePool(ctx context.Context, tapePoolId string) (*http.Response, error)
TapePoolsApiService Destroys a specific tape pool. **API Key Scope**: tape_pools / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapePoolId Numeric ID, or name of tape pool.
func (*TapePoolsApiService) IndexTapePools ¶
func (a *TapePoolsApiService) IndexTapePools(ctx context.Context, localVarOptionals *IndexTapePoolsOpts) (TapePoolCollection, *http.Response, error)
func (*TapePoolsApiService) ShowTapePool ¶
func (a *TapePoolsApiService) ShowTapePool(ctx context.Context, tapePoolId string) (TapePool, *http.Response, error)
TapePoolsApiService Displays a specific tape pool. **API Key Scope**: tape_pools / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapePoolId Numeric ID, or name of tape pool.
@return TapePool
func (*TapePoolsApiService) UpdateTapePool ¶
func (a *TapePoolsApiService) UpdateTapePool(ctx context.Context, tapePoolId string, tapePoolBody TapePoolUp) (TapePool, *http.Response, error)
TapePoolsApiService Updates a specific tape pool. **API Key Scope**: tape_pools / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapePoolId Numeric ID, or name of tape pool.
- @param tapePoolBody
@return TapePool
type TapesApiService ¶
type TapesApiService service
func (*TapesApiService) IndexTapes ¶
func (a *TapesApiService) IndexTapes(ctx context.Context, localVarOptionals *IndexTapesOpts) (TapeCollection, *http.Response, error)
func (*TapesApiService) IndexTapesByTapeLibrary ¶
func (a *TapesApiService) IndexTapesByTapeLibrary(ctx context.Context, tapeLibraryId string, localVarOptionals *IndexTapesByTapeLibraryOpts) (TapeCollection, *http.Response, error)
func (*TapesApiService) IndexTapesByTapePool ¶
func (a *TapesApiService) IndexTapesByTapePool(ctx context.Context, tapePoolId string, localVarOptionals *IndexTapesByTapePoolOpts) (TapeCollection, *http.Response, error)
func (*TapesApiService) MountStatusTape ¶
func (a *TapesApiService) MountStatusTape(ctx context.Context, tapeId string) (MountStatus, *http.Response, error)
TapesApiService Get mount status of Tape. **API Key Scope**: tapes / mount_status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeId Numeric ID, or barcode of tape.
@return MountStatus
func (*TapesApiService) MountStatusTapeByTapeLibrary ¶
func (a *TapesApiService) MountStatusTapeByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeId string) (MountStatus, *http.Response, error)
TapesApiService Get mount status of Tape. **API Key Scope**: tapes / mount_status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeLibraryId Numeric ID, serial, or name of tape library.
- @param tapeId Numeric ID, or barcode of tape.
@return MountStatus
func (*TapesApiService) MountStatusTapeByTapePool ¶
func (a *TapesApiService) MountStatusTapeByTapePool(ctx context.Context, tapePoolId string, tapeId string) (MountStatus, *http.Response, error)
TapesApiService Get mount status of Tape. **API Key Scope**: tapes / mount_status
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapePoolId Numeric ID, or name of tape pool.
- @param tapeId Numeric ID, or barcode of tape.
@return MountStatus
func (*TapesApiService) ShowTape ¶
func (a *TapesApiService) ShowTape(ctx context.Context, tapeId string) (Tape, *http.Response, error)
TapesApiService Displays a specific tape. **API Key Scope**: tapes / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeId Numeric ID, or barcode of tape.
@return Tape
func (*TapesApiService) ShowTapeByTapeLibrary ¶
func (a *TapesApiService) ShowTapeByTapeLibrary(ctx context.Context, tapeLibraryId string, tapeId string) (Tape, *http.Response, error)
TapesApiService Displays a specific tape. **API Key Scope**: tapes / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapeLibraryId Numeric ID, serial, or name of tape library.
- @param tapeId Numeric ID, or barcode of tape.
@return Tape
func (*TapesApiService) ShowTapeByTapePool ¶
func (a *TapesApiService) ShowTapeByTapePool(ctx context.Context, tapePoolId string, tapeId string) (Tape, *http.Response, error)
TapesApiService Displays a specific tape. **API Key Scope**: tapes / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param tapePoolId Numeric ID, or name of tape pool.
- @param tapeId Numeric ID, or barcode of tape.
@return Tape
type Task ¶
type Task struct { Id int32 `json:"id,omitempty"` Name string `json:"name,omitempty"` Comment string `json:"comment,omitempty"` Type_ string `json:"type,omitempty"` WorkflowType string `json:"workflow_type,omitempty"` WorkflowAction string `json:"workflow_action,omitempty"` Priority int32 `json:"priority,omitempty"` ConflictResolution string `json:"conflict_resolution,omitempty"` Action string `json:"action,omitempty"` Activate bool `json:"activate,omitempty"` CreationDate string `json:"creation_date,omitempty"` ModificationDate string `json:"modification_date,omitempty"` CreationUsername string `json:"creation_username,omitempty"` ModificationUsername string `json:"modification_username,omitempty"` Status string `json:"status,omitempty"` JobStarted string `json:"job_started,omitempty"` JobFinished string `json:"job_finished,omitempty"` ProcessedSize int32 `json:"processed_size,omitempty"` ToProcessSize int32 `json:"to_process_size,omitempty"` }
type TaskCollection ¶
type TaskDestinationCollection ¶
type TaskDestinationCollection struct { Count int32 `json:"count,omitempty"` TaskDestinations []TaskDestinationDown `json:"task_destinations,omitempty"` }
type TaskDestinationDown ¶
type TaskDestinationUp ¶
type TaskDestinationUp struct { FolderId int32 `json:"folder_id,omitempty"` FolderPath string `json:"folder_path,omitempty"` TapeId int32 `json:"tape_id,omitempty"` TapeBarcode string `json:"tape_barcode,omitempty"` TapePoolId int32 `json:"tape_pool_id,omitempty"` TapePoolName string `json:"tape_pool_name,omitempty"` CloudPoolId int32 `json:"cloud_pool_id,omitempty"` CloudPoolName string `json:"cloud_pool_name,omitempty"` NasPoolId int32 `json:"nas_pool_id,omitempty"` NasPoolName string `json:"nas_pool_name,omitempty"` }
type TaskDestinationsApiService ¶
type TaskDestinationsApiService service
func (*TaskDestinationsApiService) CreateTaskDestination ¶
func (a *TaskDestinationsApiService) CreateTaskDestination(ctx context.Context, taskId string, taskDestinationBody TaskDestinationUp) (TaskDestinationDown, *http.Response, error)
TaskDestinationsApiService Creates a new task destination. **API Key Scope**: task_destinations / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskDestinationBody
@return TaskDestinationDown
func (*TaskDestinationsApiService) DestroyTaskDestination ¶
func (a *TaskDestinationsApiService) DestroyTaskDestination(ctx context.Context, taskId string, taskDestinationId int32) (*http.Response, error)
TaskDestinationsApiService Destroys a specific task destination. **API Key Scope**: task_destinations / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskDestinationId Numeric ID of task destination.
func (*TaskDestinationsApiService) IndexTaskDestinations ¶
func (a *TaskDestinationsApiService) IndexTaskDestinations(ctx context.Context, taskId string) (TaskDestinationCollection, *http.Response, error)
TaskDestinationsApiService Lists all task destinations. Filter and pagination parameters are not available for this API. **API Key Scope**: task_destinations / index
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
@return TaskDestinationCollection
func (*TaskDestinationsApiService) ShowTaskDestination ¶
func (a *TaskDestinationsApiService) ShowTaskDestination(ctx context.Context, taskId string, taskDestinationId int32) (TaskDestinationDown, *http.Response, error)
TaskDestinationsApiService Displays a specific task destination. **API Key Scope**: task_destinations / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskDestinationId Numeric ID of task destination.
@return TaskDestinationDown
func (*TaskDestinationsApiService) UpdateTaskDestination ¶
func (a *TaskDestinationsApiService) UpdateTaskDestination(ctx context.Context, taskId string, taskDestinationId int32, taskDestinationBody TaskDestinationUp) (TaskDestinationDown, *http.Response, error)
TaskDestinationsApiService Updates a specific task destination. **API Key Scope**: task_destinations / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskDestinationId Numeric ID of task destination.
- @param taskDestinationBody
@return TaskDestinationDown
type TaskExecution ¶
type TaskExecution struct { Id string `json:"id,omitempty"` TaskId int32 `json:"task_id,omitempty"` Name string `json:"name,omitempty"` Type_ string `json:"type,omitempty"` Status string `json:"status,omitempty"` LogTime string `json:"log_time,omitempty"` JobStarted string `json:"job_started,omitempty"` JobFinished string `json:"job_finished,omitempty"` ToProcessSize int32 `json:"to_process_size,omitempty"` ProcessedSize int32 `json:"processed_size,omitempty"` ToProcessFiles int32 `json:"to_process_files,omitempty"` ProcessedFiles int32 `json:"processed_files,omitempty"` FinalizedFiles int32 `json:"finalized_files,omitempty"` EstimationTime int32 `json:"estimation_time,omitempty"` Bandwidth int32 `json:"bandwidth,omitempty"` }
type TaskExecutionCollection ¶
type TaskExecutionCollection struct { Count int32 `json:"count,omitempty"` TaskExecutions []TaskExecution `json:"task_executions,omitempty"` }
type TaskExecutionsApiService ¶
type TaskExecutionsApiService service
func (*TaskExecutionsApiService) IndexTaskExecutions ¶
func (a *TaskExecutionsApiService) IndexTaskExecutions(ctx context.Context, localVarOptionals *IndexTaskExecutionsOpts) (TaskExecutionCollection, *http.Response, error)
func (*TaskExecutionsApiService) IndexTaskExecutionsByTask ¶
func (a *TaskExecutionsApiService) IndexTaskExecutionsByTask(ctx context.Context, taskId string) (TaskExecutionCollection, *http.Response, error)
TaskExecutionsApiService Lists all task executions. **API Key Scope**: task_executions / index
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
@return TaskExecutionCollection
func (*TaskExecutionsApiService) ShowTaskExecution ¶
func (a *TaskExecutionsApiService) ShowTaskExecution(ctx context.Context, taskExecutionId int64) (TaskExecution, *http.Response, error)
TaskExecutionsApiService Displays a specific task execution. **API Key Scope**: task_executions / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskExecutionId Numeric ID of task execution.
@return TaskExecution
func (*TaskExecutionsApiService) ShowTaskExecutionByTask ¶
func (a *TaskExecutionsApiService) ShowTaskExecutionByTask(ctx context.Context, taskId string, taskExecutionId int64) (TaskExecution, *http.Response, error)
TaskExecutionsApiService Displays a specific task execution. **API Key Scope**: task_executions / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskExecutionId Numeric ID of task execution.
@return TaskExecution
type TaskMetadataApiService ¶
type TaskMetadataApiService service
func (*TaskMetadataApiService) CreateTaskMetadatum ¶
func (a *TaskMetadataApiService) CreateTaskMetadatum(ctx context.Context, taskId string, taskMetadatumBody TaskMetadatum) (TaskMetadatum, *http.Response, error)
TaskMetadataApiService Creates a new task metadatum. **API Key Scope**: task_metadata / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskMetadatumBody
@return TaskMetadatum
func (*TaskMetadataApiService) DestroyTaskMetadatum ¶
func (a *TaskMetadataApiService) DestroyTaskMetadatum(ctx context.Context, taskId string, taskMetadatumId int32) (*http.Response, error)
TaskMetadataApiService Destroys a specific task metadatum. **API Key Scope**: task_metadata / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskMetadatumId Numeric ID of task metadatum.
func (*TaskMetadataApiService) IndexTaskMetadata ¶
func (a *TaskMetadataApiService) IndexTaskMetadata(ctx context.Context, taskId string, localVarOptionals *IndexTaskMetadataOpts) (TaskMetadatumCollection, *http.Response, error)
func (*TaskMetadataApiService) ShowTaskMetadat ¶
func (a *TaskMetadataApiService) ShowTaskMetadat(ctx context.Context, taskId string, taskMetadatumId int32) (TaskMetadatum, *http.Response, error)
TaskMetadataApiService Displays a specific task metadatum. **API Key Scope**: task_metadata / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskMetadatumId Numeric ID of task metadatum.
@return TaskMetadatum
func (*TaskMetadataApiService) UpdateTaskMetadatum ¶
func (a *TaskMetadataApiService) UpdateTaskMetadatum(ctx context.Context, taskId string, taskMetadatumId int32, taskMetadatumBody TaskMetadatum) (TaskMetadatum, *http.Response, error)
TaskMetadataApiService Updates a specific task metadatum. **API Key Scope**: task_metadata / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskMetadatumId Numeric ID of task metadatum.
- @param taskMetadatumBody
@return TaskMetadatum
type TaskMetadatum ¶
type TaskMetadatumCollection ¶
type TaskMetadatumCollection struct { Count int32 `json:"count,omitempty"` TaskMetadata []TaskMetadatum `json:"task_metadata,omitempty"` }
type TaskOption ¶
type TaskOptionCollection ¶
type TaskOptionCollection struct { Count int32 `json:"count,omitempty"` TaskOptions []TaskOption `json:"task_options,omitempty"` }
type TaskOptionsApiService ¶
type TaskOptionsApiService service
func (*TaskOptionsApiService) CreateTaskOption ¶
func (a *TaskOptionsApiService) CreateTaskOption(ctx context.Context, taskId string, taskOptionBody TaskOption) (TaskOption, *http.Response, error)
TaskOptionsApiService Creates a new task option. **API Key Scope**: task_options / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskOptionBody
@return TaskOption
func (*TaskOptionsApiService) DestroyTaskOption ¶
func (a *TaskOptionsApiService) DestroyTaskOption(ctx context.Context, taskId string, taskOptionId int32) (*http.Response, error)
TaskOptionsApiService Destroys a specific task option. **API Key Scope**: task_options / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskOptionId Numeric ID of task option.
func (*TaskOptionsApiService) IndexTaskOptions ¶
func (a *TaskOptionsApiService) IndexTaskOptions(ctx context.Context, taskId string, localVarOptionals *IndexTaskOptionsOpts) (TaskOptionCollection, *http.Response, error)
func (*TaskOptionsApiService) ShowTaskOption ¶
func (a *TaskOptionsApiService) ShowTaskOption(ctx context.Context, taskId string, taskOptionId int32) (TaskOption, *http.Response, error)
TaskOptionsApiService Displays a specific task option. **API Key Scope**: task_options / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskOptionId Numeric ID of task option.
@return TaskOption
func (*TaskOptionsApiService) UpdateTaskOption ¶
func (a *TaskOptionsApiService) UpdateTaskOption(ctx context.Context, taskId string, taskOptionId int32, taskOptionBody TaskOption) (TaskOption, *http.Response, error)
TaskOptionsApiService Updates a specific task option. **API Key Scope**: task_options / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskOptionId Numeric ID of task option.
- @param taskOptionBody
@return TaskOption
type TaskSourceCollection ¶
type TaskSourceCollection struct { Count int32 `json:"count,omitempty"` TaskSources []TaskSourceDown `json:"task_sources,omitempty"` }
type TaskSourceDown ¶
type TaskSourceDown struct { Id int32 `json:"id,omitempty"` File *NodeumFile `json:"file,omitempty"` ImportFile *ImportFile `json:"import_file,omitempty"` TapeId int32 `json:"tape_id,omitempty"` TapePoolId int32 `json:"tape_pool_id,omitempty"` CloudPoolId int32 `json:"cloud_pool_id,omitempty"` NasPoolId int32 `json:"nas_pool_id,omitempty"` }
type TaskSourceUp ¶
type TaskSourceUp struct { FileId int32 `json:"file_id,omitempty"` FilePath string `json:"file_path,omitempty"` ImportFileId int32 `json:"import_file_id,omitempty"` ImportFilePath string `json:"import_file_path,omitempty"` TapeId int32 `json:"tape_id,omitempty"` TapeBarcode string `json:"tape_barcode,omitempty"` TapePoolId int32 `json:"tape_pool_id,omitempty"` TapePoolName string `json:"tape_pool_name,omitempty"` CloudPoolId int32 `json:"cloud_pool_id,omitempty"` CloudPoolName string `json:"cloud_pool_name,omitempty"` NasPoolId int32 `json:"nas_pool_id,omitempty"` NasPoolName string `json:"nas_pool_name,omitempty"` }
type TaskSourcesApiService ¶
type TaskSourcesApiService service
func (*TaskSourcesApiService) CreateTaskSource ¶
func (a *TaskSourcesApiService) CreateTaskSource(ctx context.Context, taskId string, taskSourceBody TaskSourceUp) (TaskSourceDown, *http.Response, error)
TaskSourcesApiService Creates a new task source. **API Key Scope**: task_sources / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskSourceBody
@return TaskSourceDown
func (*TaskSourcesApiService) DestroyTaskSource ¶
func (a *TaskSourcesApiService) DestroyTaskSource(ctx context.Context, taskId string, taskSourceId int32) (*http.Response, error)
TaskSourcesApiService Destroys a specific task source. **API Key Scope**: task_sources / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskSourceId Numeric ID of task source.
func (*TaskSourcesApiService) IndexTaskSources ¶
func (a *TaskSourcesApiService) IndexTaskSources(ctx context.Context, taskId string, localVarOptionals *IndexTaskSourcesOpts) (TaskSourceCollection, *http.Response, error)
func (*TaskSourcesApiService) ShowTaskSource ¶
func (a *TaskSourcesApiService) ShowTaskSource(ctx context.Context, taskId string, taskSourceId int32) (TaskSourceDown, *http.Response, error)
TaskSourcesApiService Displays a specific task source. **API Key Scope**: task_sources / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskSourceId Numeric ID of task source.
@return TaskSourceDown
func (*TaskSourcesApiService) UpdateTaskSource ¶
func (a *TaskSourcesApiService) UpdateTaskSource(ctx context.Context, taskId string, taskSourceId int32, taskSourceBody TaskSourceUp) (TaskSourceDown, *http.Response, error)
TaskSourcesApiService Updates a specific task source. **API Key Scope**: task_sources / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskSourceId Numeric ID of task source.
- @param taskSourceBody
@return TaskSourceDown
type TasksApiService ¶
type TasksApiService service
func (*TasksApiService) CreateTask ¶
func (a *TasksApiService) CreateTask(ctx context.Context, taskBody Task) (Task, *http.Response, error)
TasksApiService Creates a new task. **API Key Scope**: tasks / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskBody
@return Task
func (*TasksApiService) DestroyTask ¶
TasksApiService Destroys a specific task. **API Key Scope**: tasks / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
func (*TasksApiService) IndexTasks ¶
func (a *TasksApiService) IndexTasks(ctx context.Context, localVarOptionals *IndexTasksOpts) (TaskCollection, *http.Response, error)
func (*TasksApiService) ShowTask ¶
func (a *TasksApiService) ShowTask(ctx context.Context, taskId string) (Task, *http.Response, error)
TasksApiService Displays a specific task. **API Key Scope**: tasks / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
@return Task
func (*TasksApiService) UpdateTask ¶
func (a *TasksApiService) UpdateTask(ctx context.Context, taskId string, taskBody Task) (Task, *http.Response, error)
TasksApiService Updates a specific task. **API Key Scope**: tasks / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param taskId Numeric ID or name of task. Task names are not unique, it's recommanded to use numeric ID.
- @param taskBody
@return Task
type TestResultNasShareOpts ¶
type TestResultNasShareOpts struct {
}type TooLong ¶
type TooLong struct { Error_ string `json:"error"` // Expected maximum length Count int32 `json:"count,omitempty"` }
Attribute is too long (maximum is %{count} characters)
type TooShort ¶
type TooShort struct { Error_ string `json:"error"` // Expected minimum length Count int32 `json:"count,omitempty"` }
Attribute is too short (minimum is %{count} characters)
type UsersApiService ¶
type UsersApiService service
func (*UsersApiService) CreateApiKey ¶
func (a *UsersApiService) CreateApiKey(ctx context.Context, apiKeyBody ApiKeyFull) (ApiKeyFull, *http.Response, error)
UsersApiService Creates a new API Key for current user. **API Key Scope**: api_keys / create
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param apiKeyBody
@return ApiKeyFull
func (*UsersApiService) DestroyApiKey ¶
func (a *UsersApiService) DestroyApiKey(ctx context.Context, apiKeyId int32) (*http.Response, error)
UsersApiService Destroys a specific API Key. **API Key Scope**: api_keys / destroy
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param apiKeyId Numeric ID of API Key.
func (*UsersApiService) IndexApiKeys ¶
func (a *UsersApiService) IndexApiKeys(ctx context.Context, localVarOptionals *IndexApiKeysOpts) (ApiKeyCollection, *http.Response, error)
func (*UsersApiService) ShowApiKey ¶
func (a *UsersApiService) ShowApiKey(ctx context.Context, apiKeyId int32) (ApiKeyFull, *http.Response, error)
UsersApiService Displays a specific API Key with its scopes. **API Key Scope**: api_keys / show
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param apiKeyId Numeric ID of API Key.
@return ApiKeyFull
func (*UsersApiService) UpdateApiKey ¶
func (a *UsersApiService) UpdateApiKey(ctx context.Context, apiKeyId int32, apiKeyBody ApiKeyFull) (ApiKeyFull, *http.Response, error)
UsersApiService Updates a specific API Key. **API Key Scope**: api_keys / update
- @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
- @param apiKeyId Numeric ID of API Key.
- @param apiKeyBody
@return ApiKeyFull
Source Files
¶
- api_cloud_buckets.go
- api_cloud_connectors.go
- api_cloud_pools.go
- api_containers.go
- api_files.go
- api_mount_points.go
- api_mounts.go
- api_nas.go
- api_nas_pools.go
- api_nas_shares.go
- api_tape_drives.go
- api_tape_libraries.go
- api_tape_pools.go
- api_tapes.go
- api_task_destinations.go
- api_task_executions.go
- api_task_metadata.go
- api_task_options.go
- api_task_sources.go
- api_tasks.go
- api_users.go
- client.go
- configuration.go
- model_active_job_status.go
- model_api_key.go
- model_api_key_collection.go
- model_api_key_full.go
- model_api_key_scope.go
- model_attribute_error.go
- model_blank.go
- model_cloud_bucket.go
- model_cloud_bucket_collection.go
- model_cloud_bucket_simple_collection.go
- model_cloud_connector.go
- model_cloud_connector_collection.go
- model_cloud_pool.go
- model_cloud_pool_collection.go
- model_cloud_pool_up.go
- model_container.go
- model_container_collection.go
- model_container_privilege.go
- model_container_privilege_collection.go
- model_error.go
- model_frozen.go
- model_greater_than.go
- model_greater_than_or_equal_to.go
- model_import_file.go
- model_invalid.go
- model_less_than.go
- model_less_than_or_equal_to.go
- model_mount_collection.go
- model_mount_info.go
- model_mount_notification.go
- model_mount_point.go
- model_mount_point_collection.go
- model_mount_status.go
- model_nas.go
- model_nas_collection.go
- model_nas_pool.go
- model_nas_pool_collection.go
- model_nas_pool_up.go
- model_nas_share.go
- model_nas_share_collection.go
- model_nodeum_file.go
- model_nodeum_file_collection.go
- model_nodeum_file_with_path.go
- model_occurrence_less_than.go
- model_occurrence_less_than_or_equal_to.go
- model_quota_on_cache.go
- model_taken.go
- model_tape.go
- model_tape_collection.go
- model_tape_drive.go
- model_tape_drive_collection.go
- model_tape_drive_device.go
- model_tape_drive_device_collection.go
- model_tape_library.go
- model_tape_library_collection.go
- model_tape_library_device.go
- model_tape_library_device_collection.go
- model_tape_pool.go
- model_tape_pool_collection.go
- model_tape_pool_up.go
- model_task.go
- model_task_collection.go
- model_task_destination_collection.go
- model_task_destination_down.go
- model_task_destination_up.go
- model_task_execution.go
- model_task_execution_collection.go
- model_task_metadatum.go
- model_task_metadatum_collection.go
- model_task_option.go
- model_task_option_collection.go
- model_task_source_collection.go
- model_task_source_down.go
- model_task_source_up.go
- model_too_long.go
- model_too_short.go
- response.go