Documentation ¶
Index ¶
Constants ¶
View Source
const ( DefaultTitle = "Git Controller automated Pull Request" DefaultBaseBranch = "main" DefaultDescription = "Pull requested created automatically by OCM Git Controller." )
Variables ¶
View Source
var ErrNotSupported = errors.New("functionality not supported by provider")
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider interface { CreateRepository(ctx context.Context, obj mpasv1alpha1.Repository) error CreatePullRequest(ctx context.Context, branch string, sync deliveryv1alpha1.Sync, repository mpasv1alpha1.Repository) (int, error) CreateBranchProtection(ctx context.Context, obj mpasv1alpha1.Repository) error }
Provider adds the ability to create repositories and pull requests.
Click to show internal directories.
Click to hide internal directories.