cluster

package
v0.0.0-...-2cfabc9 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package cluster provides functionality for managing node cluster sets.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Set

type Set interface {
	Join(lib.Node)
	Set([]lib.Node)
	Collect() []string
	Union(Set)
	All(func(lib.Node) error) error
	FilterSelected([]int, func(lib.Node) bool) Set
	Selected([]int, func(lib.Node) error) error
	Trial(func(lib.Node) error) error
	TrialSelected([]int, func(lib.Node) error) error
	Size() int
	Has(lib.Node) bool
	Instance() []lib.Node
}

func New

func New(slaves ...lib.Node) Set

Jump to

Keyboard shortcuts

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