Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddDeployKeyOpts ¶ added in v0.9.2
type Client ¶ added in v0.9.0
type Client interface {
Add(filename string) error
Remove(filename string) error
Clone(ctx context.Context) error
Commit(message string) error
Push(ctx context.Context) error
Pull(ctx context.Context, branch string) error
Init() error
Branch(name string) error
ValidateRemoteExists(ctx context.Context) error
}
type CreateRepoOpts ¶
type DeleteRepoOpts ¶ added in v0.6.0
type GetRepoOpts ¶
type ProviderClient ¶ added in v0.9.0
type ProviderClient interface {
GetRepo(ctx context.Context) (repo *Repository, err error)
CreateRepo(ctx context.Context, opts CreateRepoOpts) (repo *Repository, err error)
DeleteRepo(ctx context.Context, opts DeleteRepoOpts) error
AddDeployKeyToRepo(ctx context.Context, opts AddDeployKeyOpts) error
Validate(ctx context.Context) error
PathExists(ctx context.Context, owner, repo, branch, path string) (bool, error)
}
type RemoteBranchDoesNotExistError ¶
func (*RemoteBranchDoesNotExistError) Error ¶
func (e *RemoteBranchDoesNotExistError) Error() string
type Repository ¶
type RepositoryDoesNotExistError ¶
type RepositoryDoesNotExistError struct {
Err error
// contains filtered or unexported fields
}
func (*RepositoryDoesNotExistError) Error ¶
func (e *RepositoryDoesNotExistError) Error() string
type RepositoryIsEmptyError ¶
type RepositoryIsEmptyError struct {
Repository string
}
func (*RepositoryIsEmptyError) Error ¶
func (e *RepositoryIsEmptyError) Error() string
type RepositoryUpToDateError ¶
type RepositoryUpToDateError struct{}
func (*RepositoryUpToDateError) Error ¶
func (e *RepositoryUpToDateError) Error() string
Directories
¶
| Path | Synopsis |
|---|---|
|
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
|
providers
|
|
|
github/mocks
Package mocks is a generated GoMock package.
|
Package mocks is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.