Class

com.hashicorp.nomad.scalasdk

ScalaAclTokensApi

Related Doc: package scalasdk

Permalink

class ScalaAclTokensApi extends AnyRef

API for managing ACL tokens, exposing the ACL tokens functionality of the Nomad HTTP API.

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

Instance Constructors

  1. new ScalaAclTokensApi(aclTokensApi: AclTokensApi)

    Permalink

    aclTokensApi

    the underlying Java SDK AclTokensApi

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. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def bootstrap(options: Option[WriteOptions] = None): ServerResponse[AclToken]

    Permalink

    Bootstraps the ACL system and returns the initial management token.

    Bootstraps the ACL system and returns the initial management token.

    options

    options controlling how the request is performed

    See also

    PUT /v1/acl/bootstrap

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def create(token: AclToken, options: Option[WriteOptions] = None): ServerResponse[AclToken]

    Permalink

    Creates an ACL token, returning a token with a server-assigned accessor ID and secret ID.

    Creates an ACL token, returning a token with a server-assigned accessor ID and secret ID.

    token

    a token with no accessor ID

    options

    options controlling how the request is performed

    See also

    PUT /v1/acl/token

  8. def delete(accessorId: String, options: Option[WriteOptions] = None): ServerResponse[Void]

    Permalink

    Deletes an ACL token.

    Deletes an ACL token.

    accessorId

    accessorId of the token to delete

    options

    options controlling how the request is performed

    See also

    DELETE /v1/acl/token/:accessor_id

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  14. def info(accessorId: String, options: Option[ScalaQueryOptions[AclToken]] = None): ServerQueryResponse[AclToken]

    Permalink

    Retrieves an ACL token.

    Retrieves an ACL token.

    accessorId

    accessor ID of the token.

    options

    options controlling how the request is performed

    See also

    GET /v1/acl/token/:accessor_id

  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def list(accessorIdPrefix: Option[String] = None, options: Option[ScalaQueryOptions[Seq[AclTokenListStub]]] = None): ServerQueryResponse[Seq[AclTokenListStub]]

    Permalink

    Lists ACL tokens.

    Lists ACL tokens.

    accessorIdPrefix

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

    options

    options controlling how the request is performed

    See also

    GET /v1/acl/tokens

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

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def self(options: Option[ScalaQueryOptions[AclToken]] = None): ServerQueryResponse[AclToken]

    Permalink

    Retrieves the ACL token currently being used.

    Retrieves the ACL token currently being used.

    options

    options controlling how the request is performed

    See also

    GET /v1/acl/token/self

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. def update(token: AclToken, options: Option[WriteOptions] = None): ServerResponse[AclToken]

    Permalink

    Updates an ACL token.

    Updates an ACL token.

    token

    a token with with an accessor ID

    options

    options controlling how the request is performed

    See also

    PUT /v1/acl/token/:accessor_id

  24. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped