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

Interface ScriptHandler

pkg/scripts/install.go:25–30  ·  view source on GitHub ↗

ScriptHandler provides an interface for various scripts source handlers.

Source from the content-addressed store, hash-verified

23
24// ScriptHandler provides an interface for various scripts source handlers.
25type ScriptHandler interface {
26 Get(script string) *api.InstallResult
27 Install(*api.InstallResult) error
28 SetDestinationDir(string)
29 String() string
30}
31
32// URLScriptHandler handles script download using URL.
33type URLScriptHandler struct {

Callers 13

InstallOptionalMethod · 0.65
ReadMethod · 0.65
DirFunction · 0.65
InstallOptionalMethod · 0.65
InstallOptionalMethod · 0.65
DownloadMethod · 0.65
NewCmdCompletionFunction · 0.65
NewCmdBuildFunction · 0.65
GetMethod · 0.65
InstallOptionalMethod · 0.65
DownloadMethod · 0.65

Implementers 3

URLScriptHandlerpkg/scripts/install.go
SourceScriptHandlerpkg/scripts/install.go
fakeSourcepkg/scripts/install_test.go

Calls

no outgoing calls

Tested by

no test coverage detected