Liking cljdoc? Tell your friends :D
Clojure only.

consul.proto.acl

Interface to com.orbitz.consul.AclClient.

Interface to com.orbitz.consul.AclClient.
raw docstring

IAclcljprotocol

acl-infoclj

(acl-info this id)

Fetch info about an ACL. The argument is the ID of the ACL. Returns a list of maps giving the ACL info.

Fetch info about an ACL. The argument is the ID of the ACL. Returns a list of maps giving the ACL info.

clone-aclclj

(clone-acl this id)

Clone an ACL. The argument is the ID of the ACL, and returns the ID of the cloned ACL.

Clone an ACL. The argument is the ID of the ACL, and returns the ID of the cloned ACL.

create-aclclj

(create-acl this args)

Create an ACL. Returns info about the new ACL.

args can either be a instance of com.orbitz.consul.model.acl.AclToken, or a map containing keys:

  • :id The ID of the ACL, a string.
  • :name The name of the ACL, a string.
  • :type The type of the ACL, a string.
  • :rules The rules of the ACL, a string.
Create an ACL. Returns info about the new ACL.

args can either be a instance of com.orbitz.consul.model.acl.AclToken, or a map
containing keys:

* :id    The ID of the ACL, a string.
* :name  The name of the ACL, a string.
* :type  The type of the ACL, a string.
* :rules The rules of the ACL, a string.

destroy-aclclj

(destroy-acl this id)

Destroy an ACL. The argument is the ID of the ACL.

Destroy an ACL. The argument is the ID of the ACL.

list-aclsclj

(list-acls this)

List all ACLs. Returns a list of maps giving the ACLs.

List all ACLs. Returns a list of maps giving the ACLs.

update-aclclj

(update-acl this args)

Update an ACL. Takes the same arguments as create-acl.

Update an ACL. Takes the same arguments as create-acl.
source

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close