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

Struct directoryLoader

app/controlplane/plugins/plugins.go:43–47  ·  view source on GitHub ↗

directoryLoader loads plugins from a directory

Source from the content-addressed store, hash-verified

41
42// directoryLoader loads plugins from a directory
43type directoryLoader struct {
44 pluginsDir string
45 logger *log.Helper
46 initializer PluginInitializer
47}
48
49// memoryLoader initializes plugins in memory from an array of factories
50type memoryLoader struct {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected