factory

package
v0.33.3-patch.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 24, 2024 License: AGPL-3.0 Imports: 2 Imported by: 2 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewClusterList

func NewClusterList(assignments flow.AssignmentList, collectors flow.IdentityList) (flow.ClusterList, error)

NewClusterList creates a new cluster list based on the given cluster assignment and the provided list of identities.

The caller must ensure the following prerequisites:

  • each assignment contains identities ordered in canonical order
  • every collector has a unique NodeID, i.e. there are no two elements in `collectors` with the same NodeID

These prerequisites ensures that each cluster in the returned cluster list is ordered in canonical order as well. This function checks that the prerequisites are satisfied and errors otherwise.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL