bitriseapi

package
v0.0.0-...-399de1b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2025 License: MIT Imports: 12 Imported by: 1

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL