Help us shape the future of Go! Take the 2026 Go Developer Survey

utils

package
v1.39.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: MIT Imports: 10 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