Documentation ¶
Index ¶
Constants ¶
View Source
const (
WorkflowVersion = "1.0.0"
)
Variables ¶
View Source
var ErrNotFound = errors.New("could not find workflow.yaml")
Functions ¶
func GetTempDir ¶
func GetTempDir() string
func SanitizeFilePath ¶ added in v1.7.2
Types ¶
type Document ¶
func (Document) GetTempDownloadPath ¶
type Publishing ¶
type Publishing struct { NPM *NPM `yaml:"npm,omitempty"` PyPi *PyPi `yaml:"pypi,omitempty"` Packagist *Packagist `yaml:"packagist,omitempty"` Java *Java `yaml:"java,omitempty"` RubyGems *RubyGems `yaml:"rubygems,omitempty"` Nuget *Nuget `yaml:"nuget,omitempty"` }
func (Publishing) IsPublished ¶
func (p Publishing) IsPublished(target string) bool
func (Publishing) Validate ¶
func (p Publishing) Validate(target string) error
type Source ¶
type Source struct { Inputs []Document `yaml:"inputs"` Overlays []Document `yaml:"overlays,omitempty"` Output *string `yaml:"output,omitempty"` }
func (Source) GetOutputLocation ¶
func (Source) GetTempMergeLocation ¶
func (Source) GetTempOverlayLocation ¶
type Target ¶
type Target struct { Target string `yaml:"target"` Source string `yaml:"source"` Output *string `yaml:"output,omitempty"` Publishing *Publishing `yaml:"publish,omitempty"` }
func (Target) IsPublished ¶ added in v1.6.5
Click to show internal directories.
Click to hide internal directories.