Module catalog

Module catalog 

Source
Expand description

Contains structures to interact with the catalog API

See https://developer.hashicorp.com/consul/api-docs/catalog for the full definition of the API.

Structs§

CatalogNode
Full node info, as specified in response to “retrieve map of services for a node” API call in https://developer.hashicorp.com/consul/api-docs/catalog#retrieve-map-of-services-for-a-node
HealthCheck
A health check as returned in HealthServiceNode
HealthServiceNode
Node serving a service with health info, as specified in response to “list service instances for a service” health API call in https://developer.hashicorp.com/consul/api-docs/health#list-service-instances-for-service
Node
Node summary, as specified in response to “list nodes” API calls in https://developer.hashicorp.com/consul/api-docs/catalog#list-nodes
Service
One of the services returned in a CatalogNode
ServiceNode
Node serving a service, as specified in response to “list nodes for a service” API call in https://developer.hashicorp.com/consul/api-docs/catalog#list-nodes-for-service

Type Aliases§

AllServiceHealth
Map containing all services and their associated nodes, with health checks, returned by watch_all_service_health
ServiceList
Concise service list, as specified in response to “list services” API call in https://developer.hashicorp.com/consul/api-docs/catalog#list-services