create

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 create contains the use case for creating WDL bundles.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	MainWorkflowPath string
	OutputPath       string
}

Input represents the input for the bundle creation use case.

type Output

type Output struct {
	MainWDLPath         string
	DependenciesZipPath string
	Dependencies        []string
	TotalFiles          int
}

Output represents the output of the bundle creation use case.

type UseCase

type UseCase struct{}

UseCase handles WDL bundle creation.

func New

func New() *UseCase

New creates a new bundle creation use case.

func (*UseCase) Execute

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

Execute creates a WDL bundle with all dependencies. It produces two files: 1. A main WDL file with imports rewritten to reference flattened paths 2. A ZIP file containing all dependencies (only if there are dependencies)

Jump to

Keyboard shortcuts

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