Documentation ¶
Index ¶
- type Provider
- type Repository
- func (_m *Repository) Add(ctx context.Context, pattern string) error
- func (_m *Repository) AddRemote(ctx context.Context, name string, url string) error
- func (_m *Repository) Commit(ctx context.Context, msg string) (string, error)
- func (_m *Repository) IsNewRepo() (bool, error)
- func (_m *Repository) Push(_a0 context.Context, _a1 *git.PushOptions) error
- func (_m *Repository) Root() (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Provider ¶
Provider is an autogenerated mock type for the Provider type
func (*Provider) CreateRepository ¶
func (_m *Provider) CreateRepository(ctx context.Context, opts *git.CreateRepoOptions) (string, error)
CreateRepository provides a mock function with given fields: ctx, opts
func (*Provider) GetRepository ¶
GetRepository provides a mock function with given fields: ctx, opts
type Repository ¶
Repository is an autogenerated mock type for the Repository type
func (*Repository) Add ¶
func (_m *Repository) Add(ctx context.Context, pattern string) error
Add provides a mock function with given fields: ctx, pattern
func (*Repository) IsNewRepo ¶
func (_m *Repository) IsNewRepo() (bool, error)
IsNewRepo provides a mock function with given fields:
func (*Repository) Push ¶
func (_m *Repository) Push(_a0 context.Context, _a1 *git.PushOptions) error
Push provides a mock function with given fields: _a0, _a1
func (*Repository) Root ¶
func (_m *Repository) Root() (string, error)
Root provides a mock function with given fields:
Click to show internal directories.
Click to hide internal directories.