trait AclCommands[F[_]] extends AclManagement[F] with AclUserManagement[F]
Redis ACL commands (ACL ...).
Note: replies that are decoded into structured results (aclGetUser, aclLog) are read as UTF-8 text and therefore
assume the connection uses a string-decoding codec. On a connection whose value codec produces non-string values
(e.g. Array[Byte]), those two commands fail with an AclError.DecodingFailure rather than returning a partial
result.
- Source
- acl.scala
- Alphabetic
- By Inheritance
- AclCommands
- AclUserManagement
- AclManagement
- AnyRef
- Any
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def aclCat(category: AclCategory): F[Set[String]]
ACL CAT <category>— the command names in the given category (lowercase).ACL CAT <category>— the command names in the given category (lowercase).- Definition Classes
- AclManagement
- abstract def aclCat: F[Set[AclCategory]]
ACL CAT— the available command categories.ACL CAT— the available command categories.- Definition Classes
- AclManagement
- abstract def aclDelUser(username: String, usernames: String*): F[Long]
ACL DELUSER <username...>— delete the given users, returning the number actually deleted.ACL DELUSER <username...>— delete the given users, returning the number actually deleted.- Definition Classes
- AclUserManagement
- abstract def aclGenPass(bits: Int): F[String]
ACL GENPASS <bits>— a pseudorandom password with the given number of bits of entropy.ACL GENPASS <bits>— a pseudorandom password with the given number of bits of entropy.- Definition Classes
- AclManagement
- abstract def aclGenPass: F[String]
ACL GENPASS— a 256-bit pseudorandom password as a 64-char hex string.ACL GENPASS— a 256-bit pseudorandom password as a 64-char hex string.- Definition Classes
- AclManagement
- abstract def aclGetUser(username: String): F[Option[AclUser]]
ACL GETUSER <username>— the user's rules, orNoneif the user does not exist.ACL GETUSER <username>— the user's rules, orNoneif the user does not exist.- Definition Classes
- AclUserManagement
- abstract def aclList: F[List[String]]
ACL LIST— all configured users in the ACL-rules text format.ACL LIST— all configured users in the ACL-rules text format.- Definition Classes
- AclManagement
- abstract def aclLoad: F[Unit]
ACL LOAD— reload the ACLs from the configured ACL file.ACL LOAD— reload the ACLs from the configured ACL file.- Definition Classes
- AclManagement
- abstract def aclLog(count: Int): F[List[Map[String, String]]]
ACL LOG <count>— the most recentcountACL security events.ACL LOG <count>— the most recentcountACL security events.- Definition Classes
- AclManagement
- abstract def aclLog: F[List[Map[String, String]]]
ACL LOG— recent ACL security events, each as a field/value map.ACL LOG— recent ACL security events, each as a field/value map.- Definition Classes
- AclManagement
- abstract def aclLogReset: F[Unit]
ACL LOG RESET— clear the ACL log.ACL LOG RESET— clear the ACL log.- Definition Classes
- AclManagement
- abstract def aclSave: F[Unit]
ACL SAVE— save the current ACLs to the configured ACL file.ACL SAVE— save the current ACLs to the configured ACL file.- Definition Classes
- AclManagement
- abstract def aclSetUser(username: String, rules: List[AclSetUserRule]): F[Unit]
ACL SETUSER <username> <rules...>— create or modify a user, applyingrulesin order.ACL SETUSER <username> <rules...>— create or modify a user, applyingrulesin order.- Definition Classes
- AclUserManagement
- abstract def aclUsers: F[List[String]]
ACL USERS— the usernames of all configured users.ACL USERS— the usernames of all configured users.- Definition Classes
- AclUserManagement
- abstract def aclWhoAmI: F[String]
ACL WHOAMI— the username of the current connection.ACL WHOAMI— the username of the current connection.- Definition Classes
- AclManagement
Concrete Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from AclCommands[F] toany2stringadd[AclCommands[F]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ->[B](y: B): (AclCommands[F], B)
- Implicit
- This member is added by an implicit conversion from AclCommands[F] toArrowAssoc[AclCommands[F]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @IntrinsicCandidate() @native()
- def ensuring(cond: (AclCommands[F]) => Boolean, msg: => Any): AclCommands[F]
- Implicit
- This member is added by an implicit conversion from AclCommands[F] toEnsuring[AclCommands[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (AclCommands[F]) => Boolean): AclCommands[F]
- Implicit
- This member is added by an implicit conversion from AclCommands[F] toEnsuring[AclCommands[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): AclCommands[F]
- Implicit
- This member is added by an implicit conversion from AclCommands[F] toEnsuring[AclCommands[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): AclCommands[F]
- Implicit
- This member is added by an implicit conversion from AclCommands[F] toEnsuring[AclCommands[F]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @IntrinsicCandidate() @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @IntrinsicCandidate() @native()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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])
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated
(Since version 9)
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from AclCommands[F] toStringFormat[AclCommands[F]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.
- def →[B](y: B): (AclCommands[F], B)
- Implicit
- This member is added by an implicit conversion from AclCommands[F] toArrowAssoc[AclCommands[F]] 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.
This is the API documentation for the Redis4Cats library.