Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetArtifact ¶
func GetArtifact(taskEnv EnvReplacer, artifact *structs.TaskArtifact, taskDir string) error
GetArtifact downloads an artifact into the specified task directory.
Types ¶
type EnvReplacer ¶ added in v0.6.0
EnvReplacer is an interface which can interpolate environment variables and is usually satisfied by env.TaskEnv.
type GetError ¶ added in v0.5.6
GetError wraps the underlying artifact fetching error with the URL. It implements the RecoverableError interface.
func (*GetError) IsRecoverable ¶ added in v0.5.6
Click to show internal directories.
Click to hide internal directories.