utils

package
v0.8.0-alpha Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	RawOutputFormat  = "raw"
	JsonOutputFormat = "json"
	YamlOutputFormat = "yaml"
)

Variables

This section is empty.

Functions

func HandleJsonOrYamlFormat

func HandleJsonOrYamlFormat(
	log *zerolog.Logger,
	format string,
	workflowMetadata []workflow_registry_wrapper.WorkflowRegistryWorkflowMetadataView,
	outputPath string,
) error

Types

type WorkflowMetadataSerialized

type WorkflowMetadataSerialized struct {
	WorkflowName  string `yaml:"name" json:"name"`
	WorkflowID    string `yaml:"workflowID" json:"workflowID"`
	WorkflowOwner string `yaml:"workflowOwner" json:"workflowOwner"`
	BinaryURL     string `yaml:"binaryURL" json:"binaryURL"`
	ConfigURL     string `yaml:"configURL" json:"configURL"`
	DonFamily     string `yaml:"donFamily" json:"donFamily"`
	Status        string `yaml:"status" json:"status"`
}

Jump to

Keyboard shortcuts

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