frostfs-node/pkg/innerring/processors/netmap/nodevalidation/locode
Leonard Lyubich db703a5117 [#316] ir/netmap: Validate LOCODE attributes of network map candidates
Define a structure for dealing with the geographic location of nodes.
Implement VerifyAndUpdate (with the same purpose as NodeValidator interface)
that checks LOCODE attribute and fills other attributes of the location.
Technically the entity is a wrapper over the NeoFS location database: it
maps the node LOCODE to the database record from which the new attributes
are generated.

Signed-off-by: Leonard Lyubich <leonard@nspcc.ru>
2021-02-10 14:05:03 +03:00
..
calls.go [#316] ir/netmap: Validate LOCODE attributes of network map candidates 2021-02-10 14:05:03 +03:00
deps.go [#316] ir/netmap: Validate LOCODE attributes of network map candidates 2021-02-10 14:05:03 +03:00
util.go [#316] ir/netmap: Validate LOCODE attributes of network map candidates 2021-02-10 14:05:03 +03:00
validator.go [#316] ir/netmap: Validate LOCODE attributes of network map candidates 2021-02-10 14:05:03 +03:00