abstract class AliasCRUD[F[_], T <: Alias] extends AnyRef
- Alphabetic
- By Inheritance
- AliasCRUD
- AnyRef
- Any
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Abstract Value Members
- abstract def computeAliasId(name: String, canonicalId: String, mountAccessor: String): F[String]
- Attributes
- protected
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def ->[B](y: B): (AliasCRUD[F, T], B)
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def apply(id: String): F[T]
Gets the alias with the given
id
.Gets the alias with the given
id
.- id
the id of the alias.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def create(name: String, canonicalId: String, mountAccessor: String): F[String]
Creates a new alias for a .
Creates a new alias for a .
- name
name for the alias.
- canonicalId
ID of to which this alias belongs to.
- mountAccessor
mount accessor which this alias belongs to. Can be consulted with:
vaultClient.sys.auth.list().map { mountedAuths => mountedAuths(s"$path/").accessor }
- returns
the id of the created alias.
- Note
this method it not idempotent. If the alias already exists Vault will return NoContent. Unfortunately there is nothing we can do, since we don't know the existing alias id, nor can we update the alias via the name.
- def delete(id: String): F[Unit]
Deletes a alias.
Deletes a alias.
- id
identifier of the alias.
- def ensuring(cond: (AliasCRUD[F, T]) => Boolean, msg: => Any): AliasCRUD[F, T]
- def ensuring(cond: (AliasCRUD[F, T]) => Boolean): AliasCRUD[F, T]
- def ensuring(cond: Boolean, msg: => Any): AliasCRUD[F, T]
- def ensuring(cond: Boolean): AliasCRUD[F, T]
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- def get(id: String): F[Option[T]]
Gets the alias with the given
id
.Gets the alias with the given
id
.- id
the id of the alias.
- returns
if a alias with
id
exists aSome
will be returned.None
otherwise.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val list: F[List[String]]
List aliases by their identifiers.
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- val path: String
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- def update(id: String, name: String, canonicalId: String, mountAccessor: String): F[Unit]
Updates an existing alias.
Updates an existing alias.
- id
ID of the alias.
- name
name of the alias.
- canonicalId
ID of to which this alias belongs to.
- mountAccessor
mount accessor which this alias belongs to.
- val uri: Uri
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
Deprecated Value Members
- def →[B](y: B): (AliasCRUD[F, T], B)
- Implicit
- This member is added by an implicit conversion from AliasCRUD[F, T] toArrowAssoc[AliasCRUD[F, T]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.