Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Archive ¶
type Archive interface {
// Init should be used for fetching things from s3, or setting up credentials
Init(context.Context) error
// Unpack is used to unpack an archive, and should call the unpackFn with each source file
Unpack(context.Context, Callback) error
Cleanup(context.Context) error
}
Archive package exposes methods for loading a workspace archive
type Callback ¶
Callback is passed in to the call back function to allow the implementer to pass a function in
type Callbacker ¶
Click to show internal directories.
Click to hide internal directories.