MCPcopy
hub / github.com/docker/docker-agent / fileSource

Struct fileSource

pkg/config/sources.go:37–39  ·  view source on GitHub ↗

fileSource is used to load an agent configuration from a YAML file.

Source from the content-addressed store, hash-verified

35
36// fileSource is used to load an agent configuration from a YAML file.
37type fileSource struct {
38 path string
39}
40
41func NewFileSource(path string) Source {
42 return fileSource{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected