set

package
v0.57.2 Latest Latest
Warning

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

Go to latest
Published: Jun 7, 2025 License: Apache-2.0 Imports: 1 Imported by: 15 modules, 29 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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