func GetPathToDataSetIn(category string, run string, runID string, stage string, stageID string, container string) string {
	return parentContainerPath(category, run, runID, stage, stageID, container) + "/datain.yaml"
}
GetPathToDataSetIn returns the path to the descriptor DataSetIn for a container part of a stage in a run.
package model
import (
	"time"
)
const (
	Version = 1
)
type Category struct {
	Name        string      `json:"name" yaml:"name"`                
	Contributor Contributor `json:"contributor" yaml:"contributor"`  
	Version     int         `json:"version" yaml:"version"`          
}
type Run struct {
	Name        string      `json:"name" yaml:"name"`                
	InstanceID  string      `json:"instanceid" yaml:"instanceid"`    
	RunID       string      `json:"id" yaml:"id"`                    
	Timestamp   time.Time   `json:"timestamp" yaml:"timestamp"`      
	Contributor Contributor `json:"contributor" yaml:"contributor"`  
	Version     int         `json:"version" yaml:"version"`          
	Engine      RunEngine   `json:"engine" yaml:"engine"`            
}
type RunEngine struct {
	RunFile string `json:"runfile" yaml:"runfile"`  
	Type    string `json:"type" yaml:"type"`        
}
type RunStatus struct {
	Successful bool   `json:"successful" yaml:"successful"`  
	Log        string `json:"log" yaml:"log"`                
}
type FS struct {
	Context    string `json:"context" yaml:"context"`        
	Repo       string `json:"repo" yaml:"repo"`              
	BundleID   string `json:"bundleid" yaml:"bundleid"`      
	Label      string `json:"label" yaml:"label"`            
	Fuse       bool   `json:"fuse" yaml:"fuse"`              
	Stream     bool   `json:"stream" yaml:"stream"`          
	VolumeName string `json:"volumename" yaml:"volumename"`  
}
type Container struct {
	Image   string `json:"image" yaml:"image"`      
	ImageID string `json:"imageid" yaml:"imageid"`  
}
type DataSetIn struct {
	Timestamp   time.Time `json:"timestamp" yaml:"timestamp"`      
	Stage       string    `json:"stage" yaml:"stage"`              
	StageID     string    `json:"stageid" yaml:"stageid"`          
	Container   string    `json:"container" yaml:"container"`      
	MountPath   string    `json:"mountpath" yaml:"mountpath"`      
	Filesystems []FS      `json:"filesystems" yaml:"filesystems"`  
}
type DataSetOut struct {
	Timestamp   time.Time `json:"timestamp" yaml:"timestamp"`      
	Stage       string    `json:"stage" yaml:"stage"`              
	Container   string    `json:"container" yaml:"container"`      
	MountPath   string    `json:"mountpath" yaml:"mountpath"`      
	Filesystems []FS      `json:"filesystems" yaml:"filesystems"`  
}
func parentRunPath(category string, name string, id string) string {
	return "runs/" + category + "/" + name + "/" + id
}
func parentContainerPath(category string, name string, id string, stage string, stageID string, container string) string {
	return parentRunPath(category, name, id) + "/" + stage + "/" + stageID + "/" + container
}
func GetPathToRun(category string, name string, id string) string {
	return parentRunPath(category, name, id) + "/run.yaml"
}
func GetPathToCategory(category string) string {
	return "categories/" + category + "/category.yaml"
}