Versions in this module Expand all Collapse all v1 v1.1.5 May 12, 2021 Changes in this version + type Set struct + func Difference(set1 *Set, sets ...*Set) *Set + func Intersection(sets ...*Set) *Set + func New(ts ...corev1.ObjectReference) *Set + func NewWithSize(size int) *Set + func SymmetricDifference(s *Set, t *Set) *Set + func Union(sets ...*Set) *Set + func (s *Set) Add(items ...corev1.ObjectReference) + func (s *Set) Clear() + func (s *Set) Copy() *Set + func (s *Set) Each(f func(item corev1.ObjectReference) bool) + func (s *Set) Has(items ...corev1.ObjectReference) bool + func (s *Set) HasAny(items ...corev1.ObjectReference) 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() []corev1.ObjectReference + func (s *Set) Merge(t *Set) + func (s *Set) Pop() corev1.ObjectReference + func (s *Set) Pop2() (corev1.ObjectReference, bool) + func (s *Set) Remove(items ...corev1.ObjectReference) + func (s *Set) Separate(t *Set) + func (s *Set) Size() int + func (s *Set) String() string