package
1.1.0-beta1
Repository: https://github.com/d3sw/replicator.git
Documentation: pkg.go.dev

# Functions

CalculateUsage computes the percentage of overall worker pool capacity consumed and computes the amount of that capacity consumed by each node.
Deregister is responsible for removing a node from a worker pool record.
MaxAllowedClusterUtilization calculates the maximum allowed cluster utilization after taking into consideration node fault-tolerance and scaling overhead.
NewConsulClient is used to construct a new Consul client using the default configuration and supporting the ability to specify a Consul API address endpoint in the form of address:port.
NewNomadClient is used to create a new client to interact with Nomad.
NodeRegistryUpdated determines if the node registry has been updated and manages updating the node hash.
ProcessNodeConfig retrieves detailed information about a node and processes configuration details.
Register is responsible for registering a newly discovered worker pool or registering a node with an previously discovered worker pool.
RemoveJobScalingPolicy deletes the job entry within the the policies map.

# Constants

Scaling direction types indicate the allowed scaling actions.
Scaling direction types indicate the allowed scaling actions.
Scaling direction types indicate the allowed scaling actions.
Scaling metric types indicate the most-utilized resource across the cluster.
Scaling metric types indicate the most-utilized resource across the cluster.
All supported allocation resources are unutilized.
Scaling metric types indicate the most-utilized resource across the cluster.