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 CodeSamples ¶ added in v1.9.0
type CodeSamples struct {
Output string `yaml:"output"`
}
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"`
Ruleset *string `yaml:"ruleset,omitempty"`
}
Ensure your update schema/workflow.schema.json on changes
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"`
CodeSamples *CodeSamples `yaml:"codeSamples,omitempty"`
}
Ensure your update schema/workflow.schema.json on changes
func (Target) IsPublished ¶ added in v1.6.5
Click to show internal directories.
Click to hide internal directories.