Versions in this module Expand all Collapse all v0 v0.0.2 Dec 5, 2022 Changes in this version + const Unknown + var ValidColors = []Color + func ColorNames() []string + type BinaryConfig struct + Args []ValuePair + Binary string + Environment []ValuePair + PrivateArgs []ValuePair + WorkingDirectory string + type Cluster map[Color]ClusterGroup + func NewCluster() Cluster + func (c Cluster) AsClusterState() ClusterState + type ClusterGroup struct + Hosts []string + Version semver.Version + type ClusterGroupState struct + Count int + Version semver.Version + type ClusterState map[Color]ClusterGroupState + func NewClusterState() ClusterState + func (cs ClusterState) AddNodes(group Color, count int) ClusterState + func (cs ClusterState) Clone() ClusterState + func (cs ClusterState) EqualNodeCount(other ClusterState) bool + func (cs ClusterState) EqualStep(step Step) bool + func (cs ClusterState) Group() (Color, error) + func (cs ClusterState) IsCleanState() bool + func (cs ClusterState) IsEmpty() bool + func (cs ClusterState) String() string + type Color int + const Blue + const Green + func ParseColor(name string) (Color, error) + func (c Color) Other() Color + func (x *Color) UnmarshalText(text []byte) error + func (x Color) MarshalText() ([]byte, error) + func (x Color) String() string + type Errors []error + func (e Errors) Error() string + func (e Errors) Errors() []error + type MultiError interface + Errors func() []error + type RunnableError struct + Output []byte + ResultErr error + func (e *RunnableError) Unwrap() error + func (e RunnableError) Error() string + type Step map[Color]int + func (s Step) String() string + type StepError struct + Cause error + GoalClusterState ClusterState + OriginalCluster Cluster + StartingColorGroup Color + TODO []Step + func (e *StepError) Unwrap() error + func (e StepError) Error() string + type ValuePair struct + Key string + Value string