Packages

class ReposerverHttpClient extends TracingHttpClient with ReposerverClient

Linear Supertypes
ReposerverClient, TracingHttpClient, ServiceHttpClient, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ReposerverHttpClient
  2. ReposerverClient
  3. TracingHttpClient
  4. ServiceHttpClient
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new ReposerverHttpClient(reposerverUri: Uri, httpClient: (HttpRequest) => Future[HttpResponse], authHeaders: Option[HttpHeader] = None)(implicit ec: ExecutionContext, system: ActorSystem, tracing: ServerRequestTracing)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def ReposerverError(msg: String): RawError
    Attributes
    protected
    Definition Classes
    ReposerverClient
  5. 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]
  6. def addTargetFromContent(namespace: Namespace, fileName: String, length: Int, targetFormat: TargetFormat, content: Source[ByteString, Any], name: TargetName, version: TargetVersion, hardwareIds: Seq[HardwareIdentifier]): Future[Unit]
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
  9. def createOrUpdateRemoteDelegation(namespace: Namespace, delegatedRoleName: DelegatedRoleName, uri: Uri, remoteHeaders: Option[Map[String, String]], friendlyName: Option[DelegationFriendlyName]): Future[Unit]
  10. def createRoot(namespace: Namespace, keyType: KeyType): Future[RepoId]
  11. def deleteTarget(namespace: Namespace, targetFilename: TargetFilename): Future[Unit]
  12. def deleteTrustedDelegation(namespace: Namespace, delegatedRoleName: DelegatedRoleName): Future[Unit]
  13. def editTarget(namespace: Namespace, targetFilename: TargetFilename, uri: Option[URI] = None, hardwareIds: Seq[HardwareIdentifier] = Seq.empty, proprietaryMeta: Option[Json] = None): Future[ClientTargetItem]
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  16. def execHttpFull[T](request: HttpRequest)(implicit arg0: ClassTag[T], um: FromEntityUnmarshaller[T]): Future[Either[RemoteServiceError, ServiceHttpFullResponse[T]]]
    Attributes
    protected
    Definition Classes
    ServiceHttpClient
  17. def execHttpFullWithNamespace[T](namespace: Namespace, request: HttpRequest)(implicit ct: ClassTag[T], ev: FromEntityUnmarshaller[T]): Future[ServiceHttpFullResponseEither[T]]
    Attributes
    protected
    Definition Classes
    ReposerverHttpClient → ServiceHttpClient
  18. def execHttpUnmarshalled[T](request: HttpRequest)(implicit arg0: ClassTag[T], um: FromEntityUnmarshaller[T]): Future[Either[RemoteServiceError, T]]
    Attributes
    protected
    Definition Classes
    ServiceHttpClient
  19. def execHttpUnmarshalledWithNamespace[T](namespace: Namespace, request: HttpRequest)(implicit arg0: ClassTag[T], arg1: FromEntityUnmarshaller[T]): Future[Either[RemoteServiceError, T]]
    Attributes
    protected
    Definition Classes
    ServiceHttpClient
  20. def execJsonHttp[Res, Req](request: HttpRequest, entity: Req)(implicit arg0: ClassTag[Res], arg1: FromEntityUnmarshaller[Res], arg2: Encoder[Req]): Future[Either[RemoteServiceError, Res]]
    Attributes
    protected
    Definition Classes
    ServiceHttpClient
  21. def execJsonHttpWithNamespace[Res, Req](ns: Namespace, request: HttpRequest, entity: Req)(implicit arg0: ClassTag[Res], arg1: FromEntityUnmarshaller[Res], arg2: Encoder[Req]): Future[Either[RemoteServiceError, Res]]
    Attributes
    protected
    Definition Classes
    ServiceHttpClient
  22. def fetchDelegationMetadata(namespace: Namespace, roleName: String): Future[JsonSignedPayload]
  23. def fetchDelegationsInfo(namespace: Namespace): Future[Map[DelegatedRoleName, DelegationInfo]]
  24. def fetchRoot(namespace: Namespace, version: Option[Int]): Future[(RepoId, SignedPayload[RootRole])]
  25. def fetchSingleTargetComments(namespace: Namespace, targetFilename: TargetFilename): Future[FilenameComment]
  26. def fetchSnapshotMetadata(namespace: Namespace): Future[JsonSignedPayload]
  27. def fetchTargetContent(namespace: Namespace, targetFilename: TargetFilename): Future[HttpResponse]
  28. def fetchTargets(namespace: Namespace): Future[SignedPayload[TargetsRole]]
  29. def fetchTargetsComments(namespace: Namespace, targetNameContains: Option[String], offset: Option[Long], limit: Option[Long]): Future[PaginationResult[FilenameComment]]
  30. def fetchTargetsCommentsByFilename(namespace: Namespace, filenames: Seq[TargetFilename]): Future[Seq[FilenameComment]]
  31. def fetchTimestampMetadata(namespace: Namespace): Future[JsonSignedPayload]
  32. def fetchTrustedDelegations(namespace: Namespace): Future[List[Delegation]]
  33. def fetchTrustedDelegationsKeys(namespace: Namespace): Future[List[TufKey]]
  34. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  35. def hardwareIdsWithPackages(namespace: Namespace): Future[PaginationResult[HardwareIdentifier]]
  36. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @IntrinsicCandidate() @native()
  37. def httpClient: (HttpRequest) => Future[HttpResponse]
    Definition Classes
    TracingHttpClient → ServiceHttpClient
  38. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  39. val log: Logger
  40. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  41. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  42. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @IntrinsicCandidate() @native()
  43. def refreshDelegatedRole(namespace: Namespace, fileName: DelegatedRoleName): Future[Unit]
  44. def repoExists(namespace: Namespace)(implicit ec: ExecutionContext): Future[Boolean]
    Definition Classes
    ReposerverClient
  45. def rotateRoot(namespace: Namespace): Future[Unit]
  46. def searchSingleTargetV2(namespace: Namespace, filename: TargetFilename, origin: Option[String], originNot: Option[String]): Future[ClientPackage]
  47. 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]]
  48. def searchTargetsV2(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[TargetItemsSort], sortDirection: Option[SortDirection]): Future[PaginationResult[ClientPackage]]
  49. def setTargetComments(namespace: Namespace, targetFilename: TargetFilename, comment: String): Future[Unit]
  50. def setTargetsMetadataExpiration(namespace: Namespace, expiry: Instant): Future[Unit]
  51. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  52. def targetExists(namespace: Namespace, targetFilename: TargetFilename): Future[Boolean]
  53. def toString(): String
    Definition Classes
    AnyRef → Any
  54. implicit val unitFromEntityUnmarshaller: FromEntityUnmarshaller[Unit]
    Attributes
    protected
    Definition Classes
    ServiceHttpClient
  55. def updateDelegationFriendlyName(namespace: Namespace, delegatedRoleName: DelegatedRoleName, name: DelegationFriendlyName): Future[Unit]
  56. def updateTrustedDelegations(namespace: Namespace, trustedDelegations: List[Delegation]): Future[Unit]
  57. def updateTrustedDelegationsKeys(namespace: Namespace, keys: List[TufKey]): Future[Unit]
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

Inherited from ReposerverClient

Inherited from TracingHttpClient

Inherited from ServiceHttpClient

Inherited from AnyRef

Inherited from Any

Ungrouped