package
0.0.0-20220611034010-79c606f82032
Repository: https://github.com/go-sif/sif.git
Documentation: pkg.go.dev
# Functions
CloneNodeOptions makes a copy of a NodeOptions.
CreateNode creates a Sif node, deriving role from environment variables.
CreateNodeInRole creates a Sif node in a specific role (Coordinator or Worker).
# Constants
Coordinator indicates that a node should coordinate work e.g.
Worker indicates that a node should coordinate work e.g.
# Structs
NodeOptions are options for a Node, configuring elements of a Sif cluster.
Result represents the result of a job, which may either be nil, an Accumulator or a set of CollectedPartitions.
# Interfaces
Node is a member of a Sif cluster, either coordinating or performing work.
# Type aliases
NodeRole describes the intended role of a Node.