Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Active commands / feature list #80

Open
29 of 41 tasks
davissp14 opened this issue Apr 23, 2017 · 2 comments
Open
29 of 41 tasks

Active commands / feature list #80

davissp14 opened this issue Apr 23, 2017 · 2 comments

Comments

@davissp14
Copy link
Owner

davissp14 commented Apr 23, 2017

Auth

  • auth_enable - Enables authentication
  • auth_disable - Disables authentication

Alarms

  • alarm_deactivate - Disarms all alarms
  • alarm_list - Lists all alarms

Cluster

  • member_add - Adds a member into the cluster
  • member_remove - Removes a member from the cluster
  • member_update - Updates a member in the cluster
  • member_list - Lists all members in the cluster

Keys

  • put - Puts the given key into the store
  • get - Gets the key or a range of keys
  • del - Removes the specified key or range of keys
  • transaction - Txn processes all the requests in one transaction

Leases

  • lease_grant - Creates leases
  • lease_revoke - Revokes leases
  • lease_ttl - Get lease information
  • lease keep-alive - Keeps leases alive (renew)

Maintenance

  • compaction - Compacts the event history in etcd
  • defrag - Defragments the storage of the etcd members with given endpoints
  • hash_kv - HashKV returns a hash of the KV state at the time of the RPC.
  • move_leader - MoveLeader requests current leader to transfer its leadership to the
    transferee. Request must be made to the leader.

Misc.

  • version - Lists the active Etcd version
  • leader_id - Lists the current leader id
  • db_size - Current db size in bytes

Roles

  • role_add - Adds a new role
  • role_delete - Deletes a role
  • role_get - Gets detailed information of a role
  • role_list - Lists all roles
  • role_grant_permission - Grants a key to a role
  • role_revoke_permission - Revokes a key from a role

Snapshots

  • snapshot_save - Stores an etcd node backend snapshot to a given file
  • snapshot_restore - Restores an etcd member snapshot to an etcd directory
  • snapshot_status - Gets backend snapshot status of a given file

Users

  • user_add - Adds a new user
  • user_delete - Deletes a user
  • user get - Gets detailed information of a user
  • user list - Lists all users
  • user_change_password - Changes password of user
  • user_grant_role - Grants a role to a user
  • user_revoke_role - Revokes a role from a user

Watch

  • watch - Watches events stream on keys or prefixes

Lock

  • lock - Distributed lock support
@davissp14 davissp14 mentioned this issue Apr 25, 2017
5 tasks
@hollinwilkins
Copy link

I think we should add distributed lock calls here as well?

https://github.com/kragniz/python-etcd3/pull/33/files

@davissp14
Copy link
Owner Author

Lots of fun features to add:
https://etcd.io/docs/v3.5/dev-guide/api_concurrency_reference_v3/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants