Class/Object

com.hashicorp.nomad.scalasdk

NomadScalaApi

Related Docs: object NomadScalaApi | package scalasdk

Permalink

class NomadScalaApi extends AnyRef

An API for interacting with Nomad in Scala.

The Scala API is a wrapper for the NomadApiClient from the Nomad Java SDK that provides more Scala friendly types for convenient use from Scala.

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

Instance Constructors

  1. new NomadScalaApi(apiClient: NomadApiClient)

    Permalink

    apiClient

    the underlying API client from the Nomad 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 agent: ScalaAgentApi

    Permalink

    Returns an API for agent a cluster management.

  5. def allocations: ScalaAllocationsApi

    Permalink

    Returns an API for querying information about allocations.

  6. val apiClient: NomadApiClient

    Permalink

    the underlying API client from the Nomad Java SDK

  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def client(clientAddress: HttpHost): ScalaClientApi

    Permalink

    Returns an API for interacting directly with a client node.

    Returns an API for interacting directly with a client node.

    clientAddress

    the HTTP or HTTPS address of the client node

  9. def client(node: Node): ScalaClientApi

    Permalink

    Returns an API for interacting directly with a client node.

    Returns an API for interacting directly with a client node.

    node

    the client node to connect to

  10. def clone(): AnyRef

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

    Permalink

    Closes the underlying NomadApiClient's HTTP client.

  12. def config: NomadApiConfiguration

    Permalink

    Returns the API's configuration

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def evaluations: ScalaEvaluationsApi

    Permalink

    Returns an API for querying information about evaluations.

  16. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def getDeploymentsApi: ScalaDeploymentsApi

    Permalink

    Returns an API for managing deployments.

  19. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  21. def jobs: ScalaJobsApi

    Permalink

    Returns an API for submitting and managing jobs.

  22. def lookupClientApiByNodeId(nodeId: String): ScalaClientApi

    Permalink

    Returns an API for interacting directly with a client node after looking up its address.

    Returns an API for interacting directly with a client node after looking up its address.

    nodeId

    the nodeId of the client node to connect to

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

    Permalink
    Definition Classes
    AnyRef
  24. def nodes: ScalaNodesApi

    Permalink

    Returns an API for querying information about the client nodes in the Nomad cluster.

  25. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  27. def operatorApi: ScalaOperatorApi

    Permalink

    Returns an API for operating the Nomad cluster.

  28. def regions: ScalaRegionsApi

    Permalink

    Returns an API for listing the regions in the Nomad cluster.

  29. def search: ScalaSearchApi

    Permalink

    Returns an API for searching for items in Nomad cluster.

  30. def status: ScalaStatusApi

    Permalink

    Returns an API for querying the status of the Nomad cluster.

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

    Permalink
    Definition Classes
    AnyRef
  32. def system: ScalaSystemApi

    Permalink

    Returns an API for performing system maintenance operations on the Nomad cluster.

  33. def toString(): String

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped