Class

skuber.api.client

RequestContext

Related Doc: package client

Permalink

class RequestContext extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RequestContext
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RequestContext(requestMaker: (Uri, HttpMethod) ⇒ HttpRequest, requestInvoker: (HttpRequest) ⇒ Future[HttpResponse], clusterServer: String, requestAuth: RequestAuth, namespaceName: String, logConfig: LoggingConfig, closeHook: Option[() ⇒ Unit])(implicit actorSystem: ActorSystem, materializer: Materializer, executionContext: ExecutionContext)

    Permalink

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. implicit val actorSystem: ActorSystem

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def close: Unit

    Permalink
  8. val closeHook: Option[() ⇒ Unit]

    Permalink
  9. val clusterServer: String

    Permalink
  10. def create[O <: ObjectResource](obj: O)(implicit fmt: Format[O], rd: ResourceDefinition[O], lc: LoggingContext = RequestLoggingContext()): Future[O]

    Permalink
  11. def delete[O <: ObjectResource](name: String, gracePeriodSeconds: Int = 1)(implicit rd: ResourceDefinition[O], lc: LoggingContext = RequestLoggingContext()): Future[Unit]

    Permalink
  12. def deleteWithOptions[O <: ObjectResource](name: String, options: DeleteOptions)(implicit rd: ResourceDefinition[O], lc: LoggingContext = RequestLoggingContext()): Future[Unit]

    Permalink
  13. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  15. implicit val executionContext: ExecutionContext

    Permalink
  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def get[O <: ObjectResource](name: String)(implicit fmt: Format[O], rd: ResourceDefinition[O], lc: LoggingContext = RequestLoggingContext()): Future[O]

    Permalink
  18. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  19. def getInNamespace[O <: ObjectResource](name: String, namespace: String)(implicit fmt: Format[O], rd: ResourceDefinition[O], lc: LoggingContext = RequestLoggingContext()): Future[O]

    Permalink
  20. def getNamespaceNames(implicit lc: LoggingContext = RequestLoggingContext()): Future[List[String]]

    Permalink
  21. def getOption[O <: ObjectResource](name: String)(implicit fmt: Format[O], rd: ResourceDefinition[O], lc: LoggingContext = RequestLoggingContext()): Future[Option[O]]

    Permalink
  22. def getScale[O <: ObjectResource](objName: String)(implicit rd: ResourceDefinition[O], sc: SubresourceSpec[O], lc: LoggingContext = RequestLoggingContext()): Future[Scale]

    Permalink
  23. def getServerAPIVersions(implicit lc: LoggingContext = RequestLoggingContext()): Future[List[String]]

    Permalink
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def jsonMergePatch[O <: ObjectResource](obj: O, patch: String)(implicit rd: ResourceDefinition[O], fmt: Format[O], lc: LoggingContext = RequestLoggingContext()): Future[O]

    Permalink

    Perform a Json merge patch on a resource The patch is passed a String type which should contain the JSON patch formatted per https://tools.ietf.org/html/rfc7386 It is a String type instead of a JSON object in order to allow clients to use their own favourite JSON library to create the patch, or alternatively to simply manually craft the JSON and insert it into a String.

    Perform a Json merge patch on a resource The patch is passed a String type which should contain the JSON patch formatted per https://tools.ietf.org/html/rfc7386 It is a String type instead of a JSON object in order to allow clients to use their own favourite JSON library to create the patch, or alternatively to simply manually craft the JSON and insert it into a String. Also patches are generally expected to be relatively small, so storing the whole patch in memory should not be problematic. It is thus the responsibility of the client to ensure that the patch parameter contains a valid JSON merge patch entity for the targetted Kubernetes resource obj

    obj

    The resource to update with the patch

    patch

    A string containing the JSON patch entity

    returns

    The patched resource (in a Future)

  27. def list[L <: ListResource[_]]()(implicit fmt: Format[L], rd: ResourceDefinition[L], lc: LoggingContext = RequestLoggingContext()): Future[L]

    Permalink
  28. def listByNamespace[L <: ListResource[_]]()(implicit fmt: Format[L], rd: ResourceDefinition[L], lc: LoggingContext = RequestLoggingContext()): Future[Map[String, L]]

    Permalink
  29. def listInNamespace[L <: ListResource[_]](theNamespace: String)(implicit fmt: Format[L], rd: ResourceDefinition[L], lc: LoggingContext = RequestLoggingContext()): Future[L]

    Permalink
  30. def listSelected[L <: ListResource[_]](labelSelector: LabelSelector)(implicit fmt: Format[L], rd: ResourceDefinition[L], lc: LoggingContext = RequestLoggingContext()): Future[L]

    Permalink
  31. val log: LoggingAdapter

    Permalink
  32. val logConfig: LoggingConfig

    Permalink
  33. implicit val materializer: Materializer

    Permalink
  34. val namespaceName: String

    Permalink
  35. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. val requestAuth: RequestAuth

    Permalink
  39. val requestInvoker: (HttpRequest) ⇒ Future[HttpResponse]

    Permalink
  40. val requestMaker: (Uri, HttpMethod) ⇒ HttpRequest

    Permalink
  41. def scale[O <: ObjectResource](objName: String, count: Int)(implicit rd: ResourceDefinition[O], sc: SubresourceSpec[O], lc: LoggingContext = RequestLoggingContext()): Future[Scale]

    Permalink
  42. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  43. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  44. def update[O <: ObjectResource](obj: O)(implicit fmt: Format[O], rd: ResourceDefinition[O], lc: LoggingContext = RequestLoggingContext()): Future[O]

    Permalink
  45. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  47. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  48. def watch[O <: ObjectResource](name: String, sinceResourceVersion: Option[String] = None, bufSize: Int = 10000)(implicit fmt: Format[O], rd: ResourceDefinition[O], lc: LoggingContext = RequestLoggingContext()): Future[Source[WatchEvent[O], _]]

    Permalink
  49. def watch[O <: ObjectResource](obj: O)(implicit fmt: Format[O], rd: ResourceDefinition[O]): Future[Source[WatchEvent[O], _]]

    Permalink
  50. def watchAll[O <: ObjectResource](sinceResourceVersion: Option[String] = None, bufSize: Int = 10000)(implicit fmt: Format[O], rd: ResourceDefinition[O], lc: LoggingContext = RequestLoggingContext()): Future[Source[WatchEvent[O], _]]

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped