Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAborted = errors.New("script aborted")
View Source
var ErrUnknownResourceType = errors.New("unknown resource type")
Functions ¶
func ResourcesDir ¶
Types ¶
type ArtifactSource ¶
type ArtifactSource interface {
StreamTo(ArtifactDestination) error
}
type ContainerImage ¶
type ContainerImage string
type ErrResourceScriptFailed ¶
func (ErrResourceScriptFailed) Error ¶
func (err ErrResourceScriptFailed) Error() string
type Resource ¶
type Resource interface {
Type() ResourceType
Get(IOConfig, atc.Source, atc.Params, atc.Version) VersionedSource
Put(IOConfig, atc.Source, atc.Params, ArtifactSource) VersionedSource
Check(atc.Source, atc.Version) ([]atc.Version, error)
Release()
Destroy() error
}
func NewResource ¶
func NewResource( container worker.Container, typ ResourceType, ) Resource
type ResourceType ¶
type ResourceType string
type Session ¶
type Session struct {
ID worker.Identifier
Ephemeral bool
}
type Tracker ¶
func NewTracker ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.