MCPcopy Index your code
hub / github.com/chainloop-dev/chainloop / ChainloopGroupLoader

Struct ChainloopGroupLoader

pkg/policies/group_loader.go:101–105  ·  view source on GitHub ↗

ChainloopGroupLoader loads groups referenced with chainloop://provider/name URLs

Source from the content-addressed store, hash-verified

99
100// ChainloopGroupLoader loads groups referenced with chainloop://provider/name URLs
101type ChainloopGroupLoader struct {
102 Client pb.AttestationServiceClient
103 cache cache.Cache[*groupWithReference]
104 flight singleflight.Group
105}
106
107type groupWithReference struct {
108 Group *v1.PolicyGroup `json:"group"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected