package
0.0.0-20230301072923-5e759bf089a0
Repository: https://github.com/truecloudlab/frostfs-sdk-go.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

BelongsToSubnet is a helper function over the IterateSubnets method which checks whether a node belongs to a subnet.
IterateNetworkEndpoints is an extra-sugared function over IterateNetworkEndpoints method which allows to unconditionally iterate over all node's network endpoints.
StringifyPublicKey returns HEX representation of PublicKey.

# Variables

ErrRemoveSubnet is returned when a node needs to leave the subnet.

# Structs

Filter contains rules for filtering the node sets.
NetMap represents FrostFS network map.
NetworkInfo groups information about the FrostFS network state.
NodeInfo groups information about FrostFS storage node which is reflected in the FrostFS network map.
PlacementPolicy declares policy to store objects in the FrostFS container.
ReplicaDescriptor replica descriptor characterizes replicas of objects from the subset selected by a particular Selector.
Selector describes the bucket selection operator: choose a number of nodes from the bucket taking the nearest nodes to the related container by hash distance.