submit

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 24, 2025 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package submit contains the use case for submitting workflows.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	WorkflowFile     string
	InputsFile       string
	OptionsFile      string
	DependenciesFile string
	Labels           map[string]string
}

Input represents the input for the submit use case.

type Output

type Output struct {
	WorkflowID string
	Status     string
}

Output represents the output of the submit use case.

type UseCase

type UseCase struct {
	// contains filtered or unexported fields
}

UseCase handles workflow submission.

func New

func New(repo workflow.Repository) *UseCase

New creates a new submit use case.

func (*UseCase) Execute

func (uc *UseCase) Execute(ctx context.Context, input Input) (*Output, error)

Execute submits a workflow to Cromwell.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL