Class

com.hashicorp.nomad.scalasdk

ScalaEvaluationsApi

Related Doc: package scalasdk

Permalink

class ScalaEvaluationsApi extends AnyRef

API for querying for information about evaluations, exposing the functionality of the /v1/evaluations and /v1/evaluation endpoints of the Nomad HTTP API.

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

Instance Constructors

  1. new ScalaEvaluationsApi(evaluationsApi: EvaluationsApi)

    Permalink

    evaluationsApi

    the underlying API from the Java SDK

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. def allocations(evaluationId: String, options: Option[ScalaQueryOptions[Seq[AllocationListStub]]] = None): ServerQueryResponse[Seq[AllocationListStub]]

    Permalink

    Lists allocations created or modified an evaluation in the active region.

    Lists allocations created or modified an evaluation in the active region.

    evaluationId

    ID of the evaluation that created or modified the allocations

    options

    options controlling how the request is performed

    See also

    GET /v1/evaluation/<ID>/allocations

  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. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  10. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. def info(evaluationId: String, options: Option[ScalaQueryOptions[Evaluation]] = None): ServerQueryResponse[Evaluation]

    Permalink

    Queries an evaluation in the active region.

    Queries an evaluation in the active region.

    evaluationId

    ID of the evaluation to lookup

    options

    options controlling how the request is performed

    See also

    GET /v1/evaluation/{ID}

  13. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  14. def list(evaluationIdPrefix: Option[String], options: Option[ScalaQueryOptions[Seq[Evaluation]]] = None): ServerQueryResponse[Seq[Evaluation]]

    Permalink

    Lists evaluations in the active region.

    Lists evaluations in the active region.

    evaluationIdPrefix

    an even-length prefix that, if given, restricts the results to only evaluations having an ID with this prefix

    options

    options controlling how the request is performed

    See also

    GET /v1/evaluations

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. def pollForCompletion(evaluation: EvaluationResponse, waitStrategy: WaitStrategy): ServerQueryResponse[Evaluation]

    Permalink

    Poll the server until an evaluation has completed.

    Poll the server until an evaluation has completed.

    evaluation

    an EvaluationResponse containing the ID of the evaluation to poll for

    waitStrategy

    the wait strategy to use during polling

  19. def pollForCompletion(evaluationId: String, waitStrategy: WaitStrategy): ServerQueryResponse[Evaluation]

    Permalink

    Poll the server until an evaluation has completed.

    Poll the server until an evaluation has completed.

    evaluationId

    ID of the evaluation to poll for

    waitStrategy

    the wait strategy to use during polling

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  22. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped