Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitStatusProvider ¶
type CommitStatusProvider interface {
Set(ctx context.Context, commitStatus *v1alpha1.CommitStatus) (*v1alpha1.CommitStatus, error)
}
type GitOperationsProvider ¶
type PullRequestProvider ¶
type PullRequestProvider interface { Create(ctx context.Context, title, head, base, description string, pullRequest *v1alpha1.PullRequest) (string, error) Close(ctx context.Context, pullRequest *v1alpha1.PullRequest) error Update(ctx context.Context, title, description string, pullRequest *v1alpha1.PullRequest) error Merge(ctx context.Context, commitMessage string, pullRequest *v1alpha1.PullRequest) error FindOpen(ctx context.Context, pullRequest *v1alpha1.PullRequest) (bool, error) }
type ScmProviderType ¶
type ScmProviderType string
const ( Fake ScmProviderType = "fake" GitHub ScmProviderType = "github" GitLab ScmProviderType = "gitlab" )
Click to show internal directories.
Click to hide internal directories.