MCPcopy Create free account
hub / github.com/cool-sun/cloudApp / FilterBy

Method FilterBy

utils/github/kustomize/pkg/resmap/resmap.go:120–133  ·  view source on GitHub ↗

FilterBy returns a subset ResMap containing ResIds with the same namespace and leftmost name prefix and rightmost name as the inputId. If inputId is a cluster level resource, this returns the original ResMap.

(inputId resid.ResId)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TransformMethod · 0.80

Calls 5

IsClusterKindMethod · 0.80
GvkMethod · 0.80
NamespaceMethod · 0.80
HasSameLeftmostPrefixMethod · 0.80

Tested by

no test coverage detected