Versions in this module Expand all Collapse all v1 v1.0.1 Oct 4, 2026 v1.0.0 Sep 30, 2026 Changes in this version + type Lister interface + DefaultSource func() string + List func(source string) ([]string, error) + type MapResolver struct + Default string + Groups map[string]map[string]string + func NewMapResolver(source string, groups map[string]string) *MapResolver + func (m *MapResolver) All(source string) (string, error) + func (m *MapResolver) DefaultSource() string + func (m *MapResolver) List(source string) ([]string, error) + func (m *MapResolver) Resolve(source, group string) (string, error) + type NodeSet struct + func MustParse(expr string, opts ...Option) *NodeSet + func New(opts ...Option) *NodeSet + func Parse(expr string, opts ...Option) (*NodeSet, error) + func ParseWith(expr string, res Resolver, opts ...Option) (*NodeSet, error) + func (ns *NodeSet) Add(expr string) error + func (ns *NodeSet) Canonical(name string) (string, bool) + func (ns *NodeSet) Clone() *NodeSet + func (ns *NodeSet) Contains(name string) bool + func (ns *NodeSet) Difference(other *NodeSet) *NodeSet + func (ns *NodeSet) Expand() []string + func (ns *NodeSet) Hostlist() string + func (ns *NodeSet) Intersection(other *NodeSet) *NodeSet + func (ns *NodeSet) IsEmpty() bool + func (ns *NodeSet) Len() int + func (ns *NodeSet) Split(n int) []*NodeSet + func (ns *NodeSet) String() string + func (ns *NodeSet) SymmetricDifference(other *NodeSet) *NodeSet + func (ns *NodeSet) Union(other *NodeSet) *NodeSet + type Option func(*NodeSet) + func WithAutostep(n int) Option + type Resolver interface + All func(source string) (string, error) + Resolve func(source, group string) (string, error)