Documentation ¶
Overview ¶
The selector package exports functions useful for manipulating and generating spire selectors
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EqualSet ¶
func EqualSet(a, b *set) bool
EqualSet determines whether two sets of selectors are equal or not
func IncludesSet ¶
func IncludesSet(s1, s2 *set) bool
IncludesSet returns true if s2 is included in s1. This is, all the s2 selectors are also present in s1.
func PowerSet ¶
func PowerSet(selectors *set) <-chan Set
PowerSet implements a range-able combination generator. It takes a set, and returns a channel over which all possible combinations of selectors are eventually returned. It is meant to aid in the discovery of applicable cache entries, given the superset of selectors discovered during attestation.
Types ¶
Click to show internal directories.
Click to hide internal directories.