Help us shape the future of Go! Take the 2026 Go Developer Survey

mocks

package
v3.5.6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

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) AddAndPushNote added in v3.3.0

func (_mock *Client) AddAndPushNote(sha string, namespace string, note string) error

AddAndPushNote provides a mock function for the type Client

func (*Client) ChangedFiles

func (_mock *Client) ChangedFiles(revision string, targetRevision string) ([]string, error)

ChangedFiles provides a mock function for the type Client

func (*Client) Checkout

func (_mock *Client) Checkout(revision string, submoduleEnabled bool, cleanState bool) (string, error)

Checkout 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

func (_mock *Client) CheckoutOrOrphan(branch string, submoduleEnabled bool) (string, error)

CheckoutOrOrphan provides a mock function for the type Client

func (*Client) CommitAndPush

func (_mock *Client) CommitAndPush(branch string, message string) (string, error)

CommitAndPush provides a mock function for the type Client

func (*Client) CommitSHA

func (_mock *Client) CommitSHA() (string, error)

CommitSHA provides a mock function for the type Client

func (*Client) EXPECT added in v3.1.0

func (_m *Client) EXPECT() *Client_Expecter

func (*Client) Fetch

func (_mock *Client) Fetch(revision string, depth int64) error

Fetch provides a mock function for the type Client

func (*Client) GetCommitNote added in v3.3.0

func (_mock *Client) GetCommitNote(sha string, namespace string) (string, error)

GetCommitNote provides a mock function for the type Client

func (*Client) HasFileChanged added in v3.3.0

func (_mock *Client) HasFileChanged(filePath string) (bool, error)

HasFileChanged provides a mock function for the type Client

func (*Client) Init

func (_mock *Client) Init() error

Init provides a mock function for the type Client

func (*Client) IsAnnotatedTag

func (_mock *Client) IsAnnotatedTag(revision string) bool

IsAnnotatedTag provides a mock function for the type Client

func (*Client) IsRevisionPresent

func (_mock *Client) IsRevisionPresent(revision string) bool

IsRevisionPresent provides a mock function for the type Client

func (*Client) LsFiles

func (_mock *Client) LsFiles(path string, enableNewGitFileGlobbing bool) ([]string, error)

LsFiles provides a mock function for the type Client

func (*Client) LsLargeFiles

func (_mock *Client) LsLargeFiles() ([]string, error)

LsLargeFiles provides a mock function for the type Client

func (*Client) LsRefs

func (_mock *Client) LsRefs() (*git.Refs, error)

LsRefs provides a mock function for the type Client

func (*Client) LsRemote

func (_mock *Client) LsRemote(revision string) (string, error)

LsRemote provides a mock function for the type Client

func (*Client) LsSignatures added in v3.5.0

func (_mock *Client) LsSignatures(revision string, deep bool) ([]git.RevisionSignatureInfo, string, error)

LsSignatures provides a mock function for the type Client

func (*Client) RemoveContents

func (_mock *Client) RemoveContents(paths []string) (string, error)

RemoveContents provides a mock function for the type Client

func (*Client) RepoURL added in v3.5.0

func (_mock *Client) RepoURL() string

RepoURL 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

func (*Client) Root

func (_mock *Client) Root() string

Root provides a mock function for the type Client

func (*Client) SetAuthor

func (_mock *Client) SetAuthor(name string, email string) (string, error)

SetAuthor provides a mock function for the type Client

func (*Client) Submodule

func (_mock *Client) Submodule() error

Submodule provides a mock function for the type Client

func (*Client) VerifyCommitSignature

func (_mock *Client) VerifyCommitSignature(s string) (string, error)

VerifyCommitSignature provides a mock function for the type Client

type Client_AddAndPushNote_Call added in v3.3.0

type Client_AddAndPushNote_Call struct {
	*mock.Call
}

Client_AddAndPushNote_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddAndPushNote'

func (*Client_AddAndPushNote_Call) Return added in v3.3.0

func (*Client_AddAndPushNote_Call) Run added in v3.3.0

func (_c *Client_AddAndPushNote_Call) Run(run func(sha string, namespace string, note string)) *Client_AddAndPushNote_Call

func (*Client_AddAndPushNote_Call) RunAndReturn added in v3.3.0

func (_c *Client_AddAndPushNote_Call) RunAndReturn(run func(sha string, namespace string, note string) error) *Client_AddAndPushNote_Call

type Client_ChangedFiles_Call added in v3.1.0

type Client_ChangedFiles_Call struct {
	*mock.Call
}

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

type Client_CheckoutOrNew_Call struct {
	*mock.Call
}

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 (*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

type Client_CheckoutOrOrphan_Call struct {
	*mock.Call
}

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 (*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

type Client_Checkout_Call struct {
	*mock.Call
}

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 (*Client_Checkout_Call) Run added in v3.1.0

func (_c *Client_Checkout_Call) Run(run func(revision string, submoduleEnabled bool, cleanState 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, cleanState bool) (string, error)) *Client_Checkout_Call

type Client_CommitAndPush_Call added in v3.1.0

type Client_CommitAndPush_Call struct {
	*mock.Call
}

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 (*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

type Client_CommitSHA_Call struct {
	*mock.Call
}

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 (*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) AddAndPushNote added in v3.3.0

func (_e *Client_Expecter) AddAndPushNote(sha any, namespace any, note any) *Client_AddAndPushNote_Call

AddAndPushNote is a helper method to define mock.On call

  • sha string
  • namespace string
  • note string

func (*Client_Expecter) ChangedFiles added in v3.1.0

func (_e *Client_Expecter) ChangedFiles(revision any, targetRevision any) *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 any, submoduleEnabled any, cleanState any) *Client_Checkout_Call

Checkout is a helper method to define mock.On call

  • revision string
  • submoduleEnabled bool
  • cleanState bool

func (*Client_Expecter) CheckoutOrNew added in v3.1.0

func (_e *Client_Expecter) CheckoutOrNew(branch any, base any, submoduleEnabled any) *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 any, submoduleEnabled any) *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 any, message any) *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 any, depth any) *Client_Fetch_Call

Fetch is a helper method to define mock.On call

  • revision string
  • depth int64

func (*Client_Expecter) GetCommitNote added in v3.3.0

func (_e *Client_Expecter) GetCommitNote(sha any, namespace any) *Client_GetCommitNote_Call

GetCommitNote is a helper method to define mock.On call

  • sha string
  • namespace string

func (*Client_Expecter) HasFileChanged added in v3.3.0

func (_e *Client_Expecter) HasFileChanged(filePath any) *Client_HasFileChanged_Call

HasFileChanged is a helper method to define mock.On call

  • filePath 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(revision any) *Client_IsAnnotatedTag_Call

IsAnnotatedTag is a helper method to define mock.On call

  • revision string

func (*Client_Expecter) IsRevisionPresent added in v3.1.0

func (_e *Client_Expecter) IsRevisionPresent(revision any) *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 any, enableNewGitFileGlobbing any) *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 any) *Client_LsRemote_Call

LsRemote is a helper method to define mock.On call

  • revision string

func (*Client_Expecter) LsSignatures added in v3.5.0

func (_e *Client_Expecter) LsSignatures(revision any, deep any) *Client_LsSignatures_Call

LsSignatures is a helper method to define mock.On call

  • revision string
  • deep bool

func (*Client_Expecter) RemoveContents added in v3.1.0

func (_e *Client_Expecter) RemoveContents(paths any) *Client_RemoveContents_Call

RemoveContents is a helper method to define mock.On call

  • paths []string

func (*Client_Expecter) RepoURL added in v3.5.0

func (_e *Client_Expecter) RepoURL() *Client_RepoURL_Call

RepoURL is a helper method to define mock.On call

func (*Client_Expecter) RevisionMetadata added in v3.1.0

func (_e *Client_Expecter) RevisionMetadata(revision any) *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 any, email any) *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 any) *Client_VerifyCommitSignature_Call

VerifyCommitSignature is a helper method to define mock.On call

  • s string

type Client_Fetch_Call added in v3.1.0

type Client_Fetch_Call struct {
	*mock.Call
}

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, depth int64)) *Client_Fetch_Call

func (*Client_Fetch_Call) RunAndReturn added in v3.1.0

func (_c *Client_Fetch_Call) RunAndReturn(run func(revision string, depth int64) error) *Client_Fetch_Call

type Client_GetCommitNote_Call added in v3.3.0

type Client_GetCommitNote_Call struct {
	*mock.Call
}

Client_GetCommitNote_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCommitNote'

func (*Client_GetCommitNote_Call) Return added in v3.3.0

func (*Client_GetCommitNote_Call) Run added in v3.3.0

func (_c *Client_GetCommitNote_Call) Run(run func(sha string, namespace string)) *Client_GetCommitNote_Call

func (*Client_GetCommitNote_Call) RunAndReturn added in v3.3.0

func (_c *Client_GetCommitNote_Call) RunAndReturn(run func(sha string, namespace string) (string, error)) *Client_GetCommitNote_Call

type Client_HasFileChanged_Call added in v3.3.0

type Client_HasFileChanged_Call struct {
	*mock.Call
}

Client_HasFileChanged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HasFileChanged'

func (*Client_HasFileChanged_Call) Return added in v3.3.0

func (*Client_HasFileChanged_Call) Run added in v3.3.0

func (_c *Client_HasFileChanged_Call) Run(run func(filePath string)) *Client_HasFileChanged_Call

func (*Client_HasFileChanged_Call) RunAndReturn added in v3.3.0

func (_c *Client_HasFileChanged_Call) RunAndReturn(run func(filePath string) (bool, error)) *Client_HasFileChanged_Call

type Client_Init_Call added in v3.1.0

type Client_Init_Call struct {
	*mock.Call
}

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

type Client_IsAnnotatedTag_Call struct {
	*mock.Call
}

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 (*Client_IsAnnotatedTag_Call) Run added in v3.1.0

func (_c *Client_IsAnnotatedTag_Call) Run(run func(revision string)) *Client_IsAnnotatedTag_Call

func (*Client_IsAnnotatedTag_Call) RunAndReturn added in v3.1.0

func (_c *Client_IsAnnotatedTag_Call) RunAndReturn(run func(revision string) bool) *Client_IsAnnotatedTag_Call

type Client_IsRevisionPresent_Call added in v3.1.0

type Client_IsRevisionPresent_Call struct {
	*mock.Call
}

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 (*Client_IsRevisionPresent_Call) Run added in v3.1.0

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

type Client_LsFiles_Call struct {
	*mock.Call
}

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

type Client_LsLargeFiles_Call struct {
	*mock.Call
}

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 (*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

type Client_LsRefs_Call struct {
	*mock.Call
}

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

type Client_LsRemote_Call struct {
	*mock.Call
}

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 (*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_LsSignatures_Call added in v3.5.0

type Client_LsSignatures_Call struct {
	*mock.Call
}

Client_LsSignatures_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LsSignatures'

func (*Client_LsSignatures_Call) Return added in v3.5.0

func (_c *Client_LsSignatures_Call) Return(revisionSignatureInfos []git.RevisionSignatureInfo, s string, err error) *Client_LsSignatures_Call

func (*Client_LsSignatures_Call) Run added in v3.5.0

func (_c *Client_LsSignatures_Call) Run(run func(revision string, deep bool)) *Client_LsSignatures_Call

func (*Client_LsSignatures_Call) RunAndReturn added in v3.5.0

func (_c *Client_LsSignatures_Call) RunAndReturn(run func(revision string, deep bool) ([]git.RevisionSignatureInfo, string, error)) *Client_LsSignatures_Call

type Client_RemoveContents_Call added in v3.1.0

type Client_RemoveContents_Call struct {
	*mock.Call
}

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 (*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_RepoURL_Call added in v3.5.0

type Client_RepoURL_Call struct {
	*mock.Call
}

Client_RepoURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoURL'

func (*Client_RepoURL_Call) Return added in v3.5.0

func (*Client_RepoURL_Call) Run added in v3.5.0

func (_c *Client_RepoURL_Call) Run(run func()) *Client_RepoURL_Call

func (*Client_RepoURL_Call) RunAndReturn added in v3.5.0

func (_c *Client_RepoURL_Call) RunAndReturn(run func() string) *Client_RepoURL_Call

type Client_RevisionMetadata_Call added in v3.1.0

type Client_RevisionMetadata_Call struct {
	*mock.Call
}

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 (*Client_RevisionMetadata_Call) Run added in v3.1.0

func (*Client_RevisionMetadata_Call) RunAndReturn added in v3.1.0

type Client_Root_Call added in v3.1.0

type Client_Root_Call struct {
	*mock.Call
}

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

type Client_SetAuthor_Call struct {
	*mock.Call
}

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 (*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

type Client_Submodule_Call struct {
	*mock.Call
}

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 (*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

type Client_VerifyCommitSignature_Call struct {
	*mock.Call
}

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 (*Client_VerifyCommitSignature_Call) Run added in v3.1.0

func (*Client_VerifyCommitSignature_Call) RunAndReturn added in v3.1.0

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL