Documentation ¶
Index ¶
Constants ¶
View Source
const ( ResourceResultPropertyName = "concourse:resource-result" ResourceProcessID = "resource" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CacheArtifact ¶
func (CacheArtifact) ID ¶
func (art CacheArtifact) ID() string
type ErrResourceScriptFailed ¶
func (ErrResourceScriptFailed) Error ¶
func (err ErrResourceScriptFailed) Error() string
type FileNotFoundError ¶
type FileNotFoundError struct {
Path string
}
FileNotFoundError is the error to return from StreamFile when the given path does not exist.
func (FileNotFoundError) Error ¶
func (err FileNotFoundError) Error() string
Error prints a helpful message including the file path. The user will see this message if e.g. their task config path does not exist.
type GetArtifact ¶
type GetArtifact struct {
VolumeHandle string
}
TODO (Krishna/Sameer): get rid of these - can GetArtifact and TaskArtifact be merged ?
func (GetArtifact) ID ¶
func (art GetArtifact) ID() string
type GetRequest ¶
type ProcessSpec ¶
type PutRequest ¶
type Runner ¶
type Runner interface { RunScript( ctx context.Context, path string, args []string, input []byte, output interface{}, logDest io.Writer, recoverable bool, ) error }
TODO (runtime/#4910): consider a different name as this is close to "Runnable" in atc/engine/engine
type StartingEventDelegate ¶
type TaskArtifact ¶
type TaskArtifact struct {
VolumeHandle string
}
func (TaskArtifact) ID ¶
func (art TaskArtifact) ID() string
type VersionResult ¶
type VersionResult struct { Version atc.Version `json:"version"` Metadata []atc.MetadataField `json:"metadata,omitempty"` }
Click to show internal directories.
Click to hide internal directories.