package
0.0.0-20230301081111-79ba34714ab8
Repository: https://github.com/truecloudlab/frostfs-node.git
Documentation: pkg.go.dev
# Functions
New creates, initializes and returns Policer instance.
WithContainerSource returns option to set container source of Policer.
WithHeadTimeout returns option to set Head timeout of Policer.
WithLocalStorage returns option to set local object storage of Policer.
WithLogger returns option to set Logger of Policer.
WithMaxCapacity returns option to set max capacity that can be set to the pool.
WithNetmapKeys returns option to set tool to work with announced public keys.
WithNodeLoader returns option to set FrostFS node load source.
WithPlacementBuilder returns option to set object placement builder of Policer.
WithPool returns option to set pool for policy and replication operations.
WithRedundantCopyCallback returns option to set callback to pass redundant local object copies detected by Policer.
WithRemoteHeader returns option to set object header receiver of Policer.
WithReplicator returns option to set object replicator of Policer.
# Structs
Policer represents the utility that verifies compliance with the object storage policy.
# Type aliases
Option is an option for Policer constructor.
RedundantCopyCallback is a callback to pass the redundant local copy of the object.