package
0.10.0
Repository: https://github.com/otiai10/hotsub.git
Documentation: pkg.go.dev

# Functions

NewIdentity ...
NewJob ...
RootComponentTemplate ...

# Constants

CommonWorkflowLanguageJob ..
CONSTRUCT is creating containers inside the instances.
ContainerMaxRetry represents max count for retrying operations inside docker containers, such as "pull image", "exec create" and "exec create".
CREATE is creating computing instances, physically.
CreateMaxRetry represents max count for retrying `docker-machine create`.
DESTROY is deleting the physical instances which are no longer used.
EXECUTE is executing the specified script inside user-workflow container.
FETCH is downloading specified input files from remote storage service.
HotsubContainerRoot is a root directory inside each container.
HotsubHostRoot is a mount point mounted by containers on this host machine.
HotsubSharedDirectoryPath is a path-prefix from ContainerRoot, in which all the shared data are located.
HotsubSharedInstanceMountPoint is a mount point mountedd by containers of computing instances.
PUSH is uploading the result files to remote storage service.
ShellScriptJob ..
WorkflowDescriptionLanguageJob ..

# Structs

Component represents a independent workflow component, handling only 1 input set.
Driver represents Job Driver.
Env represent an envirionment variable.
Identity ...
Image ...
Include represents a file which should be included and transferd to VM.
Input represents a input specified as a cell of tasks file.
Job represents a input/output/env set specified as an independent row of tasks file.
JobContainer ...
Machine ...
Output represents a input specified as a cell of tasks file.
Parameters specifies the parameters assigned to this job.
Report ...
Resource represents a common struct for both Input and Output.
Script specifies what to do inside the container.
SharedData ...

# Interfaces

Logger is an interface of log writer.
LoggerFactory can generate a Logger struct corresponding to the specified Job.

# Type aliases

Includes represent local files which should be transfered to VM.
Inputs represent given input set.
JobType represents the type.
Lifecycle represents the lifecycles of Component and Job.
Outputs represent given input set.