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"`
}
func SerializeToStruct ¶
func SerializeToStruct(metadata []workflow_registry_wrapper.WorkflowRegistryWorkflowMetadataView) []WorkflowMetadataSerialized
Click to show internal directories.
Click to hide internal directories.