Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { IsPullRequest bool GitBaseInfo *ScmCommitInfo GitHeadInfo *ScmCommitInfo GitParentPath string GitLocalPath string GitLocalBranch string GitRemote string GitNearestTag *GitTagDetails ReleaseVersion string ReleaseCommit string ReleaseAssets []ScmReleaseAsset //Engine specific pipeline data GolangGoPath string }
type GitTagDetails ¶
type ScmCommitInfo ¶
type ScmCommitInfo struct { Sha string //Commit Sha Ref string //Commit Branch Repo *ScmRepoInfo }
func (*ScmCommitInfo) Validate ¶
func (i *ScmCommitInfo) Validate() error
TODO: validation almost needs to be source specific (or inherit from this base function), because source methods may require additional attributes, while these base payload keys are required for general step functions.
type ScmReleaseAsset ¶
type ScmRepoInfo ¶
Click to show internal directories.
Click to hide internal directories.