Versions in this module Expand all Collapse all v0 v0.9.7 Feb 11, 2026 Changes in this version + const WorkflowLanguageGolang + const WorkflowLanguageTypeScript + func CalculateContentHash(content []byte) string + func EnsureTool(bin string) error + func GetBuildCmd(inputFile string, outputFile string, rootFolder string) *exec.Cmd + func GetWorkflowLanguage(inputFile string) string + func IsBinaryFile(fileName string) (bool, error) + func ScanFilesForContent(dirPath string) (string, error) + type ArtifactType string + const ArtifactTypeBinary + const ArtifactTypeConfig + type ArtifactUpload struct + Content []byte + ContentHash string + ContentType ArtifactType + func NewArtifactUpload(filepath string, contentType ArtifactType) (*ArtifactUpload, error) + type Artifacts struct + func NewWorkflowArtifacts(input *Input, lggr *slog.Logger) *Artifacts + func (a *Artifacts) Compile() error + func (a *Artifacts) DurableUpload(uploadInput *UploadInput) error + func (a *Artifacts) GetBinaryData() []byte + func (a *Artifacts) GetBinaryPath() string + func (a *Artifacts) GetConfigData() []byte + func (a *Artifacts) GetWorkflowID() string + func (a *Artifacts) GetWorkflowMainFile(workflowPath string) (string, error) + func (a *Artifacts) Prepare() error + type Field struct + Key string + Value string + type Input struct + BinaryPath string + ConfigPath string + WorkflowName string + WorkflowOwner string + WorkflowPath string + type UploadInput struct + ContentType ArtifactType + Filepath string + PresignedFields []Field + PresignedURL string + Timeout time.Duration