Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MergeRefChecker ¶
type MergeRefChecker interface { // IsMergeRefUpToDate returns true if the ref is safe to use in a checkout, and it reflects the latest state of the PR IsMergeRefUpToDate(ref string) (bool, error) }
func NewMergeRefChecker ¶
func NewMergeRefChecker(buildURL string, apiToken string, client *retryablehttp.Client, logger log.Logger, tracker tracker.StepTracker) MergeRefChecker
type PatchSource ¶
type PatchSource interface { // GetPRPatch fetches the git patch file of the PR (if available) and returns its local file path GetPRPatch() (string, error) }
func NewPatchSource ¶
func NewPatchSource(buildURL, apiToken string) PatchSource
Click to show internal directories.
Click to hide internal directories.