Documentation ¶
Index ¶
- Variables
- type NodeSet
- type NodeSetIterator
- type Pattern
- type RangeSet
- func (rs *RangeSet) AddSlice(slice *Slice) error
- func (rs *RangeSet) AddString(subrange string) (err error)
- func (rs *RangeSet) Len() int
- func (rs *RangeSet) Slices() []*Slice
- func (rs *RangeSet) String() string
- func (rs *RangeSet) Strings() []string
- func (rs *RangeSet) Subset(other *RangeSet) bool
- func (rs *RangeSet) Superset(other *RangeSet) bool
- type RangeSetND
- func (nd *RangeSetND) Dim() int
- func (nd *RangeSetND) Len() int
- func (nd *RangeSetND) Ranges() []*RangeSet
- func (nd *RangeSetND) String() string
- func (nd *RangeSetND) Subset(other *RangeSetND) bool
- func (nd *RangeSetND) Superset(other *RangeSetND) bool
- func (nd *RangeSetND) Update(patterns []string) error
- type Slice
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidNodeSet = errors.New("invalid nodeset") ErrParseNodeSet = errors.New("nodeset parse error") )
Functions ¶
This section is empty.
Types ¶
type NodeSet ¶
type NodeSet struct {
// contains filtered or unexported fields
}
func NewNodeSet ¶
func (*NodeSet) Iterator ¶
func (ns *NodeSet) Iterator() *NodeSetIterator
func (*NodeSet) MarshalJSON ¶
func (*NodeSet) UnmarshalJSON ¶
type NodeSetIterator ¶
type NodeSetIterator struct {
// contains filtered or unexported fields
}
func (*NodeSetIterator) Len ¶
func (i *NodeSetIterator) Len() int
func (*NodeSetIterator) Next ¶
func (i *NodeSetIterator) Next() bool
func (*NodeSetIterator) Value ¶
func (i *NodeSetIterator) Value() string
type RangeSet ¶
type RangeSet struct {
// contains filtered or unexported fields
}
func NewRangeSet ¶
type RangeSetND ¶
type RangeSetND struct {
// contains filtered or unexported fields
}
func NewRangeSetND ¶
func NewRangeSetND(patterns []string) (nd *RangeSetND, err error)
func (*RangeSetND) Dim ¶
func (nd *RangeSetND) Dim() int
func (*RangeSetND) Len ¶
func (nd *RangeSetND) Len() int
func (*RangeSetND) Ranges ¶
func (nd *RangeSetND) Ranges() []*RangeSet
func (*RangeSetND) String ¶
func (nd *RangeSetND) String() string
func (*RangeSetND) Subset ¶
func (nd *RangeSetND) Subset(other *RangeSetND) bool
func (*RangeSetND) Superset ¶
func (nd *RangeSetND) Superset(other *RangeSetND) bool
func (*RangeSetND) Update ¶
func (nd *RangeSetND) Update(patterns []string) error
Click to show internal directories.
Click to hide internal directories.