Documentation
¶
Index ¶
- type Provider
- func (p *Provider) Commit(ctx context.Context, repoID string, options provider.CommitOptions) (string, error)
- func (p *Provider) CreateBranch(ctx context.Context, repoID, branch, fromRef string) error
- func (p *Provider) CreateRepository(ctx context.Context, repoID string) (*provider.Repository, error)
- func (p *Provider) DeleteBranch(ctx context.Context, repoID, branch string) error
- func (p *Provider) DeleteRepository(ctx context.Context, repoID string) error
- func (p *Provider) GetFile(ctx context.Context, repoID, path, ref string) (io.ReadCloser, error)
- func (p *Provider) GetRepositoryID(options provider.RepositoryOptions) string
- func (p *Provider) Head(ctx context.Context, repoID, ref string) (string, error)
- func (p *Provider) ListBranches(ctx context.Context, repoID, prefix string) ([]string, error)
- func (p *Provider) ListFiles(ctx context.Context, repoID, ref string) ([]string, error)
- func (p *Provider) MergeBranch(ctx context.Context, repoID, sourceBranch, targetBranch, message string, ...) (string, error)
- func (p *Provider) Name() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func (*Provider) CreateBranch ¶ added in v0.26.0
func (*Provider) CreateRepository ¶
func (*Provider) DeleteBranch ¶ added in v0.26.0
func (*Provider) DeleteRepository ¶
func (*Provider) GetRepositoryID ¶
func (p *Provider) GetRepositoryID(options provider.RepositoryOptions) string
func (*Provider) ListBranches ¶ added in v0.26.0
func (*Provider) MergeBranch ¶ added in v0.26.0
Click to show internal directories.
Click to hide internal directories.