package
1.19.0
Repository: https://github.com/cortexproject/cortex.git
Documentation: pkg.go.dev

# Functions

HTTPHeaderPropagationClientInterceptor allows for propagation of HTTP Request headers across gRPC calls - works alongside HTTPHeaderPropagationServerInterceptor.
HTTPHeaderPropagationServerInterceptor allows for propagation of HTTP Request headers across gRPC calls - works alongside HTTPHeaderPropagationClientInterceptor.
HTTPHeaderPropagationStreamClientInterceptor does the same as HTTPHeaderPropagationClientInterceptor but for streams.
HTTPHeaderPropagationStreamServerInterceptor does the same as HTTPHeaderPropagationServerInterceptor but for streams.
IsGRPCContextCanceled returns whether the input error is a GRPC error wrapping the context.Canceled error.
NewDNSResolver creates a DNS Resolver that can resolve DNS names, and create watchers that poll the DNS server using the default frequency defined by defaultFreq.
NewDNSResolverWithFreq creates a DNS Resolver that can resolve DNS names, and create watchers that poll the DNS server using the frequency set by freq.
NewHealthCheck returns a new HealthCheck for the provided service manager.

# Constants

Add indicates a new address is added.
Delete indicates an existing address is deleted.

# Structs

HealthCheck fulfills the grpc_health_v1.HealthServer interface by ensuring the services being managed by the provided service manager are healthy.
Resolver handles name resolution for names following the DNS scheme.
Update defines a name resolution update.

# Interfaces

Watcher watches for SRV updates on the specified target.

# Type aliases

Operation defines the corresponding operations for a name resolution change.