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

Struct FileLoader

pkg/policies/loader.go:100–100  ·  view source on GitHub ↗

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

Source from the content-addressed store, hash-verified

98
99// FileLoader loader loads policies from filesystem and HTTPS references using Cosign's blob package
100type FileLoader struct{}
101
102func (l *FileLoader) Load(_ context.Context, attachment *v1.PolicyAttachment) (*v1.Policy, *PolicyDescriptor, error) {
103 var (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected