MCPcopy Index your code
hub / github.com/openshift/source-to-image / URLScriptHandler

Struct URLScriptHandler

pkg/scripts/install.go:33–39  ·  view source on GitHub ↗

URLScriptHandler handles script download using URL.

Source from the content-addressed store, hash-verified

31
32// URLScriptHandler handles script download using URL.
33type URLScriptHandler struct {
34 URL string
35 DestinationDir string
36 Download Downloader
37 FS fs.FileSystem
38 Name string
39}
40
41const (
42 sourcesRootAbbrev = "<source-dir>"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected