Documentation
¶
Index ¶
- Constants
- func MergeSources(parent config.SourcePath, child config.SourcePath) config.SourcePath
- func ReadDredgeFile(source config.SourcePath) (config.SourcePath, *config.DredgeFile, error)
- type Bucket
- type DredgeExec
- func (exec *DredgeExec) GetBucket(bucketName string) (*Bucket, error)
- func (exec *DredgeExec) GetBuckets() ([]*Bucket, error)
- func (exec *DredgeExec) GetWorkflow(bucketName, workflowName string) (*Workflow, error)
- func (exec *DredgeExec) GetWorkflows() ([]*Workflow, error)
- func (exec *DredgeExec) Import(source config.SourcePath) (*DredgeExec, error)
- func (exec *DredgeExec) ReadSource(source config.SourcePath) ([]byte, error)
- type Env
- type Workflow
Constants ¶
View Source
const ( DefaultDredgefileName = "Dredgefile" DefaultDredgeRepo = "https://github.com/dredge-dev/dredge-repo.git" LocalDredgeStorage = ".dredge" LocalDredgeRepoStorage = LocalDredgeStorage + "/repo/" )
Variables ¶
This section is empty.
Functions ¶
func MergeSources ¶
func MergeSources(parent config.SourcePath, child config.SourcePath) config.SourcePath
func ReadDredgeFile ¶
func ReadDredgeFile(source config.SourcePath) (config.SourcePath, *config.DredgeFile, error)
Types ¶
type Bucket ¶
type Bucket struct {
Exec *DredgeExec
Name string
Description string
// contains filtered or unexported fields
}
func (*Bucket) GetWorkflows ¶
type DredgeExec ¶
type DredgeExec struct {
Parent *DredgeExec
Source config.SourcePath
DredgeFile *config.DredgeFile
Env Env
}
func EmptyExec ¶
func EmptyExec(source config.SourcePath) *DredgeExec
func NewExec ¶
func NewExec(source config.SourcePath) (*DredgeExec, error)
func (*DredgeExec) GetBucket ¶
func (exec *DredgeExec) GetBucket(bucketName string) (*Bucket, error)
func (*DredgeExec) GetBuckets ¶
func (exec *DredgeExec) GetBuckets() ([]*Bucket, error)
func (*DredgeExec) GetWorkflow ¶
func (exec *DredgeExec) GetWorkflow(bucketName, workflowName string) (*Workflow, error)
func (*DredgeExec) GetWorkflows ¶
func (exec *DredgeExec) GetWorkflows() ([]*Workflow, error)
func (*DredgeExec) Import ¶
func (exec *DredgeExec) Import(source config.SourcePath) (*DredgeExec, error)
func (*DredgeExec) ReadSource ¶
func (exec *DredgeExec) ReadSource(source config.SourcePath) ([]byte, error)
type Env ¶
func (Env) AddVariables ¶
Click to show internal directories.
Click to hide internal directories.