Documentation ¶
Index ¶
- type Set
- func (s *Set) Append(entries *Set)
- func (s *Set) Difference(b *Set) []corev1.ObjectReference
- func (s *Set) Erase(entry *corev1.ObjectReference)
- func (s *Set) Has(entry *corev1.ObjectReference) bool
- func (s *Set) Insert(entry *corev1.ObjectReference)
- func (s *Set) Items() []corev1.ObjectReference
- func (s *Set) Len() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set struct {
// contains filtered or unexported fields
}
func (*Set) Difference ¶ added in v0.2.1
func (s *Set) Difference(b *Set) []corev1.ObjectReference
Difference returns all elements which are in s but not in b
func (*Set) Erase ¶ added in v0.2.1
func (s *Set) Erase(entry *corev1.ObjectReference)
Erase removes entry from set
func (*Set) Has ¶ added in v0.2.1
func (s *Set) Has(entry *corev1.ObjectReference) bool
Has returns true if entry is currently part of set
func (*Set) Insert ¶ added in v0.2.1
func (s *Set) Insert(entry *corev1.ObjectReference)
Insert adds entry to set
func (*Set) Items ¶ added in v0.2.1
func (s *Set) Items() []corev1.ObjectReference
Items returns a slice with all elements currently in set
Click to show internal directories.
Click to hide internal directories.