Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeRepository
- func (fake *FakeRepository) Branches() (storer.ReferenceIter, error)
- func (fake *FakeRepository) BranchesCallCount() int
- func (fake *FakeRepository) BranchesCalls(stub func() (storer.ReferenceIter, error))
- func (fake *FakeRepository) BranchesReturns(result1 storer.ReferenceIter, result2 error)
- func (fake *FakeRepository) BranchesReturnsOnCall(i int, result1 storer.ReferenceIter, result2 error)
- func (fake *FakeRepository) CommitObject(arg1 plumbing.Hash) (*object.Commit, error)
- func (fake *FakeRepository) CommitObjectArgsForCall(i int) plumbing.Hash
- func (fake *FakeRepository) CommitObjectCallCount() int
- func (fake *FakeRepository) CommitObjectCalls(stub func(plumbing.Hash) (*object.Commit, error))
- func (fake *FakeRepository) CommitObjectReturns(result1 *object.Commit, result2 error)
- func (fake *FakeRepository) CommitObjectReturnsOnCall(i int, result1 *object.Commit, result2 error)
- func (fake *FakeRepository) CreateRemote(arg1 *config.RemoteConfig) (*gita.Remote, error)
- func (fake *FakeRepository) CreateRemoteArgsForCall(i int) *config.RemoteConfig
- func (fake *FakeRepository) CreateRemoteCallCount() int
- func (fake *FakeRepository) CreateRemoteCalls(stub func(*config.RemoteConfig) (*gita.Remote, error))
- func (fake *FakeRepository) CreateRemoteReturns(result1 *gita.Remote, result2 error)
- func (fake *FakeRepository) CreateRemoteReturnsOnCall(i int, result1 *gita.Remote, result2 error)
- func (fake *FakeRepository) CreateTag(arg1 string, arg2 plumbing.Hash, arg3 *gita.CreateTagOptions) (*plumbing.Reference, error)
- func (fake *FakeRepository) CreateTagArgsForCall(i int) (string, plumbing.Hash, *gita.CreateTagOptions)
- func (fake *FakeRepository) CreateTagCallCount() int
- func (fake *FakeRepository) CreateTagCalls(...)
- func (fake *FakeRepository) CreateTagReturns(result1 *plumbing.Reference, result2 error)
- func (fake *FakeRepository) CreateTagReturnsOnCall(i int, result1 *plumbing.Reference, result2 error)
- func (fake *FakeRepository) DeleteRemote(arg1 string) error
- func (fake *FakeRepository) DeleteRemoteArgsForCall(i int) string
- func (fake *FakeRepository) DeleteRemoteCallCount() int
- func (fake *FakeRepository) DeleteRemoteCalls(stub func(string) error)
- func (fake *FakeRepository) DeleteRemoteReturns(result1 error)
- func (fake *FakeRepository) DeleteRemoteReturnsOnCall(i int, result1 error)
- func (fake *FakeRepository) Head() (*plumbing.Reference, error)
- func (fake *FakeRepository) HeadCallCount() int
- func (fake *FakeRepository) HeadCalls(stub func() (*plumbing.Reference, error))
- func (fake *FakeRepository) HeadReturns(result1 *plumbing.Reference, result2 error)
- func (fake *FakeRepository) HeadReturnsOnCall(i int, result1 *plumbing.Reference, result2 error)
- func (fake *FakeRepository) Invocations() map[string][][]interface{}
- func (fake *FakeRepository) Remote(arg1 string) (*gita.Remote, error)
- func (fake *FakeRepository) RemoteArgsForCall(i int) string
- func (fake *FakeRepository) RemoteCallCount() int
- func (fake *FakeRepository) RemoteCalls(stub func(string) (*gita.Remote, error))
- func (fake *FakeRepository) RemoteReturns(result1 *gita.Remote, result2 error)
- func (fake *FakeRepository) RemoteReturnsOnCall(i int, result1 *gita.Remote, result2 error)
- func (fake *FakeRepository) Remotes() ([]*gita.Remote, error)
- func (fake *FakeRepository) RemotesCallCount() int
- func (fake *FakeRepository) RemotesCalls(stub func() ([]*gita.Remote, error))
- func (fake *FakeRepository) RemotesReturns(result1 []*gita.Remote, result2 error)
- func (fake *FakeRepository) RemotesReturnsOnCall(i int, result1 []*gita.Remote, result2 error)
- func (fake *FakeRepository) ResolveRevision(arg1 plumbing.Revision) (*plumbing.Hash, error)
- func (fake *FakeRepository) ResolveRevisionArgsForCall(i int) plumbing.Revision
- func (fake *FakeRepository) ResolveRevisionCallCount() int
- func (fake *FakeRepository) ResolveRevisionCalls(stub func(plumbing.Revision) (*plumbing.Hash, error))
- func (fake *FakeRepository) ResolveRevisionReturns(result1 *plumbing.Hash, result2 error)
- func (fake *FakeRepository) ResolveRevisionReturnsOnCall(i int, result1 *plumbing.Hash, result2 error)
- func (fake *FakeRepository) Tags() (storer.ReferenceIter, error)
- func (fake *FakeRepository) TagsCallCount() int
- func (fake *FakeRepository) TagsCalls(stub func() (storer.ReferenceIter, error))
- func (fake *FakeRepository) TagsReturns(result1 storer.ReferenceIter, result2 error)
- func (fake *FakeRepository) TagsReturnsOnCall(i int, result1 storer.ReferenceIter, result2 error)
- type FakeWorktree
- func (fake *FakeWorktree) Add(arg1 string) (plumbing.Hash, error)
- func (fake *FakeWorktree) AddArgsForCall(i int) string
- func (fake *FakeWorktree) AddCallCount() int
- func (fake *FakeWorktree) AddCalls(stub func(string) (plumbing.Hash, error))
- func (fake *FakeWorktree) AddReturns(result1 plumbing.Hash, result2 error)
- func (fake *FakeWorktree) AddReturnsOnCall(i int, result1 plumbing.Hash, result2 error)
- func (fake *FakeWorktree) Checkout(arg1 *gita.CheckoutOptions) error
- func (fake *FakeWorktree) CheckoutArgsForCall(i int) *gita.CheckoutOptions
- func (fake *FakeWorktree) CheckoutCallCount() int
- func (fake *FakeWorktree) CheckoutCalls(stub func(*gita.CheckoutOptions) error)
- func (fake *FakeWorktree) CheckoutReturns(result1 error)
- func (fake *FakeWorktree) CheckoutReturnsOnCall(i int, result1 error)
- func (fake *FakeWorktree) Commit(arg1 string, arg2 *gita.CommitOptions) (plumbing.Hash, error)
- func (fake *FakeWorktree) CommitArgsForCall(i int) (string, *gita.CommitOptions)
- func (fake *FakeWorktree) CommitCallCount() int
- func (fake *FakeWorktree) CommitCalls(stub func(string, *gita.CommitOptions) (plumbing.Hash, error))
- func (fake *FakeWorktree) CommitReturns(result1 plumbing.Hash, result2 error)
- func (fake *FakeWorktree) CommitReturnsOnCall(i int, result1 plumbing.Hash, result2 error)
- func (fake *FakeWorktree) Invocations() map[string][][]interface{}
- func (fake *FakeWorktree) Status() (gita.Status, error)
- func (fake *FakeWorktree) StatusCallCount() int
- func (fake *FakeWorktree) StatusCalls(stub func() (gita.Status, error))
- func (fake *FakeWorktree) StatusReturns(result1 gita.Status, result2 error)
- func (fake *FakeWorktree) StatusReturnsOnCall(i int, result1 gita.Status, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeRepository ¶
type FakeRepository struct { BranchesStub func() (storer.ReferenceIter, error) CommitObjectStub func(plumbing.Hash) (*object.Commit, error) CreateRemoteStub func(*config.RemoteConfig) (*gita.Remote, error) CreateTagStub func(string, plumbing.Hash, *gita.CreateTagOptions) (*plumbing.Reference, error) DeleteRemoteStub func(string) error HeadStub func() (*plumbing.Reference, error) RemoteStub func(string) (*gita.Remote, error) RemotesStub func() ([]*gita.Remote, error) ResolveRevisionStub func(plumbing.Revision) (*plumbing.Hash, error) TagsStub func() (storer.ReferenceIter, error) // contains filtered or unexported fields }
func (*FakeRepository) Branches ¶
func (fake *FakeRepository) Branches() (storer.ReferenceIter, error)
func (*FakeRepository) BranchesCallCount ¶
func (fake *FakeRepository) BranchesCallCount() int
func (*FakeRepository) BranchesCalls ¶
func (fake *FakeRepository) BranchesCalls(stub func() (storer.ReferenceIter, error))
func (*FakeRepository) BranchesReturns ¶
func (fake *FakeRepository) BranchesReturns(result1 storer.ReferenceIter, result2 error)
func (*FakeRepository) BranchesReturnsOnCall ¶
func (fake *FakeRepository) BranchesReturnsOnCall(i int, result1 storer.ReferenceIter, result2 error)
func (*FakeRepository) CommitObject ¶
func (*FakeRepository) CommitObjectArgsForCall ¶
func (fake *FakeRepository) CommitObjectArgsForCall(i int) plumbing.Hash
func (*FakeRepository) CommitObjectCallCount ¶
func (fake *FakeRepository) CommitObjectCallCount() int
func (*FakeRepository) CommitObjectCalls ¶
func (*FakeRepository) CommitObjectReturns ¶
func (fake *FakeRepository) CommitObjectReturns(result1 *object.Commit, result2 error)
func (*FakeRepository) CommitObjectReturnsOnCall ¶
func (fake *FakeRepository) CommitObjectReturnsOnCall(i int, result1 *object.Commit, result2 error)
func (*FakeRepository) CreateRemote ¶
func (fake *FakeRepository) CreateRemote(arg1 *config.RemoteConfig) (*gita.Remote, error)
func (*FakeRepository) CreateRemoteArgsForCall ¶
func (fake *FakeRepository) CreateRemoteArgsForCall(i int) *config.RemoteConfig
func (*FakeRepository) CreateRemoteCallCount ¶
func (fake *FakeRepository) CreateRemoteCallCount() int
func (*FakeRepository) CreateRemoteCalls ¶
func (fake *FakeRepository) CreateRemoteCalls(stub func(*config.RemoteConfig) (*gita.Remote, error))
func (*FakeRepository) CreateRemoteReturns ¶
func (fake *FakeRepository) CreateRemoteReturns(result1 *gita.Remote, result2 error)
func (*FakeRepository) CreateRemoteReturnsOnCall ¶
func (fake *FakeRepository) CreateRemoteReturnsOnCall(i int, result1 *gita.Remote, result2 error)
func (*FakeRepository) CreateTag ¶
func (fake *FakeRepository) CreateTag(arg1 string, arg2 plumbing.Hash, arg3 *gita.CreateTagOptions) (*plumbing.Reference, error)
func (*FakeRepository) CreateTagArgsForCall ¶
func (fake *FakeRepository) CreateTagArgsForCall(i int) (string, plumbing.Hash, *gita.CreateTagOptions)
func (*FakeRepository) CreateTagCallCount ¶
func (fake *FakeRepository) CreateTagCallCount() int
func (*FakeRepository) CreateTagCalls ¶
func (fake *FakeRepository) CreateTagCalls(stub func(string, plumbing.Hash, *gita.CreateTagOptions) (*plumbing.Reference, error))
func (*FakeRepository) CreateTagReturns ¶
func (fake *FakeRepository) CreateTagReturns(result1 *plumbing.Reference, result2 error)
func (*FakeRepository) CreateTagReturnsOnCall ¶
func (fake *FakeRepository) CreateTagReturnsOnCall(i int, result1 *plumbing.Reference, result2 error)
func (*FakeRepository) DeleteRemote ¶
func (fake *FakeRepository) DeleteRemote(arg1 string) error
func (*FakeRepository) DeleteRemoteArgsForCall ¶
func (fake *FakeRepository) DeleteRemoteArgsForCall(i int) string
func (*FakeRepository) DeleteRemoteCallCount ¶
func (fake *FakeRepository) DeleteRemoteCallCount() int
func (*FakeRepository) DeleteRemoteCalls ¶
func (fake *FakeRepository) DeleteRemoteCalls(stub func(string) error)
func (*FakeRepository) DeleteRemoteReturns ¶
func (fake *FakeRepository) DeleteRemoteReturns(result1 error)
func (*FakeRepository) DeleteRemoteReturnsOnCall ¶
func (fake *FakeRepository) DeleteRemoteReturnsOnCall(i int, result1 error)
func (*FakeRepository) HeadCallCount ¶
func (fake *FakeRepository) HeadCallCount() int
func (*FakeRepository) HeadCalls ¶
func (fake *FakeRepository) HeadCalls(stub func() (*plumbing.Reference, error))
func (*FakeRepository) HeadReturns ¶
func (fake *FakeRepository) HeadReturns(result1 *plumbing.Reference, result2 error)
func (*FakeRepository) HeadReturnsOnCall ¶
func (fake *FakeRepository) HeadReturnsOnCall(i int, result1 *plumbing.Reference, result2 error)
func (*FakeRepository) Invocations ¶
func (fake *FakeRepository) Invocations() map[string][][]interface{}
func (*FakeRepository) Remote ¶
func (fake *FakeRepository) Remote(arg1 string) (*gita.Remote, error)
func (*FakeRepository) RemoteArgsForCall ¶
func (fake *FakeRepository) RemoteArgsForCall(i int) string
func (*FakeRepository) RemoteCallCount ¶
func (fake *FakeRepository) RemoteCallCount() int
func (*FakeRepository) RemoteCalls ¶
func (fake *FakeRepository) RemoteCalls(stub func(string) (*gita.Remote, error))
func (*FakeRepository) RemoteReturns ¶
func (fake *FakeRepository) RemoteReturns(result1 *gita.Remote, result2 error)
func (*FakeRepository) RemoteReturnsOnCall ¶
func (fake *FakeRepository) RemoteReturnsOnCall(i int, result1 *gita.Remote, result2 error)
func (*FakeRepository) RemotesCallCount ¶
func (fake *FakeRepository) RemotesCallCount() int
func (*FakeRepository) RemotesCalls ¶
func (fake *FakeRepository) RemotesCalls(stub func() ([]*gita.Remote, error))
func (*FakeRepository) RemotesReturns ¶
func (fake *FakeRepository) RemotesReturns(result1 []*gita.Remote, result2 error)
func (*FakeRepository) RemotesReturnsOnCall ¶
func (fake *FakeRepository) RemotesReturnsOnCall(i int, result1 []*gita.Remote, result2 error)
func (*FakeRepository) ResolveRevision ¶
func (*FakeRepository) ResolveRevisionArgsForCall ¶
func (fake *FakeRepository) ResolveRevisionArgsForCall(i int) plumbing.Revision
func (*FakeRepository) ResolveRevisionCallCount ¶
func (fake *FakeRepository) ResolveRevisionCallCount() int
func (*FakeRepository) ResolveRevisionCalls ¶
func (*FakeRepository) ResolveRevisionReturns ¶
func (fake *FakeRepository) ResolveRevisionReturns(result1 *plumbing.Hash, result2 error)
func (*FakeRepository) ResolveRevisionReturnsOnCall ¶
func (fake *FakeRepository) ResolveRevisionReturnsOnCall(i int, result1 *plumbing.Hash, result2 error)
func (*FakeRepository) Tags ¶
func (fake *FakeRepository) Tags() (storer.ReferenceIter, error)
func (*FakeRepository) TagsCallCount ¶
func (fake *FakeRepository) TagsCallCount() int
func (*FakeRepository) TagsCalls ¶
func (fake *FakeRepository) TagsCalls(stub func() (storer.ReferenceIter, error))
func (*FakeRepository) TagsReturns ¶
func (fake *FakeRepository) TagsReturns(result1 storer.ReferenceIter, result2 error)
func (*FakeRepository) TagsReturnsOnCall ¶
func (fake *FakeRepository) TagsReturnsOnCall(i int, result1 storer.ReferenceIter, result2 error)
type FakeWorktree ¶
type FakeWorktree struct { AddStub func(string) (plumbing.Hash, error) CheckoutStub func(*gita.CheckoutOptions) error CommitStub func(string, *gita.CommitOptions) (plumbing.Hash, error) StatusStub func() (gita.Status, error) // contains filtered or unexported fields }
func (*FakeWorktree) AddArgsForCall ¶
func (fake *FakeWorktree) AddArgsForCall(i int) string
func (*FakeWorktree) AddCallCount ¶
func (fake *FakeWorktree) AddCallCount() int
func (*FakeWorktree) AddCalls ¶
func (fake *FakeWorktree) AddCalls(stub func(string) (plumbing.Hash, error))
func (*FakeWorktree) AddReturns ¶
func (fake *FakeWorktree) AddReturns(result1 plumbing.Hash, result2 error)
func (*FakeWorktree) AddReturnsOnCall ¶
func (fake *FakeWorktree) AddReturnsOnCall(i int, result1 plumbing.Hash, result2 error)
func (*FakeWorktree) Checkout ¶
func (fake *FakeWorktree) Checkout(arg1 *gita.CheckoutOptions) error
func (*FakeWorktree) CheckoutArgsForCall ¶
func (fake *FakeWorktree) CheckoutArgsForCall(i int) *gita.CheckoutOptions
func (*FakeWorktree) CheckoutCallCount ¶
func (fake *FakeWorktree) CheckoutCallCount() int
func (*FakeWorktree) CheckoutCalls ¶
func (fake *FakeWorktree) CheckoutCalls(stub func(*gita.CheckoutOptions) error)
func (*FakeWorktree) CheckoutReturns ¶
func (fake *FakeWorktree) CheckoutReturns(result1 error)
func (*FakeWorktree) CheckoutReturnsOnCall ¶
func (fake *FakeWorktree) CheckoutReturnsOnCall(i int, result1 error)
func (*FakeWorktree) Commit ¶
func (fake *FakeWorktree) Commit(arg1 string, arg2 *gita.CommitOptions) (plumbing.Hash, error)
func (*FakeWorktree) CommitArgsForCall ¶
func (fake *FakeWorktree) CommitArgsForCall(i int) (string, *gita.CommitOptions)
func (*FakeWorktree) CommitCallCount ¶
func (fake *FakeWorktree) CommitCallCount() int
func (*FakeWorktree) CommitCalls ¶
func (fake *FakeWorktree) CommitCalls(stub func(string, *gita.CommitOptions) (plumbing.Hash, error))
func (*FakeWorktree) CommitReturns ¶
func (fake *FakeWorktree) CommitReturns(result1 plumbing.Hash, result2 error)
func (*FakeWorktree) CommitReturnsOnCall ¶
func (fake *FakeWorktree) CommitReturnsOnCall(i int, result1 plumbing.Hash, result2 error)
func (*FakeWorktree) Invocations ¶
func (fake *FakeWorktree) Invocations() map[string][][]interface{}
func (*FakeWorktree) StatusCallCount ¶
func (fake *FakeWorktree) StatusCallCount() int
func (*FakeWorktree) StatusCalls ¶
func (fake *FakeWorktree) StatusCalls(stub func() (gita.Status, error))
func (*FakeWorktree) StatusReturns ¶
func (fake *FakeWorktree) StatusReturns(result1 gita.Status, result2 error)
func (*FakeWorktree) StatusReturnsOnCall ¶
func (fake *FakeWorktree) StatusReturnsOnCall(i int, result1 gita.Status, result2 error)
Click to show internal directories.
Click to hide internal directories.