Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MetadataFromStruct ¶
func MetadataFromStruct(forge metadata.ServerForge, repo *model.Repo, pipeline, last *model.Pipeline, workflow *model.Workflow, sysURL string) metadata.Metadata
MetadataFromStruct return the metadata from a pipeline will run with.
func SanitizePath ¶
Types ¶
type StepBuilder ¶
type StepBuilder struct { Repo *model.Repo Curr *model.Pipeline Last *model.Pipeline Netrc *model.Netrc Secs []*model.Secret Regs []*model.Registry Host string Yamls []*forge_types.FileMeta Envs map[string]string Forge metadata.ServerForge ProxyOpts compiler.ProxyOptions }
StepBuilder Takes the hook data and the yaml and returns in internal data model.
func (*StepBuilder) Build ¶
func (b *StepBuilder) Build() (items []*Item, errorsAndWarnings error)
Click to show internal directories.
Click to hide internal directories.