Versions in this module Expand all Collapse all v1 v1.1.0 Jun 19, 2023 v1.0.0 Jun 19, 2023 Changes in this version + const ENTRYPOINT + const ONEXIT + func AddFilesToTemplates(templates []v1alpha1.Template, files []*git.CommitFile) ([]v1alpha1.Template, error) + func CreateDAGTemplate(fileList []*git.CommitFile, name string) (*v1alpha1.Template, error) + func GetParameters(paramsFile *git.CommitFile) ([]v1alpha1.Parameter, error) + type WorkflowsClient interface + ConstructSpec func(templates []v1alpha1.Template, params []v1alpha1.Parameter, configName string) (*v1alpha1.WorkflowSpec, error) + ConstructTemplates func(workflowsBatch *common.WorkflowsBatch, configName string) ([]v1alpha1.Template, error) + CreateWorkflow func(spec *v1alpha1.WorkflowSpec, workflowsBatch *common.WorkflowsBatch) (*v1alpha1.Workflow, error) + HandleWorkflowBatch func(ctx *context.Context, workflowsBatch *common.WorkflowsBatch) error + Lint func(wf *v1alpha1.Workflow) error + SetConfig func(wf *v1alpha1.Workflow, spec *v1alpha1.WorkflowSpec) error + Submit func(ctx *context.Context, wf *v1alpha1.Workflow) error + func NewWorkflowsClient(cfg *conf.Config) (WorkflowsClient, error) + type WorkflowsClientImpl struct + func (wfc *WorkflowsClientImpl) ConstructSpec(templates []v1alpha1.Template, params []v1alpha1.Parameter, configName string) (*v1alpha1.WorkflowSpec, error) + func (wfc *WorkflowsClientImpl) ConstructTemplates(workflowsBatch *common.WorkflowsBatch, configName string) ([]v1alpha1.Template, error) + func (wfc *WorkflowsClientImpl) CreateWorkflow(spec *v1alpha1.WorkflowSpec, workflowsBatch *common.WorkflowsBatch) (*v1alpha1.Workflow, error) + func (wfc *WorkflowsClientImpl) HandleWorkflowBatch(ctx *context.Context, workflowsBatch *common.WorkflowsBatch) error + func (wfc *WorkflowsClientImpl) Lint(wf *v1alpha1.Workflow) error + func (wfc *WorkflowsClientImpl) SetConfig(wf *v1alpha1.Workflow, spec *v1alpha1.WorkflowSpec) error + func (wfc *WorkflowsClientImpl) Submit(ctx *context.Context, wf *v1alpha1.Workflow) error