gitexec

package
v0.23.0 Latest Latest
Warning

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

Go to latest
Published: Nov 23, 2023 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrExecGH = errors.New("simver.ErrExecGH")
)
View Source
var (
	ErrExecGit = errors.New("simver.ErrExecGit")
)

Functions

func BuildGitHubActionsProviders added in v0.11.0

func BuildLocalProviders added in v0.14.0

func NewGHProvider

func NewGHProvider(opts *GHProvierOpts) (simver.PRProvider, error)

func NewGitProvider

func NewGitProvider(opts *GitProviderOpts) (*gitProvider, error)

func WrapGitProviderInGithubActions added in v0.12.0

func WrapGitProviderInGithubActions(ref simver.GitProvider) (simver.GitProvider, error)

Types

type GHProvierOpts

type GHProvierOpts struct {
	GitHubToken  string
	RepoPath     string
	GHExecutable string
	Org          string
	Repo         string
}

type GitHubActionsPullRequestResolver added in v0.14.0

type GitHubActionsPullRequestResolver struct {
	// contains filtered or unexported fields
}

func (*GitHubActionsPullRequestResolver) CurrentPR added in v0.14.0

type GitProviderOpts

type GitProviderOpts struct {
	RepoPath      string
	Token         string
	User          string
	Email         string
	TokenEnvName  string
	GitExecutable string
	ReadOnly      bool
	Org           string
	Repo          string
}

type LocalPullRequestResolver added in v0.14.0

type LocalPullRequestResolver struct {
	// contains filtered or unexported fields
}

func (*LocalPullRequestResolver) CurrentPR added in v0.14.0

Jump to

Keyboard shortcuts

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