trait ReposerverClient extends AnyRef
Linear Supertypes
Known Subclasses
Ordering
- Alphabetic
- By Inheritance
Inherited
- ReposerverClient
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def addTarget(namespace: Namespace, fileName: String, uri: Uri, checksum: Checksum, length: Int, targetFormat: TargetFormat, name: Option[TargetName] = None, version: Option[TargetVersion] = None, hardwareIds: Seq[HardwareIdentifier] = Seq.empty): Future[Unit]
- abstract def addTargetFromContent(namespace: Namespace, fileName: String, length: Int, targetFormat: TargetFormat, content: Source[ByteString, Any], name: TargetName, version: TargetVersion, hardwareIds: Seq[HardwareIdentifier] = Seq.empty): Future[Unit]
- abstract def createOrUpdateRemoteDelegation(namespace: Namespace, delegatedRoleName: DelegatedRoleName, uri: Uri, remoteHeaders: Option[Map[String, String]], friendlyName: Option[DelegationFriendlyName]): Future[Unit]
- abstract def createRoot(namespace: Namespace, keyType: KeyType): Future[RepoId]
- abstract def deleteTarget(namespace: Namespace, targetFilename: TargetFilename): Future[Unit]
- abstract def deleteTrustedDelegation(namespace: Namespace, delegatedRoleName: DelegatedRoleName): Future[Unit]
- abstract def editTarget(namespace: Namespace, targetFilename: TargetFilename, uri: Option[URI] = None, hardwareIds: Seq[HardwareIdentifier] = Seq.empty, proprietaryMeta: Option[Json] = None): Future[ClientTargetItem]
- abstract def fetchDelegationMetadata(namespace: Namespace, roleName: String): Future[JsonSignedPayload]
- abstract def fetchDelegationsInfo(namespace: Namespace): Future[Map[DelegatedRoleName, DelegationInfo]]
- abstract def fetchRoot(namespace: Namespace, version: Option[Int]): Future[(RepoId, SignedPayload[RootRole])]
- abstract def fetchSingleTargetComments(namespace: Namespace, targetFilename: TargetFilename): Future[FilenameComment]
- abstract def fetchSnapshotMetadata(namespace: Namespace): Future[JsonSignedPayload]
- abstract def fetchTargetContent(namespace: Namespace, targetFilename: TargetFilename): Future[HttpResponse]
- abstract def fetchTargets(namespace: Namespace): Future[SignedPayload[TargetsRole]]
- abstract def fetchTargetsComments(namespace: Namespace, targetNameContains: Option[String], offset: Option[Long], limit: Option[Long]): Future[PaginationResult[FilenameComment]]
- abstract def fetchTargetsCommentsByFilename(namespace: Namespace, filenames: Seq[TargetFilename]): Future[Seq[FilenameComment]]
- abstract def fetchTimestampMetadata(namespace: Namespace): Future[JsonSignedPayload]
- abstract def fetchTrustedDelegations(namespace: Namespace): Future[List[Delegation]]
- abstract def fetchTrustedDelegationsKeys(namespace: Namespace): Future[List[TufKey]]
- abstract def hardwareIdsWithPackages(namespace: Namespace): Future[PaginationResult[HardwareIdentifier]]
- abstract def refreshDelegatedRole(namespace: Namespace, fileName: DelegatedRoleName): Future[Unit]
- abstract def rotateRoot(namespace: Namespace): Future[Unit]
- abstract def searchSingleTargetV2(namespace: Namespace, filename: TargetFilename, origin: Option[String] = None, originNot: Option[String] = None): Future[ClientPackage]
- abstract def searchTargetsGroupedV2(namespace: Namespace, offset: Option[Long], limit: Option[Long], origins: Seq[String], nameContains: Option[String], name: Option[String], version: Option[String], hardwareIds: Seq[HardwareIdentifier], hashes: Seq[TargetHash], filenames: Seq[Refined[String, ValidTargetFilename]], sortBy: Option[AggregatedTargetItemsSort], sortDirection: Option[SortDirection]): Future[PaginationResult[ClientAggregatedPackage]]
- abstract def searchTargetsV2(namespace: Namespace, offset: Option[Long], limit: Option[Long], origins: Seq[String] = Seq.empty, nameContains: Option[String] = None, name: Option[String] = None, version: Option[String] = None, hardwareIds: Seq[HardwareIdentifier] = Seq.empty, hashes: Seq[TargetHash] = Seq.empty, filenames: Seq[TargetFilename] = Seq.empty, sortBy: Option[TargetItemsSort] = None, sortDirection: Option[SortDirection] = None): Future[PaginationResult[ClientPackage]]
- abstract def setTargetComments(namespace: Namespace, targetFilename: TargetFilename, comment: String): Future[Unit]
- abstract def setTargetsMetadataExpiration(namespace: Namespace, expiry: Instant): Future[Unit]
- abstract def targetExists(namespace: Namespace, targetFilename: TargetFilename): Future[Boolean]
- abstract def updateDelegationFriendlyName(namespace: Namespace, delegatedRoleName: DelegatedRoleName, name: DelegationFriendlyName): Future[Unit]
- abstract def updateTrustedDelegations(namespace: Namespace, trustedDelegations: List[Delegation]): Future[Unit]
- abstract def updateTrustedDelegationsKeys(namespace: Namespace, keys: List[TufKey]): Future[Unit]
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def ReposerverError(msg: String): RawError
- Attributes
- protected
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- def repoExists(namespace: Namespace)(implicit ec: ExecutionContext): Future[Boolean]
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)