Versions in this module Expand all Collapse all v1 v1.55.0 Sep 11, 2026 v1.54.0 Sep 8, 2026 Changes in this version + func HostPrefixedSlug(remoteURL string) string + func HostPrefixedSlugForHost(remoteURL, host string) string + func RepoSlug(remoteURL string) string + type CmdFactory func(ctx context.Context, name string, args ...string) *exec.Cmd + type Host struct + func New(cmd CmdFactory, cliAvailable func() bool, host, repo string) *Host + func NewWithFork(cmd CmdFactory, cliAvailable func() bool, host, repo, forkRepo string) *Host + func (h *Host) Available(ctx context.Context) error + func (h *Host) Capabilities() scm.Capabilities + func (h *Host) CreatePR(ctx context.Context, branch, base string, content scm.PRContent) (*scm.PR, error) + func (h *Host) FetchFailedCheckLogs(ctx context.Context, _ *scm.PR, branch, headSHA string, failingNames []string) (string, error) + func (h *Host) FindAttestationPublicationIdentity(ctx context.Context, headSHA, publicationNonce string) (scm.CheckAttemptIdentity, bool, error) + func (h *Host) FindPR(ctx context.Context, branch, base string) (*scm.PR, error) + func (h *Host) GetCheckAttemptIdentity(ctx context.Context, check scm.Check) (scm.CheckAttemptIdentity, error) + func (h *Host) GetChecks(ctx context.Context, pr *scm.PR) ([]scm.Check, error) + func (h *Host) GetMergeableState(ctx context.Context, pr *scm.PR) (scm.MergeableState, error) + func (h *Host) GetPRState(ctx context.Context, pr *scm.PR) (scm.PRState, error) + func (h *Host) Provider() scm.Provider + func (h *Host) RerunCheck(ctx context.Context, _ *scm.PR, check scm.Check) error + func (h *Host) UpdatePR(ctx context.Context, pr *scm.PR, content scm.PRContent) (*scm.PR, error)