Documentation
¶
Overview ¶
Package auth provides shared authentication helpers for the adaptive telemetry provider. It is a separate package to avoid import cycles between the parent adaptive package (which imports signal subpackages) and the signal subpackages (which need auth helpers).
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type SignalAuth ¶
SignalAuth holds resolved auth credentials for a single adaptive telemetry signal.
func ResolveSignalAuth ¶
func ResolveSignalAuth(ctx context.Context, loader *providers.ConfigLoader, signal string) (SignalAuth, error)
ResolveSignalAuth resolves auth credentials for the given signal ("metrics", "logs", or "traces"). It checks cached provider config first, falling back to a GCOM lookup via LoadCloudConfig. On GCOM lookup, it caches the resolved values for subsequent calls.
Click to show internal directories.
Click to hide internal directories.