Expand description
consul
This crate provides access to a set of strongly typed apis to interact with consul (https://www.consul.io/)
Re-exports§
Modules§
- acl
- Access Control List(acl) to control authentication and authorization
- acl_
types - Types for acl related operations
- types
- The strongly typed data structures representing canonical consul objects.
Structs§
- Config
- The config necessary to create a new consul client.
- Consul
- This struct defines the consul client and allows access to the consul api via method syntax.
- Consul
Builder - This struct defines a builder for the consul client This allows a Consul client to be built using a custom HTTPS client
- Lock
- Represents a lock against Consul. The lifetime of this object defines the validity of the lock against consul. When the object is dropped, the lock is attempted to be released for the next consumer.
Enums§
- Consul
Error - The error type returned from all calls into this crate.
- Function
- The functions supported by the consul client.
- Http
Method - The HTTP methods supported by the consul API.
Type Aliases§
- Https
Client - Type alias for a Hyper client using a hyper_rusttls HttpsConnector