Documentation
¶
Index ¶
- type Client
- type CommitResponse
- type GetCommitResponse
- type ListFilesResponse
- type Provider
- func (p *Provider) Commit(ctx context.Context, repoID string, options provider.CommitOptions) (string, error)
- func (p *Provider) CreateRepository(ctx context.Context, repoID string) (*provider.Repository, error)
- func (p *Provider) DeleteRepository(ctx context.Context, repoID string) error
- func (p *Provider) GetFile(ctx context.Context, repoID string, path string) (io.ReadCloser, error)
- func (p *Provider) GetRepositoryID(options provider.RepositoryOptions) string
- func (p *Provider) Head(ctx context.Context, repoID string) (string, error)
- func (p *Provider) ListFiles(ctx context.Context, repoID string) ([]string, error)
- func (p *Provider) Name() string
- type RepoRequest
- type RepoResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommitResponse ¶
type GetCommitResponse ¶
type GetCommitResponse struct {
CommitSHA string `json:"commit_sha"`
}
type ListFilesResponse ¶
type Provider ¶
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶
func (*Provider) CreateRepository ¶
func (*Provider) DeleteRepository ¶
func (*Provider) GetRepositoryID ¶
func (p *Provider) GetRepositoryID(options provider.RepositoryOptions) string
type RepoRequest ¶
type RepoResponse ¶
Click to show internal directories.
Click to hide internal directories.