set

package
v0.12.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 30, 2023 License: Apache-2.0 Imports: 1 Imported by: 24

Documentation

Index

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) Append added in v0.7.0

func (s *Set) Append(entries *Set)

Append adds entries to set

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

func (*Set) Len added in v0.2.1

func (s *Set) Len() int

Len returns length of set

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL