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
}
type GitTagDetails ¶
type ScmCommitInfo ¶
type ScmCommitInfo struct {
Sha string
Ref string
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.