Documentation
¶
Overview ¶
Package dataaccess wires the Lookup and Update gRPC services into a single process listening on one port.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewComponents ¶ added in v1.54.0
func NewComponents(ctx context.Context, cfg config.RuntimeConfig[Config], m *metrics.Metrics, tracer *trace.Tracer) (boot.Components, error)
NewComponents builds data-access's gRPC registration for pkg/boot.Boot. data-access has no HTTP surface: its metrics/probe endpoint is attached automatically by Boot from Config.MetricsAddr(), not registered here. lookup.NewLookupService/update.NewUpdateService never actually fail (storage.MustConnect panics rather than returning an error), so their error returns are ignored rather than handled with dead code.
Types ¶
type Config ¶
type Config struct {
GRPCAddress string `mapstructure:"grpc_address"`
// MetricsAddress defaults to ":9090" when unset (see MetricsAddr).
MetricsAddress string `mapstructure:"metrics_address"`
ServiceAuth serviceauth.Config `mapstructure:",squash"`
UserAuth userauth.Config `mapstructure:"auth"`
}
func (Config) MetricsAddr ¶ added in v1.36.0
Directories
¶
| Path | Synopsis |
|---|---|
|
internal
|
|
|
dbmetrics
Package dbmetrics defines the data-access-wide repository-operation- duration instrument (used by store.go/resolver.go): a metric name plus a thin re-export of pkg/telemetry/db's generic OperationRecorder.
|
Package dbmetrics defines the data-access-wide repository-operation- duration instrument (used by store.go/resolver.go): a metric name plus a thin re-export of pkg/telemetry/db's generic OperationRecorder. |
|
relationships/roles
Package roles parses the glaz role definitions vendored under vendored/ (synced by vendir), the single source of truth for role ids so they are not hardcoded here.
|
Package roles parses the glaz role definitions vendored under vendored/ (synced by vendir), the single source of truth for role ids so they are not hardcoded here. |
Click to show internal directories.
Click to hide internal directories.