MCPcopy
hub / github.com/open-policy-agent/gatekeeper / NewSet

Function NewSet

pkg/watch/set.go:61–65  ·  view source on GitHub ↗

NewSet constructs a new watchSet.

()

Source from the content-addressed store, hash-verified

59
60// NewSet constructs a new watchSet.
61func NewSet() *Set {
62 return &Set{
63 set: make(map[schema.GroupVersionKind]bool),
64 }
65}
66
67// SetFrom constructs a new watchSet from the given gvks.
68func SetFrom(items []schema.GroupVersionKind) *Set {

Callers 12

pruneUnwatchedGVKsMethod · 0.92
NewCacheManagerFunction · 0.92
replaceWatchSetMethod · 0.92
interpretErrFunction · 0.92
replayGVKsMethod · 0.92
wipeCacheIfNeededMethod · 0.92
SetFromFunction · 0.85
TestSet_Replace_RaceFunction · 0.85

Calls

no outgoing calls

Used in the wild real call sites across dependent graphs

searching dependent graphs…