Versions in this module Expand all Collapse all v2 v2.0.0 Dec 13, 2021 Changes in this version + type Set struct + func Difference(set1 *Set, sets ...*Set) *Set + func Intersection(sets ...*Set) *Set + func New(ts ...lockedresource.LockedResource) *Set + func NewWithSize(size int) *Set + func SymmetricDifference(s *Set, t *Set) *Set + func Union(sets ...*Set) *Set + func (s *Set) Add(items ...lockedresource.LockedResource) + func (s *Set) Clear() + func (s *Set) Copy() *Set + func (s *Set) Each(f func(item lockedresource.LockedResource) bool) + func (s *Set) Has(items ...lockedresource.LockedResource) bool + func (s *Set) HasAny(items ...lockedresource.LockedResource) bool + func (s *Set) IsEmpty() bool + func (s *Set) IsEqual(t *Set) bool + func (s *Set) IsSubset(t *Set) bool + func (s *Set) IsSuperset(t *Set) bool + func (s *Set) List() []lockedresource.LockedResource + func (s *Set) Merge(t *Set) + func (s *Set) Pop() lockedresource.LockedResource + func (s *Set) Pop2() (lockedresource.LockedResource, bool) + func (s *Set) Remove(items ...lockedresource.LockedResource) + func (s *Set) Separate(t *Set) + func (s *Set) Size() int + func (s *Set) String() string Other modules containing this package github.com/redhat-cop/operator-utils