Class/Object

me.jeffshaw.digitalocean

DigitalOceanClient

Related Docs: object DigitalOceanClient | package digitalocean

Permalink

case class DigitalOceanClient(token: String, maxWaitPerRequest: Duration, actionCheckInterval: Duration)(implicit client: AsyncHttpClient) extends DelayedFuture with Product with Serializable

token

Your API token.

maxWaitPerRequest

The maximum amount of time the client should wait for a response before assuming the service is down.

actionCheckInterval

The amount of time to wait between checks for an action to complete.

Linear Supertypes
Serializable, Serializable, Product, Equals, DelayedFuture, Closeable, AutoCloseable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DigitalOceanClient
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. DelayedFuture
  7. Closeable
  8. AutoCloseable
  9. AnyRef
  10. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new DigitalOceanClient(token: String, maxWaitPerRequest: Duration, actionCheckInterval: Duration)(implicit client: AsyncHttpClient)

    Permalink

    token

    Your API token.

    maxWaitPerRequest

    The maximum amount of time the client should wait for a response before assuming the service is down.

    actionCheckInterval

    The amount of time to wait between checks for an action to complete.

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. val actionCheckInterval: Duration

    Permalink

    The amount of time to wait between checks for an action to complete.

  5. def after[T](delay: Duration)(future: ⇒ Future[T]): Future[T]

    Permalink
    Attributes
    protected
    Definition Classes
    DelayedFuture
  6. final def asInstanceOf[T0]: T0

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

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

    Permalink
    Definition Classes
    DelayedFuture → Closeable → AutoCloseable
  9. def createRequest(path: Seq[String], queryParameters: Map[String, Seq[String]] = Map.empty): RequestBuilder

    Permalink
  10. def delete(path: Seq[String], maybeMessage: Option[JValue] = None, queryParameters: Map[String, Seq[String]] = Map.empty)(implicit ec: ExecutionContext): Future[Unit]

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

    Permalink
    Definition Classes
    AnyRef
  12. def exists(path: Seq[String], queryParameters: Map[String, Seq[String]] = Map.empty)(implicit ec: ExecutionContext): Future[Boolean]

    Permalink
  13. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. def get[T](path: Seq[String], queryParameters: Map[String, Seq[String]] = Map.empty)(implicit arg0: Manifest[T], ec: ExecutionContext): Future[T]

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

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

    Permalink
    Definition Classes
    Any
  17. val maxWaitPerRequest: Duration

    Permalink

    The maximum amount of time the client should wait for a response before assuming the service is down.

  18. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  21. def post[T](path: Seq[String], message: JValue, queryParameters: Map[String, Seq[String]] = Map.empty)(implicit arg0: Manifest[T], ec: ExecutionContext): Future[T]

    Permalink
  22. def postWithEmptyResponse(path: Seq[String], message: JValue, queryParameters: Map[String, Seq[String]] = Map.empty)(implicit ec: ExecutionContext): Future[Unit]

    Permalink
  23. def put[T](path: Seq[String], message: JValue, queryParameters: Map[String, Seq[String]] = Map.empty)(implicit arg0: Manifest[T], ec: ExecutionContext): Future[T]

    Permalink
  24. def sleep(duration: Duration): Future[Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    DelayedFuture
  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from DelayedFuture

Inherited from Closeable

Inherited from AutoCloseable

Inherited from AnyRef

Inherited from Any

Ungrouped