MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / FileGroupLoader

Struct FileGroupLoader

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

FileGroupLoader loader loads policies from filesystem and HTTPS references using Cosign's blob package

Source from the content-addressed store, hash-verified

38
39// FileGroupLoader loader loads policies from filesystem and HTTPS references using Cosign's blob package
40type FileGroupLoader struct{}
41
42func (l *FileGroupLoader) Load(_ context.Context, attachment *v1.PolicyGroupAttachment) (*v1.PolicyGroup, *PolicyDescriptor, error) {
43 var (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected