Module consul_rs::agent[][src]

Structs

AgentCheck represents a check known to the api

AgentService represents a service known to the agent

AgentServiceCheck is used to define a node or service level check

AgentServiceChecksInfo returns information about a Service and its checks

AgentServiceConnect represents the Connect configuration of a service.

AgentServiceConnectProxyConfig is the proxy configuration in a connect-proxy ServiceDefinition or response.

AgentServiceRegistration is used to register a new service

AgentWeights represent optional weights for a service

Filter

GaugeValue stores one value that is updated as time goes on, such as the amount of memory allocated.

Metrics info is used to store different types of metric values from the agent.

PointValue holds a series of points for a metric.

SERVICE_KIND_CONNECT_PROXY is a proxy for the Connect feature. This service proxies another service within Consul and speaks the connect protocol.

SERVICE_KIND_MESH_GATEWAY is a Mesh Gateway for the Connect feature. This service will proxy connections based off the SNI header set by other connect proxies

SERVICE_KIND_TERMINATING_GATEWAY is a Terminating Gateway for the Connect feature. This service will proxy connections to services outside the mesh.

SERVICE_KIND_TYPICAL is a typical, classic Consul service. This is represented by the absence of a value. This was chosen for ease of backwards compatibility: existing services in the catalog would default to the typical service.

SampledValue stores info about a metric that is incremented over time, such as the number of requests to an HTTP endpoint.

ServiceRegisterOpts is used to pass extra options to the service register.

UpstreamDestTypePreparedQuery discovers instances via prepared query execution.

UpstreamDestTypeService discovers instances via healthy service lookup.

Upstream is the response structure for a proxy upstream configuration.