Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var InvalidShuttlePathFile = errors.New("shuttle path did not point ot a shuttle.yaml file")
Functions ¶
This section is empty.
Types ¶
type ActionsDiscovered ¶
type Discovered ¶
type Discovered struct { Local *ActionsDiscovered Plan *ActionsDiscovered }
func Discover ¶
func Discover( ctx context.Context, shuttlepath string, c *config.ShuttleProjectContext, ) (*Discovered, error)
path: is a path to the shuttle.yaml file It will always look for the actions directory relative to the shuttle.yaml file
1. Traverse actionsdir
2. Traverse plan if exists (only 1 layer for now)
3. Collect file names
4. Return list of files to move to tmp dir
Click to show internal directories.
Click to hide internal directories.