Documentation
¶
Index ¶
- type Client
- func (_mock *Client) ChangedFiles(revision string, targetRevision string) ([]string, error)
- func (_mock *Client) Checkout(revision string, submoduleEnabled bool) (string, error)
- func (_mock *Client) CheckoutOrNew(branch string, base string, submoduleEnabled bool) (string, error)
- func (_mock *Client) CheckoutOrOrphan(branch string, submoduleEnabled bool) (string, error)
- func (_mock *Client) CommitAndPush(branch string, message string) (string, error)
- func (_mock *Client) CommitSHA() (string, error)
- func (_m *Client) EXPECT() *Client_Expecter
- func (_mock *Client) Fetch(revision string) error
- func (_mock *Client) Init() error
- func (_mock *Client) IsAnnotatedTag(s string) bool
- func (_mock *Client) IsRevisionPresent(revision string) bool
- func (_mock *Client) LsFiles(path string, enableNewGitFileGlobbing bool) ([]string, error)
- func (_mock *Client) LsLargeFiles() ([]string, error)
- func (_mock *Client) LsRefs() (*git.Refs, error)
- func (_mock *Client) LsRemote(revision string) (string, error)
- func (_mock *Client) RemoveContents(paths []string) (string, error)
- func (_mock *Client) RevisionMetadata(revision string) (*git.RevisionMetadata, error)
- func (_mock *Client) Root() string
- func (_mock *Client) SetAuthor(name string, email string) (string, error)
- func (_mock *Client) Submodule() error
- func (_mock *Client) VerifyCommitSignature(s string) (string, error)
- type Client_ChangedFiles_Call
- func (_c *Client_ChangedFiles_Call) Return(strings []string, err error) *Client_ChangedFiles_Call
- func (_c *Client_ChangedFiles_Call) Run(run func(revision string, targetRevision string)) *Client_ChangedFiles_Call
- func (_c *Client_ChangedFiles_Call) RunAndReturn(run func(revision string, targetRevision string) ([]string, error)) *Client_ChangedFiles_Call
- type Client_CheckoutOrNew_Call
- func (_c *Client_CheckoutOrNew_Call) Return(s string, err error) *Client_CheckoutOrNew_Call
- func (_c *Client_CheckoutOrNew_Call) Run(run func(branch string, base string, submoduleEnabled bool)) *Client_CheckoutOrNew_Call
- func (_c *Client_CheckoutOrNew_Call) RunAndReturn(run func(branch string, base string, submoduleEnabled bool) (string, error)) *Client_CheckoutOrNew_Call
- type Client_CheckoutOrOrphan_Call
- func (_c *Client_CheckoutOrOrphan_Call) Return(s string, err error) *Client_CheckoutOrOrphan_Call
- func (_c *Client_CheckoutOrOrphan_Call) Run(run func(branch string, submoduleEnabled bool)) *Client_CheckoutOrOrphan_Call
- func (_c *Client_CheckoutOrOrphan_Call) RunAndReturn(run func(branch string, submoduleEnabled bool) (string, error)) *Client_CheckoutOrOrphan_Call
- type Client_Checkout_Call
- func (_c *Client_Checkout_Call) Return(s string, err error) *Client_Checkout_Call
- func (_c *Client_Checkout_Call) Run(run func(revision string, submoduleEnabled bool)) *Client_Checkout_Call
- func (_c *Client_Checkout_Call) RunAndReturn(run func(revision string, submoduleEnabled bool) (string, error)) *Client_Checkout_Call
- type Client_CommitAndPush_Call
- func (_c *Client_CommitAndPush_Call) Return(s string, err error) *Client_CommitAndPush_Call
- func (_c *Client_CommitAndPush_Call) Run(run func(branch string, message string)) *Client_CommitAndPush_Call
- func (_c *Client_CommitAndPush_Call) RunAndReturn(run func(branch string, message string) (string, error)) *Client_CommitAndPush_Call
- type Client_CommitSHA_Call
- type Client_Expecter
- func (_e *Client_Expecter) ChangedFiles(revision interface{}, targetRevision interface{}) *Client_ChangedFiles_Call
- func (_e *Client_Expecter) Checkout(revision interface{}, submoduleEnabled interface{}) *Client_Checkout_Call
- func (_e *Client_Expecter) CheckoutOrNew(branch interface{}, base interface{}, submoduleEnabled interface{}) *Client_CheckoutOrNew_Call
- func (_e *Client_Expecter) CheckoutOrOrphan(branch interface{}, submoduleEnabled interface{}) *Client_CheckoutOrOrphan_Call
- func (_e *Client_Expecter) CommitAndPush(branch interface{}, message interface{}) *Client_CommitAndPush_Call
- func (_e *Client_Expecter) CommitSHA() *Client_CommitSHA_Call
- func (_e *Client_Expecter) Fetch(revision interface{}) *Client_Fetch_Call
- func (_e *Client_Expecter) Init() *Client_Init_Call
- func (_e *Client_Expecter) IsAnnotatedTag(s interface{}) *Client_IsAnnotatedTag_Call
- func (_e *Client_Expecter) IsRevisionPresent(revision interface{}) *Client_IsRevisionPresent_Call
- func (_e *Client_Expecter) LsFiles(path interface{}, enableNewGitFileGlobbing interface{}) *Client_LsFiles_Call
- func (_e *Client_Expecter) LsLargeFiles() *Client_LsLargeFiles_Call
- func (_e *Client_Expecter) LsRefs() *Client_LsRefs_Call
- func (_e *Client_Expecter) LsRemote(revision interface{}) *Client_LsRemote_Call
- func (_e *Client_Expecter) RemoveContents(paths interface{}) *Client_RemoveContents_Call
- func (_e *Client_Expecter) RevisionMetadata(revision interface{}) *Client_RevisionMetadata_Call
- func (_e *Client_Expecter) Root() *Client_Root_Call
- func (_e *Client_Expecter) SetAuthor(name interface{}, email interface{}) *Client_SetAuthor_Call
- func (_e *Client_Expecter) Submodule() *Client_Submodule_Call
- func (_e *Client_Expecter) VerifyCommitSignature(s interface{}) *Client_VerifyCommitSignature_Call
- type Client_Fetch_Call
- type Client_Init_Call
- type Client_IsAnnotatedTag_Call
- type Client_IsRevisionPresent_Call
- func (_c *Client_IsRevisionPresent_Call) Return(b bool) *Client_IsRevisionPresent_Call
- func (_c *Client_IsRevisionPresent_Call) Run(run func(revision string)) *Client_IsRevisionPresent_Call
- func (_c *Client_IsRevisionPresent_Call) RunAndReturn(run func(revision string) bool) *Client_IsRevisionPresent_Call
- type Client_LsFiles_Call
- func (_c *Client_LsFiles_Call) Return(strings []string, err error) *Client_LsFiles_Call
- func (_c *Client_LsFiles_Call) Run(run func(path string, enableNewGitFileGlobbing bool)) *Client_LsFiles_Call
- func (_c *Client_LsFiles_Call) RunAndReturn(run func(path string, enableNewGitFileGlobbing bool) ([]string, error)) *Client_LsFiles_Call
- type Client_LsLargeFiles_Call
- type Client_LsRefs_Call
- type Client_LsRemote_Call
- type Client_RemoveContents_Call
- func (_c *Client_RemoveContents_Call) Return(s string, err error) *Client_RemoveContents_Call
- func (_c *Client_RemoveContents_Call) Run(run func(paths []string)) *Client_RemoveContents_Call
- func (_c *Client_RemoveContents_Call) RunAndReturn(run func(paths []string) (string, error)) *Client_RemoveContents_Call
- type Client_RevisionMetadata_Call
- func (_c *Client_RevisionMetadata_Call) Return(revisionMetadata *git.RevisionMetadata, err error) *Client_RevisionMetadata_Call
- func (_c *Client_RevisionMetadata_Call) Run(run func(revision string)) *Client_RevisionMetadata_Call
- func (_c *Client_RevisionMetadata_Call) RunAndReturn(run func(revision string) (*git.RevisionMetadata, error)) *Client_RevisionMetadata_Call
- type Client_Root_Call
- type Client_SetAuthor_Call
- func (_c *Client_SetAuthor_Call) Return(s string, err error) *Client_SetAuthor_Call
- func (_c *Client_SetAuthor_Call) Run(run func(name string, email string)) *Client_SetAuthor_Call
- func (_c *Client_SetAuthor_Call) RunAndReturn(run func(name string, email string) (string, error)) *Client_SetAuthor_Call
- type Client_Submodule_Call
- type Client_VerifyCommitSignature_Call
- func (_c *Client_VerifyCommitSignature_Call) Return(s1 string, err error) *Client_VerifyCommitSignature_Call
- func (_c *Client_VerifyCommitSignature_Call) Run(run func(s string)) *Client_VerifyCommitSignature_Call
- func (_c *Client_VerifyCommitSignature_Call) RunAndReturn(run func(s string) (string, error)) *Client_VerifyCommitSignature_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) ChangedFiles ¶
ChangedFiles provides a mock function for the type Client
func (*Client) CheckoutOrNew ¶
func (_mock *Client) CheckoutOrNew(branch string, base string, submoduleEnabled bool) (string, error)
CheckoutOrNew provides a mock function for the type Client
func (*Client) CheckoutOrOrphan ¶
CheckoutOrOrphan provides a mock function for the type Client
func (*Client) CommitAndPush ¶
CommitAndPush provides a mock function for the type Client
func (*Client) EXPECT ¶ added in v3.1.0
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) IsAnnotatedTag ¶
IsAnnotatedTag provides a mock function for the type Client
func (*Client) IsRevisionPresent ¶
IsRevisionPresent provides a mock function for the type Client
func (*Client) LsLargeFiles ¶
LsLargeFiles provides a mock function for the type Client
func (*Client) RemoveContents ¶
RemoveContents provides a mock function for the type Client
func (*Client) RevisionMetadata ¶
func (_mock *Client) RevisionMetadata(revision string) (*git.RevisionMetadata, error)
RevisionMetadata provides a mock function for the type Client
type Client_ChangedFiles_Call ¶ added in v3.1.0
Client_ChangedFiles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ChangedFiles'
func (*Client_ChangedFiles_Call) Return ¶ added in v3.1.0
func (_c *Client_ChangedFiles_Call) Return(strings []string, err error) *Client_ChangedFiles_Call
func (*Client_ChangedFiles_Call) Run ¶ added in v3.1.0
func (_c *Client_ChangedFiles_Call) Run(run func(revision string, targetRevision string)) *Client_ChangedFiles_Call
func (*Client_ChangedFiles_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_ChangedFiles_Call) RunAndReturn(run func(revision string, targetRevision string) ([]string, error)) *Client_ChangedFiles_Call
type Client_CheckoutOrNew_Call ¶ added in v3.1.0
Client_CheckoutOrNew_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckoutOrNew'
func (*Client_CheckoutOrNew_Call) Return ¶ added in v3.1.0
func (_c *Client_CheckoutOrNew_Call) Return(s string, err error) *Client_CheckoutOrNew_Call
func (*Client_CheckoutOrNew_Call) Run ¶ added in v3.1.0
func (_c *Client_CheckoutOrNew_Call) Run(run func(branch string, base string, submoduleEnabled bool)) *Client_CheckoutOrNew_Call
func (*Client_CheckoutOrNew_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_CheckoutOrNew_Call) RunAndReturn(run func(branch string, base string, submoduleEnabled bool) (string, error)) *Client_CheckoutOrNew_Call
type Client_CheckoutOrOrphan_Call ¶ added in v3.1.0
Client_CheckoutOrOrphan_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckoutOrOrphan'
func (*Client_CheckoutOrOrphan_Call) Return ¶ added in v3.1.0
func (_c *Client_CheckoutOrOrphan_Call) Return(s string, err error) *Client_CheckoutOrOrphan_Call
func (*Client_CheckoutOrOrphan_Call) Run ¶ added in v3.1.0
func (_c *Client_CheckoutOrOrphan_Call) Run(run func(branch string, submoduleEnabled bool)) *Client_CheckoutOrOrphan_Call
func (*Client_CheckoutOrOrphan_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_CheckoutOrOrphan_Call) RunAndReturn(run func(branch string, submoduleEnabled bool) (string, error)) *Client_CheckoutOrOrphan_Call
type Client_Checkout_Call ¶ added in v3.1.0
Client_Checkout_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Checkout'
func (*Client_Checkout_Call) Return ¶ added in v3.1.0
func (_c *Client_Checkout_Call) Return(s string, err error) *Client_Checkout_Call
func (*Client_Checkout_Call) Run ¶ added in v3.1.0
func (_c *Client_Checkout_Call) Run(run func(revision string, submoduleEnabled bool)) *Client_Checkout_Call
func (*Client_Checkout_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_Checkout_Call) RunAndReturn(run func(revision string, submoduleEnabled bool) (string, error)) *Client_Checkout_Call
type Client_CommitAndPush_Call ¶ added in v3.1.0
Client_CommitAndPush_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CommitAndPush'
func (*Client_CommitAndPush_Call) Return ¶ added in v3.1.0
func (_c *Client_CommitAndPush_Call) Return(s string, err error) *Client_CommitAndPush_Call
func (*Client_CommitAndPush_Call) Run ¶ added in v3.1.0
func (_c *Client_CommitAndPush_Call) Run(run func(branch string, message string)) *Client_CommitAndPush_Call
func (*Client_CommitAndPush_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_CommitAndPush_Call) RunAndReturn(run func(branch string, message string) (string, error)) *Client_CommitAndPush_Call
type Client_CommitSHA_Call ¶ added in v3.1.0
Client_CommitSHA_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CommitSHA'
func (*Client_CommitSHA_Call) Return ¶ added in v3.1.0
func (_c *Client_CommitSHA_Call) Return(s string, err error) *Client_CommitSHA_Call
func (*Client_CommitSHA_Call) Run ¶ added in v3.1.0
func (_c *Client_CommitSHA_Call) Run(run func()) *Client_CommitSHA_Call
func (*Client_CommitSHA_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_CommitSHA_Call) RunAndReturn(run func() (string, error)) *Client_CommitSHA_Call
type Client_Expecter ¶ added in v3.1.0
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) ChangedFiles ¶ added in v3.1.0
func (_e *Client_Expecter) ChangedFiles(revision interface{}, targetRevision interface{}) *Client_ChangedFiles_Call
ChangedFiles is a helper method to define mock.On call
- revision string
- targetRevision string
func (*Client_Expecter) Checkout ¶ added in v3.1.0
func (_e *Client_Expecter) Checkout(revision interface{}, submoduleEnabled interface{}) *Client_Checkout_Call
Checkout is a helper method to define mock.On call
- revision string
- submoduleEnabled bool
func (*Client_Expecter) CheckoutOrNew ¶ added in v3.1.0
func (_e *Client_Expecter) CheckoutOrNew(branch interface{}, base interface{}, submoduleEnabled interface{}) *Client_CheckoutOrNew_Call
CheckoutOrNew is a helper method to define mock.On call
- branch string
- base string
- submoduleEnabled bool
func (*Client_Expecter) CheckoutOrOrphan ¶ added in v3.1.0
func (_e *Client_Expecter) CheckoutOrOrphan(branch interface{}, submoduleEnabled interface{}) *Client_CheckoutOrOrphan_Call
CheckoutOrOrphan is a helper method to define mock.On call
- branch string
- submoduleEnabled bool
func (*Client_Expecter) CommitAndPush ¶ added in v3.1.0
func (_e *Client_Expecter) CommitAndPush(branch interface{}, message interface{}) *Client_CommitAndPush_Call
CommitAndPush is a helper method to define mock.On call
- branch string
- message string
func (*Client_Expecter) CommitSHA ¶ added in v3.1.0
func (_e *Client_Expecter) CommitSHA() *Client_CommitSHA_Call
CommitSHA is a helper method to define mock.On call
func (*Client_Expecter) Fetch ¶ added in v3.1.0
func (_e *Client_Expecter) Fetch(revision interface{}) *Client_Fetch_Call
Fetch is a helper method to define mock.On call
- revision string
func (*Client_Expecter) Init ¶ added in v3.1.0
func (_e *Client_Expecter) Init() *Client_Init_Call
Init is a helper method to define mock.On call
func (*Client_Expecter) IsAnnotatedTag ¶ added in v3.1.0
func (_e *Client_Expecter) IsAnnotatedTag(s interface{}) *Client_IsAnnotatedTag_Call
IsAnnotatedTag is a helper method to define mock.On call
- s string
func (*Client_Expecter) IsRevisionPresent ¶ added in v3.1.0
func (_e *Client_Expecter) IsRevisionPresent(revision interface{}) *Client_IsRevisionPresent_Call
IsRevisionPresent is a helper method to define mock.On call
- revision string
func (*Client_Expecter) LsFiles ¶ added in v3.1.0
func (_e *Client_Expecter) LsFiles(path interface{}, enableNewGitFileGlobbing interface{}) *Client_LsFiles_Call
LsFiles is a helper method to define mock.On call
- path string
- enableNewGitFileGlobbing bool
func (*Client_Expecter) LsLargeFiles ¶ added in v3.1.0
func (_e *Client_Expecter) LsLargeFiles() *Client_LsLargeFiles_Call
LsLargeFiles is a helper method to define mock.On call
func (*Client_Expecter) LsRefs ¶ added in v3.1.0
func (_e *Client_Expecter) LsRefs() *Client_LsRefs_Call
LsRefs is a helper method to define mock.On call
func (*Client_Expecter) LsRemote ¶ added in v3.1.0
func (_e *Client_Expecter) LsRemote(revision interface{}) *Client_LsRemote_Call
LsRemote is a helper method to define mock.On call
- revision string
func (*Client_Expecter) RemoveContents ¶ added in v3.1.0
func (_e *Client_Expecter) RemoveContents(paths interface{}) *Client_RemoveContents_Call
RemoveContents is a helper method to define mock.On call
- paths []string
func (*Client_Expecter) RevisionMetadata ¶ added in v3.1.0
func (_e *Client_Expecter) RevisionMetadata(revision interface{}) *Client_RevisionMetadata_Call
RevisionMetadata is a helper method to define mock.On call
- revision string
func (*Client_Expecter) Root ¶ added in v3.1.0
func (_e *Client_Expecter) Root() *Client_Root_Call
Root is a helper method to define mock.On call
func (*Client_Expecter) SetAuthor ¶ added in v3.1.0
func (_e *Client_Expecter) SetAuthor(name interface{}, email interface{}) *Client_SetAuthor_Call
SetAuthor is a helper method to define mock.On call
- name string
- email string
func (*Client_Expecter) Submodule ¶ added in v3.1.0
func (_e *Client_Expecter) Submodule() *Client_Submodule_Call
Submodule is a helper method to define mock.On call
func (*Client_Expecter) VerifyCommitSignature ¶ added in v3.1.0
func (_e *Client_Expecter) VerifyCommitSignature(s interface{}) *Client_VerifyCommitSignature_Call
VerifyCommitSignature is a helper method to define mock.On call
- s string
type Client_Fetch_Call ¶ added in v3.1.0
Client_Fetch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fetch'
func (*Client_Fetch_Call) Return ¶ added in v3.1.0
func (_c *Client_Fetch_Call) Return(err error) *Client_Fetch_Call
func (*Client_Fetch_Call) Run ¶ added in v3.1.0
func (_c *Client_Fetch_Call) Run(run func(revision string)) *Client_Fetch_Call
func (*Client_Fetch_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_Fetch_Call) RunAndReturn(run func(revision string) error) *Client_Fetch_Call
type Client_Init_Call ¶ added in v3.1.0
Client_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'
func (*Client_Init_Call) Return ¶ added in v3.1.0
func (_c *Client_Init_Call) Return(err error) *Client_Init_Call
func (*Client_Init_Call) Run ¶ added in v3.1.0
func (_c *Client_Init_Call) Run(run func()) *Client_Init_Call
func (*Client_Init_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_Init_Call) RunAndReturn(run func() error) *Client_Init_Call
type Client_IsAnnotatedTag_Call ¶ added in v3.1.0
Client_IsAnnotatedTag_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsAnnotatedTag'
func (*Client_IsAnnotatedTag_Call) Return ¶ added in v3.1.0
func (_c *Client_IsAnnotatedTag_Call) Return(b bool) *Client_IsAnnotatedTag_Call
func (*Client_IsAnnotatedTag_Call) Run ¶ added in v3.1.0
func (_c *Client_IsAnnotatedTag_Call) Run(run func(s string)) *Client_IsAnnotatedTag_Call
func (*Client_IsAnnotatedTag_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_IsAnnotatedTag_Call) RunAndReturn(run func(s string) bool) *Client_IsAnnotatedTag_Call
type Client_IsRevisionPresent_Call ¶ added in v3.1.0
Client_IsRevisionPresent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsRevisionPresent'
func (*Client_IsRevisionPresent_Call) Return ¶ added in v3.1.0
func (_c *Client_IsRevisionPresent_Call) Return(b bool) *Client_IsRevisionPresent_Call
func (*Client_IsRevisionPresent_Call) Run ¶ added in v3.1.0
func (_c *Client_IsRevisionPresent_Call) Run(run func(revision string)) *Client_IsRevisionPresent_Call
func (*Client_IsRevisionPresent_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_IsRevisionPresent_Call) RunAndReturn(run func(revision string) bool) *Client_IsRevisionPresent_Call
type Client_LsFiles_Call ¶ added in v3.1.0
Client_LsFiles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LsFiles'
func (*Client_LsFiles_Call) Return ¶ added in v3.1.0
func (_c *Client_LsFiles_Call) Return(strings []string, err error) *Client_LsFiles_Call
func (*Client_LsFiles_Call) Run ¶ added in v3.1.0
func (_c *Client_LsFiles_Call) Run(run func(path string, enableNewGitFileGlobbing bool)) *Client_LsFiles_Call
func (*Client_LsFiles_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_LsFiles_Call) RunAndReturn(run func(path string, enableNewGitFileGlobbing bool) ([]string, error)) *Client_LsFiles_Call
type Client_LsLargeFiles_Call ¶ added in v3.1.0
Client_LsLargeFiles_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LsLargeFiles'
func (*Client_LsLargeFiles_Call) Return ¶ added in v3.1.0
func (_c *Client_LsLargeFiles_Call) Return(strings []string, err error) *Client_LsLargeFiles_Call
func (*Client_LsLargeFiles_Call) Run ¶ added in v3.1.0
func (_c *Client_LsLargeFiles_Call) Run(run func()) *Client_LsLargeFiles_Call
func (*Client_LsLargeFiles_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_LsLargeFiles_Call) RunAndReturn(run func() ([]string, error)) *Client_LsLargeFiles_Call
type Client_LsRefs_Call ¶ added in v3.1.0
Client_LsRefs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LsRefs'
func (*Client_LsRefs_Call) Return ¶ added in v3.1.0
func (_c *Client_LsRefs_Call) Return(refs *git.Refs, err error) *Client_LsRefs_Call
func (*Client_LsRefs_Call) Run ¶ added in v3.1.0
func (_c *Client_LsRefs_Call) Run(run func()) *Client_LsRefs_Call
func (*Client_LsRefs_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_LsRefs_Call) RunAndReturn(run func() (*git.Refs, error)) *Client_LsRefs_Call
type Client_LsRemote_Call ¶ added in v3.1.0
Client_LsRemote_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LsRemote'
func (*Client_LsRemote_Call) Return ¶ added in v3.1.0
func (_c *Client_LsRemote_Call) Return(s string, err error) *Client_LsRemote_Call
func (*Client_LsRemote_Call) Run ¶ added in v3.1.0
func (_c *Client_LsRemote_Call) Run(run func(revision string)) *Client_LsRemote_Call
func (*Client_LsRemote_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_LsRemote_Call) RunAndReturn(run func(revision string) (string, error)) *Client_LsRemote_Call
type Client_RemoveContents_Call ¶ added in v3.1.0
Client_RemoveContents_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveContents'
func (*Client_RemoveContents_Call) Return ¶ added in v3.1.0
func (_c *Client_RemoveContents_Call) Return(s string, err error) *Client_RemoveContents_Call
func (*Client_RemoveContents_Call) Run ¶ added in v3.1.0
func (_c *Client_RemoveContents_Call) Run(run func(paths []string)) *Client_RemoveContents_Call
func (*Client_RemoveContents_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_RemoveContents_Call) RunAndReturn(run func(paths []string) (string, error)) *Client_RemoveContents_Call
type Client_RevisionMetadata_Call ¶ added in v3.1.0
Client_RevisionMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RevisionMetadata'
func (*Client_RevisionMetadata_Call) Return ¶ added in v3.1.0
func (_c *Client_RevisionMetadata_Call) Return(revisionMetadata *git.RevisionMetadata, err error) *Client_RevisionMetadata_Call
func (*Client_RevisionMetadata_Call) Run ¶ added in v3.1.0
func (_c *Client_RevisionMetadata_Call) Run(run func(revision string)) *Client_RevisionMetadata_Call
func (*Client_RevisionMetadata_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_RevisionMetadata_Call) RunAndReturn(run func(revision string) (*git.RevisionMetadata, error)) *Client_RevisionMetadata_Call
type Client_Root_Call ¶ added in v3.1.0
Client_Root_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Root'
func (*Client_Root_Call) Return ¶ added in v3.1.0
func (_c *Client_Root_Call) Return(s string) *Client_Root_Call
func (*Client_Root_Call) Run ¶ added in v3.1.0
func (_c *Client_Root_Call) Run(run func()) *Client_Root_Call
func (*Client_Root_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_Root_Call) RunAndReturn(run func() string) *Client_Root_Call
type Client_SetAuthor_Call ¶ added in v3.1.0
Client_SetAuthor_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAuthor'
func (*Client_SetAuthor_Call) Return ¶ added in v3.1.0
func (_c *Client_SetAuthor_Call) Return(s string, err error) *Client_SetAuthor_Call
func (*Client_SetAuthor_Call) Run ¶ added in v3.1.0
func (_c *Client_SetAuthor_Call) Run(run func(name string, email string)) *Client_SetAuthor_Call
func (*Client_SetAuthor_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_SetAuthor_Call) RunAndReturn(run func(name string, email string) (string, error)) *Client_SetAuthor_Call
type Client_Submodule_Call ¶ added in v3.1.0
Client_Submodule_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Submodule'
func (*Client_Submodule_Call) Return ¶ added in v3.1.0
func (_c *Client_Submodule_Call) Return(err error) *Client_Submodule_Call
func (*Client_Submodule_Call) Run ¶ added in v3.1.0
func (_c *Client_Submodule_Call) Run(run func()) *Client_Submodule_Call
func (*Client_Submodule_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_Submodule_Call) RunAndReturn(run func() error) *Client_Submodule_Call
type Client_VerifyCommitSignature_Call ¶ added in v3.1.0
Client_VerifyCommitSignature_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyCommitSignature'
func (*Client_VerifyCommitSignature_Call) Return ¶ added in v3.1.0
func (_c *Client_VerifyCommitSignature_Call) Return(s1 string, err error) *Client_VerifyCommitSignature_Call
func (*Client_VerifyCommitSignature_Call) Run ¶ added in v3.1.0
func (_c *Client_VerifyCommitSignature_Call) Run(run func(s string)) *Client_VerifyCommitSignature_Call
func (*Client_VerifyCommitSignature_Call) RunAndReturn ¶ added in v3.1.0
func (_c *Client_VerifyCommitSignature_Call) RunAndReturn(run func(s string) (string, error)) *Client_VerifyCommitSignature_Call