Documentation ¶
Index ¶
- type Provider
- func (p *Provider) CreateBranchProtection(ctx context.Context, obj mpasv1alpha1.Repository) error
- func (p *Provider) CreatePullRequest(ctx context.Context, branch string, sync deliveryv1alpha1.Sync, ...) (int, error)
- func (p *Provider) CreatePullRequestCallArgsForNumber(i int) ([]any, error)
- func (p *Provider) CreateRepository(ctx context.Context, obj mpasv1alpha1.Repository) error
- func (p *Provider) CreateRepositoryCallArgsForNumber(i int) ([]any, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct { CreateRepositoryErr error CreateRepositoryCalledWith map[int][]any CreateRepositoryCallCount int CreatePullRequestErr error CreatePullRequestID int CreatePullRequestCalledWith map[int][]any CreatePullRequestCallCount int }
func NewProvider ¶
func NewProvider() *Provider
func (*Provider) CreateBranchProtection ¶ added in v0.4.1
func (p *Provider) CreateBranchProtection(ctx context.Context, obj mpasv1alpha1.Repository) error
func (*Provider) CreatePullRequest ¶
func (p *Provider) CreatePullRequest(ctx context.Context, branch string, sync deliveryv1alpha1.Sync, repository mpasv1alpha1.Repository) (int, error)
func (*Provider) CreatePullRequestCallArgsForNumber ¶
func (*Provider) CreateRepository ¶
func (p *Provider) CreateRepository(ctx context.Context, obj mpasv1alpha1.Repository) error
Click to show internal directories.
Click to hide internal directories.