Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type BranchClient
- func (fake *BranchClient) Create(arg1 context.Context, arg2 string, arg3 string) error
- func (fake *BranchClient) CreateArgsForCall(i int) (context.Context, string, string)
- func (fake *BranchClient) CreateCallCount() int
- func (fake *BranchClient) CreateCalls(stub func(context.Context, string, string) error)
- func (fake *BranchClient) CreateReturns(result1 error)
- func (fake *BranchClient) CreateReturnsOnCall(i int, result1 error)
- func (fake *BranchClient) Invocations() map[string][][]interface{}
- type Client
- func (fake *Client) HasTokenPermission(arg1 context.Context, arg2 gitprovider.TokenPermission) (bool, error)
- func (fake *Client) HasTokenPermissionArgsForCall(i int) (context.Context, gitprovider.TokenPermission)
- func (fake *Client) HasTokenPermissionCallCount() int
- func (fake *Client) HasTokenPermissionCalls(stub func(context.Context, gitprovider.TokenPermission) (bool, error))
- func (fake *Client) HasTokenPermissionReturns(result1 bool, result2 error)
- func (fake *Client) HasTokenPermissionReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *Client) Invocations() map[string][][]interface{}
- func (fake *Client) OrgRepositories() gitprovider.OrgRepositoriesClient
- func (fake *Client) OrgRepositoriesCallCount() int
- func (fake *Client) OrgRepositoriesCalls(stub func() gitprovider.OrgRepositoriesClient)
- func (fake *Client) OrgRepositoriesReturns(result1 gitprovider.OrgRepositoriesClient)
- func (fake *Client) OrgRepositoriesReturnsOnCall(i int, result1 gitprovider.OrgRepositoriesClient)
- func (fake *Client) Organizations() gitprovider.OrganizationsClient
- func (fake *Client) OrganizationsCallCount() int
- func (fake *Client) OrganizationsCalls(stub func() gitprovider.OrganizationsClient)
- func (fake *Client) OrganizationsReturns(result1 gitprovider.OrganizationsClient)
- func (fake *Client) OrganizationsReturnsOnCall(i int, result1 gitprovider.OrganizationsClient)
- func (fake *Client) ProviderID() gitprovider.ProviderID
- func (fake *Client) ProviderIDCallCount() int
- func (fake *Client) ProviderIDCalls(stub func() gitprovider.ProviderID)
- func (fake *Client) ProviderIDReturns(result1 gitprovider.ProviderID)
- func (fake *Client) ProviderIDReturnsOnCall(i int, result1 gitprovider.ProviderID)
- func (fake *Client) Raw() interface{}
- func (fake *Client) RawCallCount() int
- func (fake *Client) RawCalls(stub func() interface{})
- func (fake *Client) RawReturns(result1 interface{})
- func (fake *Client) RawReturnsOnCall(i int, result1 interface{})
- func (fake *Client) SupportedDomain() string
- func (fake *Client) SupportedDomainCallCount() int
- func (fake *Client) SupportedDomainCalls(stub func() string)
- func (fake *Client) SupportedDomainReturns(result1 string)
- func (fake *Client) SupportedDomainReturnsOnCall(i int, result1 string)
- func (fake *Client) UserRepositories() gitprovider.UserRepositoriesClient
- func (fake *Client) UserRepositoriesCallCount() int
- func (fake *Client) UserRepositoriesCalls(stub func() gitprovider.UserRepositoriesClient)
- func (fake *Client) UserRepositoriesReturns(result1 gitprovider.UserRepositoriesClient)
- func (fake *Client) UserRepositoriesReturnsOnCall(i int, result1 gitprovider.UserRepositoriesClient)
- type Commit
- func (fake *Commit) APIObject() interface{}
- func (fake *Commit) APIObjectCallCount() int
- func (fake *Commit) APIObjectCalls(stub func() interface{})
- func (fake *Commit) APIObjectReturns(result1 interface{})
- func (fake *Commit) APIObjectReturnsOnCall(i int, result1 interface{})
- func (fake *Commit) Get() gitprovider.CommitInfo
- func (fake *Commit) GetCallCount() int
- func (fake *Commit) GetCalls(stub func() gitprovider.CommitInfo)
- func (fake *Commit) GetReturns(result1 gitprovider.CommitInfo)
- func (fake *Commit) GetReturnsOnCall(i int, result1 gitprovider.CommitInfo)
- func (fake *Commit) Invocations() map[string][][]interface{}
- type CommitClient
- func (fake *CommitClient) Create(arg1 context.Context, arg2 string, arg3 string, arg4 []gitprovider.CommitFile) (gitprovider.Commit, error)
- func (fake *CommitClient) CreateArgsForCall(i int) (context.Context, string, string, []gitprovider.CommitFile)
- func (fake *CommitClient) CreateCallCount() int
- func (fake *CommitClient) CreateCalls(...)
- func (fake *CommitClient) CreateReturns(result1 gitprovider.Commit, result2 error)
- func (fake *CommitClient) CreateReturnsOnCall(i int, result1 gitprovider.Commit, result2 error)
- func (fake *CommitClient) Invocations() map[string][][]interface{}
- func (fake *CommitClient) ListPage(arg1 context.Context, arg2 string, arg3 int, arg4 int) ([]gitprovider.Commit, error)
- func (fake *CommitClient) ListPageArgsForCall(i int) (context.Context, string, int, int)
- func (fake *CommitClient) ListPageCallCount() int
- func (fake *CommitClient) ListPageCalls(stub func(context.Context, string, int, int) ([]gitprovider.Commit, error))
- func (fake *CommitClient) ListPageReturns(result1 []gitprovider.Commit, result2 error)
- func (fake *CommitClient) ListPageReturnsOnCall(i int, result1 []gitprovider.Commit, result2 error)
- type DeployKeyClient
- func (fake *DeployKeyClient) Create(arg1 context.Context, arg2 gitprovider.DeployKeyInfo) (gitprovider.DeployKey, error)
- func (fake *DeployKeyClient) CreateArgsForCall(i int) (context.Context, gitprovider.DeployKeyInfo)
- func (fake *DeployKeyClient) CreateCallCount() int
- func (fake *DeployKeyClient) CreateCalls(...)
- func (fake *DeployKeyClient) CreateReturns(result1 gitprovider.DeployKey, result2 error)
- func (fake *DeployKeyClient) CreateReturnsOnCall(i int, result1 gitprovider.DeployKey, result2 error)
- func (fake *DeployKeyClient) Get(arg1 context.Context, arg2 string) (gitprovider.DeployKey, error)
- func (fake *DeployKeyClient) GetArgsForCall(i int) (context.Context, string)
- func (fake *DeployKeyClient) GetCallCount() int
- func (fake *DeployKeyClient) GetCalls(stub func(context.Context, string) (gitprovider.DeployKey, error))
- func (fake *DeployKeyClient) GetReturns(result1 gitprovider.DeployKey, result2 error)
- func (fake *DeployKeyClient) GetReturnsOnCall(i int, result1 gitprovider.DeployKey, result2 error)
- func (fake *DeployKeyClient) Invocations() map[string][][]interface{}
- func (fake *DeployKeyClient) List(arg1 context.Context) ([]gitprovider.DeployKey, error)
- func (fake *DeployKeyClient) ListArgsForCall(i int) context.Context
- func (fake *DeployKeyClient) ListCallCount() int
- func (fake *DeployKeyClient) ListCalls(stub func(context.Context) ([]gitprovider.DeployKey, error))
- func (fake *DeployKeyClient) ListReturns(result1 []gitprovider.DeployKey, result2 error)
- func (fake *DeployKeyClient) ListReturnsOnCall(i int, result1 []gitprovider.DeployKey, result2 error)
- func (fake *DeployKeyClient) Reconcile(arg1 context.Context, arg2 gitprovider.DeployKeyInfo) (gitprovider.DeployKey, bool, error)
- func (fake *DeployKeyClient) ReconcileArgsForCall(i int) (context.Context, gitprovider.DeployKeyInfo)
- func (fake *DeployKeyClient) ReconcileCallCount() int
- func (fake *DeployKeyClient) ReconcileCalls(...)
- func (fake *DeployKeyClient) ReconcileReturns(result1 gitprovider.DeployKey, result2 bool, result3 error)
- func (fake *DeployKeyClient) ReconcileReturnsOnCall(i int, result1 gitprovider.DeployKey, result2 bool, result3 error)
- type FileClient
- func (fake *FileClient) Get(arg1 context.Context, arg2 string, arg3 string) ([]*gitprovider.CommitFile, error)
- func (fake *FileClient) GetArgsForCall(i int) (context.Context, string, string)
- func (fake *FileClient) GetCallCount() int
- func (fake *FileClient) GetCalls(stub func(context.Context, string, string) ([]*gitprovider.CommitFile, error))
- func (fake *FileClient) GetReturns(result1 []*gitprovider.CommitFile, result2 error)
- func (fake *FileClient) GetReturnsOnCall(i int, result1 []*gitprovider.CommitFile, result2 error)
- func (fake *FileClient) Invocations() map[string][][]interface{}
- type OrgRepositoriesClient
- func (fake *OrgRepositoriesClient) Create(arg1 context.Context, arg2 gitprovider.OrgRepositoryRef, ...) (gitprovider.OrgRepository, error)
- func (fake *OrgRepositoriesClient) CreateArgsForCall(i int) (context.Context, gitprovider.OrgRepositoryRef, gitprovider.RepositoryInfo, ...)
- func (fake *OrgRepositoriesClient) CreateCallCount() int
- func (fake *OrgRepositoriesClient) CreateCalls(...)
- func (fake *OrgRepositoriesClient) CreateReturns(result1 gitprovider.OrgRepository, result2 error)
- func (fake *OrgRepositoriesClient) CreateReturnsOnCall(i int, result1 gitprovider.OrgRepository, result2 error)
- func (fake *OrgRepositoriesClient) Get(arg1 context.Context, arg2 gitprovider.OrgRepositoryRef) (gitprovider.OrgRepository, error)
- func (fake *OrgRepositoriesClient) GetArgsForCall(i int) (context.Context, gitprovider.OrgRepositoryRef)
- func (fake *OrgRepositoriesClient) GetCallCount() int
- func (fake *OrgRepositoriesClient) GetCalls(...)
- func (fake *OrgRepositoriesClient) GetReturns(result1 gitprovider.OrgRepository, result2 error)
- func (fake *OrgRepositoriesClient) GetReturnsOnCall(i int, result1 gitprovider.OrgRepository, result2 error)
- func (fake *OrgRepositoriesClient) Invocations() map[string][][]interface{}
- func (fake *OrgRepositoriesClient) List(arg1 context.Context, arg2 gitprovider.OrganizationRef) ([]gitprovider.OrgRepository, error)
- func (fake *OrgRepositoriesClient) ListArgsForCall(i int) (context.Context, gitprovider.OrganizationRef)
- func (fake *OrgRepositoriesClient) ListCallCount() int
- func (fake *OrgRepositoriesClient) ListCalls(...)
- func (fake *OrgRepositoriesClient) ListReturns(result1 []gitprovider.OrgRepository, result2 error)
- func (fake *OrgRepositoriesClient) ListReturnsOnCall(i int, result1 []gitprovider.OrgRepository, result2 error)
- func (fake *OrgRepositoriesClient) Reconcile(arg1 context.Context, arg2 gitprovider.OrgRepositoryRef, ...) (gitprovider.OrgRepository, bool, error)
- func (fake *OrgRepositoriesClient) ReconcileArgsForCall(i int) (context.Context, gitprovider.OrgRepositoryRef, gitprovider.RepositoryInfo, ...)
- func (fake *OrgRepositoriesClient) ReconcileCallCount() int
- func (fake *OrgRepositoriesClient) ReconcileCalls(...)
- func (fake *OrgRepositoriesClient) ReconcileReturns(result1 gitprovider.OrgRepository, result2 bool, result3 error)
- func (fake *OrgRepositoriesClient) ReconcileReturnsOnCall(i int, result1 gitprovider.OrgRepository, result2 bool, result3 error)
- type OrgRepository
- func (fake *OrgRepository) APIObject() interface{}
- func (fake *OrgRepository) APIObjectCallCount() int
- func (fake *OrgRepository) APIObjectCalls(stub func() interface{})
- func (fake *OrgRepository) APIObjectReturns(result1 interface{})
- func (fake *OrgRepository) APIObjectReturnsOnCall(i int, result1 interface{})
- func (fake *OrgRepository) Branches() gitprovider.BranchClient
- func (fake *OrgRepository) BranchesCallCount() int
- func (fake *OrgRepository) BranchesCalls(stub func() gitprovider.BranchClient)
- func (fake *OrgRepository) BranchesReturns(result1 gitprovider.BranchClient)
- func (fake *OrgRepository) BranchesReturnsOnCall(i int, result1 gitprovider.BranchClient)
- func (fake *OrgRepository) Commits() gitprovider.CommitClient
- func (fake *OrgRepository) CommitsCallCount() int
- func (fake *OrgRepository) CommitsCalls(stub func() gitprovider.CommitClient)
- func (fake *OrgRepository) CommitsReturns(result1 gitprovider.CommitClient)
- func (fake *OrgRepository) CommitsReturnsOnCall(i int, result1 gitprovider.CommitClient)
- func (fake *OrgRepository) Delete(arg1 context.Context) error
- func (fake *OrgRepository) DeleteArgsForCall(i int) context.Context
- func (fake *OrgRepository) DeleteCallCount() int
- func (fake *OrgRepository) DeleteCalls(stub func(context.Context) error)
- func (fake *OrgRepository) DeleteReturns(result1 error)
- func (fake *OrgRepository) DeleteReturnsOnCall(i int, result1 error)
- func (fake *OrgRepository) DeployKeys() gitprovider.DeployKeyClient
- func (fake *OrgRepository) DeployKeysCallCount() int
- func (fake *OrgRepository) DeployKeysCalls(stub func() gitprovider.DeployKeyClient)
- func (fake *OrgRepository) DeployKeysReturns(result1 gitprovider.DeployKeyClient)
- func (fake *OrgRepository) DeployKeysReturnsOnCall(i int, result1 gitprovider.DeployKeyClient)
- func (fake *OrgRepository) Files() gitprovider.FileClient
- func (fake *OrgRepository) FilesCallCount() int
- func (fake *OrgRepository) FilesCalls(stub func() gitprovider.FileClient)
- func (fake *OrgRepository) FilesReturns(result1 gitprovider.FileClient)
- func (fake *OrgRepository) FilesReturnsOnCall(i int, result1 gitprovider.FileClient)
- func (fake *OrgRepository) Get() gitprovider.RepositoryInfo
- func (fake *OrgRepository) GetCallCount() int
- func (fake *OrgRepository) GetCalls(stub func() gitprovider.RepositoryInfo)
- func (fake *OrgRepository) GetReturns(result1 gitprovider.RepositoryInfo)
- func (fake *OrgRepository) GetReturnsOnCall(i int, result1 gitprovider.RepositoryInfo)
- func (fake *OrgRepository) Invocations() map[string][][]interface{}
- func (fake *OrgRepository) PullRequests() gitprovider.PullRequestClient
- func (fake *OrgRepository) PullRequestsCallCount() int
- func (fake *OrgRepository) PullRequestsCalls(stub func() gitprovider.PullRequestClient)
- func (fake *OrgRepository) PullRequestsReturns(result1 gitprovider.PullRequestClient)
- func (fake *OrgRepository) PullRequestsReturnsOnCall(i int, result1 gitprovider.PullRequestClient)
- func (fake *OrgRepository) Reconcile(arg1 context.Context) (bool, error)
- func (fake *OrgRepository) ReconcileArgsForCall(i int) context.Context
- func (fake *OrgRepository) ReconcileCallCount() int
- func (fake *OrgRepository) ReconcileCalls(stub func(context.Context) (bool, error))
- func (fake *OrgRepository) ReconcileReturns(result1 bool, result2 error)
- func (fake *OrgRepository) ReconcileReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *OrgRepository) Repository() gitprovider.RepositoryRef
- func (fake *OrgRepository) RepositoryCallCount() int
- func (fake *OrgRepository) RepositoryCalls(stub func() gitprovider.RepositoryRef)
- func (fake *OrgRepository) RepositoryReturns(result1 gitprovider.RepositoryRef)
- func (fake *OrgRepository) RepositoryReturnsOnCall(i int, result1 gitprovider.RepositoryRef)
- func (fake *OrgRepository) Set(arg1 gitprovider.RepositoryInfo) error
- func (fake *OrgRepository) SetArgsForCall(i int) gitprovider.RepositoryInfo
- func (fake *OrgRepository) SetCallCount() int
- func (fake *OrgRepository) SetCalls(stub func(gitprovider.RepositoryInfo) error)
- func (fake *OrgRepository) SetReturns(result1 error)
- func (fake *OrgRepository) SetReturnsOnCall(i int, result1 error)
- func (fake *OrgRepository) TeamAccess() gitprovider.TeamAccessClient
- func (fake *OrgRepository) TeamAccessCallCount() int
- func (fake *OrgRepository) TeamAccessCalls(stub func() gitprovider.TeamAccessClient)
- func (fake *OrgRepository) TeamAccessReturns(result1 gitprovider.TeamAccessClient)
- func (fake *OrgRepository) TeamAccessReturnsOnCall(i int, result1 gitprovider.TeamAccessClient)
- func (fake *OrgRepository) Update(arg1 context.Context) error
- func (fake *OrgRepository) UpdateArgsForCall(i int) context.Context
- func (fake *OrgRepository) UpdateCallCount() int
- func (fake *OrgRepository) UpdateCalls(stub func(context.Context) error)
- func (fake *OrgRepository) UpdateReturns(result1 error)
- func (fake *OrgRepository) UpdateReturnsOnCall(i int, result1 error)
- type PullRequest
- func (fake *PullRequest) APIObject() interface{}
- func (fake *PullRequest) APIObjectCallCount() int
- func (fake *PullRequest) APIObjectCalls(stub func() interface{})
- func (fake *PullRequest) APIObjectReturns(result1 interface{})
- func (fake *PullRequest) APIObjectReturnsOnCall(i int, result1 interface{})
- func (fake *PullRequest) Get() gitprovider.PullRequestInfo
- func (fake *PullRequest) GetCallCount() int
- func (fake *PullRequest) GetCalls(stub func() gitprovider.PullRequestInfo)
- func (fake *PullRequest) GetReturns(result1 gitprovider.PullRequestInfo)
- func (fake *PullRequest) GetReturnsOnCall(i int, result1 gitprovider.PullRequestInfo)
- func (fake *PullRequest) Invocations() map[string][][]interface{}
- type PullRequestClient
- func (fake *PullRequestClient) Create(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string) (gitprovider.PullRequest, error)
- func (fake *PullRequestClient) CreateArgsForCall(i int) (context.Context, string, string, string, string)
- func (fake *PullRequestClient) CreateCallCount() int
- func (fake *PullRequestClient) CreateCalls(...)
- func (fake *PullRequestClient) CreateReturns(result1 gitprovider.PullRequest, result2 error)
- func (fake *PullRequestClient) CreateReturnsOnCall(i int, result1 gitprovider.PullRequest, result2 error)
- func (fake *PullRequestClient) Get(arg1 context.Context, arg2 int) (gitprovider.PullRequest, error)
- func (fake *PullRequestClient) GetArgsForCall(i int) (context.Context, int)
- func (fake *PullRequestClient) GetCallCount() int
- func (fake *PullRequestClient) GetCalls(stub func(context.Context, int) (gitprovider.PullRequest, error))
- func (fake *PullRequestClient) GetReturns(result1 gitprovider.PullRequest, result2 error)
- func (fake *PullRequestClient) GetReturnsOnCall(i int, result1 gitprovider.PullRequest, result2 error)
- func (fake *PullRequestClient) Invocations() map[string][][]interface{}
- func (fake *PullRequestClient) List(arg1 context.Context) ([]gitprovider.PullRequest, error)
- func (fake *PullRequestClient) ListArgsForCall(i int) context.Context
- func (fake *PullRequestClient) ListCallCount() int
- func (fake *PullRequestClient) ListCalls(stub func(context.Context) ([]gitprovider.PullRequest, error))
- func (fake *PullRequestClient) ListReturns(result1 []gitprovider.PullRequest, result2 error)
- func (fake *PullRequestClient) ListReturnsOnCall(i int, result1 []gitprovider.PullRequest, result2 error)
- func (fake *PullRequestClient) Merge(arg1 context.Context, arg2 int, arg3 gitprovider.MergeMethod, arg4 string) error
- func (fake *PullRequestClient) MergeArgsForCall(i int) (context.Context, int, gitprovider.MergeMethod, string)
- func (fake *PullRequestClient) MergeCallCount() int
- func (fake *PullRequestClient) MergeCalls(stub func(context.Context, int, gitprovider.MergeMethod, string) error)
- func (fake *PullRequestClient) MergeReturns(result1 error)
- func (fake *PullRequestClient) MergeReturnsOnCall(i int, result1 error)
- type UserRepositoriesClient
- func (fake *UserRepositoriesClient) Create(arg1 context.Context, arg2 gitprovider.UserRepositoryRef, ...) (gitprovider.UserRepository, error)
- func (fake *UserRepositoriesClient) CreateArgsForCall(i int) (context.Context, gitprovider.UserRepositoryRef, gitprovider.RepositoryInfo, ...)
- func (fake *UserRepositoriesClient) CreateCallCount() int
- func (fake *UserRepositoriesClient) CreateCalls(...)
- func (fake *UserRepositoriesClient) CreateReturns(result1 gitprovider.UserRepository, result2 error)
- func (fake *UserRepositoriesClient) CreateReturnsOnCall(i int, result1 gitprovider.UserRepository, result2 error)
- func (fake *UserRepositoriesClient) Get(arg1 context.Context, arg2 gitprovider.UserRepositoryRef) (gitprovider.UserRepository, error)
- func (fake *UserRepositoriesClient) GetArgsForCall(i int) (context.Context, gitprovider.UserRepositoryRef)
- func (fake *UserRepositoriesClient) GetCallCount() int
- func (fake *UserRepositoriesClient) GetCalls(...)
- func (fake *UserRepositoriesClient) GetReturns(result1 gitprovider.UserRepository, result2 error)
- func (fake *UserRepositoriesClient) GetReturnsOnCall(i int, result1 gitprovider.UserRepository, result2 error)
- func (fake *UserRepositoriesClient) Invocations() map[string][][]interface{}
- func (fake *UserRepositoriesClient) List(arg1 context.Context, arg2 gitprovider.UserRef) ([]gitprovider.UserRepository, error)
- func (fake *UserRepositoriesClient) ListArgsForCall(i int) (context.Context, gitprovider.UserRef)
- func (fake *UserRepositoriesClient) ListCallCount() int
- func (fake *UserRepositoriesClient) ListCalls(...)
- func (fake *UserRepositoriesClient) ListReturns(result1 []gitprovider.UserRepository, result2 error)
- func (fake *UserRepositoriesClient) ListReturnsOnCall(i int, result1 []gitprovider.UserRepository, result2 error)
- func (fake *UserRepositoriesClient) Reconcile(arg1 context.Context, arg2 gitprovider.UserRepositoryRef, ...) (gitprovider.UserRepository, bool, error)
- func (fake *UserRepositoriesClient) ReconcileArgsForCall(i int) (context.Context, gitprovider.UserRepositoryRef, gitprovider.RepositoryInfo, ...)
- func (fake *UserRepositoriesClient) ReconcileCallCount() int
- func (fake *UserRepositoriesClient) ReconcileCalls(...)
- func (fake *UserRepositoriesClient) ReconcileReturns(result1 gitprovider.UserRepository, result2 bool, result3 error)
- func (fake *UserRepositoriesClient) ReconcileReturnsOnCall(i int, result1 gitprovider.UserRepository, result2 bool, result3 error)
- type UserRepository
- func (fake *UserRepository) APIObject() interface{}
- func (fake *UserRepository) APIObjectCallCount() int
- func (fake *UserRepository) APIObjectCalls(stub func() interface{})
- func (fake *UserRepository) APIObjectReturns(result1 interface{})
- func (fake *UserRepository) APIObjectReturnsOnCall(i int, result1 interface{})
- func (fake *UserRepository) Branches() gitprovider.BranchClient
- func (fake *UserRepository) BranchesCallCount() int
- func (fake *UserRepository) BranchesCalls(stub func() gitprovider.BranchClient)
- func (fake *UserRepository) BranchesReturns(result1 gitprovider.BranchClient)
- func (fake *UserRepository) BranchesReturnsOnCall(i int, result1 gitprovider.BranchClient)
- func (fake *UserRepository) Commits() gitprovider.CommitClient
- func (fake *UserRepository) CommitsCallCount() int
- func (fake *UserRepository) CommitsCalls(stub func() gitprovider.CommitClient)
- func (fake *UserRepository) CommitsReturns(result1 gitprovider.CommitClient)
- func (fake *UserRepository) CommitsReturnsOnCall(i int, result1 gitprovider.CommitClient)
- func (fake *UserRepository) Delete(arg1 context.Context) error
- func (fake *UserRepository) DeleteArgsForCall(i int) context.Context
- func (fake *UserRepository) DeleteCallCount() int
- func (fake *UserRepository) DeleteCalls(stub func(context.Context) error)
- func (fake *UserRepository) DeleteReturns(result1 error)
- func (fake *UserRepository) DeleteReturnsOnCall(i int, result1 error)
- func (fake *UserRepository) DeployKeys() gitprovider.DeployKeyClient
- func (fake *UserRepository) DeployKeysCallCount() int
- func (fake *UserRepository) DeployKeysCalls(stub func() gitprovider.DeployKeyClient)
- func (fake *UserRepository) DeployKeysReturns(result1 gitprovider.DeployKeyClient)
- func (fake *UserRepository) DeployKeysReturnsOnCall(i int, result1 gitprovider.DeployKeyClient)
- func (fake *UserRepository) Files() gitprovider.FileClient
- func (fake *UserRepository) FilesCallCount() int
- func (fake *UserRepository) FilesCalls(stub func() gitprovider.FileClient)
- func (fake *UserRepository) FilesReturns(result1 gitprovider.FileClient)
- func (fake *UserRepository) FilesReturnsOnCall(i int, result1 gitprovider.FileClient)
- func (fake *UserRepository) Get() gitprovider.RepositoryInfo
- func (fake *UserRepository) GetCallCount() int
- func (fake *UserRepository) GetCalls(stub func() gitprovider.RepositoryInfo)
- func (fake *UserRepository) GetReturns(result1 gitprovider.RepositoryInfo)
- func (fake *UserRepository) GetReturnsOnCall(i int, result1 gitprovider.RepositoryInfo)
- func (fake *UserRepository) Invocations() map[string][][]interface{}
- func (fake *UserRepository) PullRequests() gitprovider.PullRequestClient
- func (fake *UserRepository) PullRequestsCallCount() int
- func (fake *UserRepository) PullRequestsCalls(stub func() gitprovider.PullRequestClient)
- func (fake *UserRepository) PullRequestsReturns(result1 gitprovider.PullRequestClient)
- func (fake *UserRepository) PullRequestsReturnsOnCall(i int, result1 gitprovider.PullRequestClient)
- func (fake *UserRepository) Reconcile(arg1 context.Context) (bool, error)
- func (fake *UserRepository) ReconcileArgsForCall(i int) context.Context
- func (fake *UserRepository) ReconcileCallCount() int
- func (fake *UserRepository) ReconcileCalls(stub func(context.Context) (bool, error))
- func (fake *UserRepository) ReconcileReturns(result1 bool, result2 error)
- func (fake *UserRepository) ReconcileReturnsOnCall(i int, result1 bool, result2 error)
- func (fake *UserRepository) Repository() gitprovider.RepositoryRef
- func (fake *UserRepository) RepositoryCallCount() int
- func (fake *UserRepository) RepositoryCalls(stub func() gitprovider.RepositoryRef)
- func (fake *UserRepository) RepositoryReturns(result1 gitprovider.RepositoryRef)
- func (fake *UserRepository) RepositoryReturnsOnCall(i int, result1 gitprovider.RepositoryRef)
- func (fake *UserRepository) Set(arg1 gitprovider.RepositoryInfo) error
- func (fake *UserRepository) SetArgsForCall(i int) gitprovider.RepositoryInfo
- func (fake *UserRepository) SetCallCount() int
- func (fake *UserRepository) SetCalls(stub func(gitprovider.RepositoryInfo) error)
- func (fake *UserRepository) SetReturns(result1 error)
- func (fake *UserRepository) SetReturnsOnCall(i int, result1 error)
- func (fake *UserRepository) Update(arg1 context.Context) error
- func (fake *UserRepository) UpdateArgsForCall(i int) context.Context
- func (fake *UserRepository) UpdateCallCount() int
- func (fake *UserRepository) UpdateCalls(stub func(context.Context) error)
- func (fake *UserRepository) UpdateReturns(result1 error)
- func (fake *UserRepository) UpdateReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BranchClient ¶
type BranchClient struct { CreateStub func(context.Context, string, string) error // contains filtered or unexported fields }
func (*BranchClient) CreateArgsForCall ¶
func (*BranchClient) CreateCallCount ¶
func (fake *BranchClient) CreateCallCount() int
func (*BranchClient) CreateCalls ¶
func (*BranchClient) CreateReturns ¶
func (fake *BranchClient) CreateReturns(result1 error)
func (*BranchClient) CreateReturnsOnCall ¶
func (fake *BranchClient) CreateReturnsOnCall(i int, result1 error)
func (*BranchClient) Invocations ¶
func (fake *BranchClient) Invocations() map[string][][]interface{}
type Client ¶
type Client struct { HasTokenPermissionStub func(context.Context, gitprovider.TokenPermission) (bool, error) OrgRepositoriesStub func() gitprovider.OrgRepositoriesClient OrganizationsStub func() gitprovider.OrganizationsClient ProviderIDStub func() gitprovider.ProviderID RawStub func() interface{} SupportedDomainStub func() string UserRepositoriesStub func() gitprovider.UserRepositoriesClient // contains filtered or unexported fields }
func (*Client) HasTokenPermission ¶
func (fake *Client) HasTokenPermission(arg1 context.Context, arg2 gitprovider.TokenPermission) (bool, error)
func (*Client) HasTokenPermissionArgsForCall ¶
func (fake *Client) HasTokenPermissionArgsForCall(i int) (context.Context, gitprovider.TokenPermission)
func (*Client) HasTokenPermissionCallCount ¶
func (*Client) HasTokenPermissionCalls ¶
func (fake *Client) HasTokenPermissionCalls(stub func(context.Context, gitprovider.TokenPermission) (bool, error))
func (*Client) HasTokenPermissionReturns ¶
func (*Client) HasTokenPermissionReturnsOnCall ¶
func (*Client) Invocations ¶
func (*Client) OrgRepositories ¶
func (fake *Client) OrgRepositories() gitprovider.OrgRepositoriesClient
func (*Client) OrgRepositoriesCallCount ¶
func (*Client) OrgRepositoriesCalls ¶
func (fake *Client) OrgRepositoriesCalls(stub func() gitprovider.OrgRepositoriesClient)
func (*Client) OrgRepositoriesReturns ¶
func (fake *Client) OrgRepositoriesReturns(result1 gitprovider.OrgRepositoriesClient)
func (*Client) OrgRepositoriesReturnsOnCall ¶
func (fake *Client) OrgRepositoriesReturnsOnCall(i int, result1 gitprovider.OrgRepositoriesClient)
func (*Client) Organizations ¶
func (fake *Client) Organizations() gitprovider.OrganizationsClient
func (*Client) OrganizationsCallCount ¶
func (*Client) OrganizationsCalls ¶
func (fake *Client) OrganizationsCalls(stub func() gitprovider.OrganizationsClient)
func (*Client) OrganizationsReturns ¶
func (fake *Client) OrganizationsReturns(result1 gitprovider.OrganizationsClient)
func (*Client) OrganizationsReturnsOnCall ¶
func (fake *Client) OrganizationsReturnsOnCall(i int, result1 gitprovider.OrganizationsClient)
func (*Client) ProviderID ¶
func (fake *Client) ProviderID() gitprovider.ProviderID
func (*Client) ProviderIDCallCount ¶
func (*Client) ProviderIDCalls ¶
func (fake *Client) ProviderIDCalls(stub func() gitprovider.ProviderID)
func (*Client) ProviderIDReturns ¶
func (fake *Client) ProviderIDReturns(result1 gitprovider.ProviderID)
func (*Client) ProviderIDReturnsOnCall ¶
func (fake *Client) ProviderIDReturnsOnCall(i int, result1 gitprovider.ProviderID)
func (*Client) RawCallCount ¶
func (*Client) RawReturns ¶
func (fake *Client) RawReturns(result1 interface{})
func (*Client) RawReturnsOnCall ¶
func (*Client) SupportedDomain ¶
func (*Client) SupportedDomainCallCount ¶
func (*Client) SupportedDomainCalls ¶
func (*Client) SupportedDomainReturns ¶
func (*Client) SupportedDomainReturnsOnCall ¶
func (*Client) UserRepositories ¶
func (fake *Client) UserRepositories() gitprovider.UserRepositoriesClient
func (*Client) UserRepositoriesCallCount ¶
func (*Client) UserRepositoriesCalls ¶
func (fake *Client) UserRepositoriesCalls(stub func() gitprovider.UserRepositoriesClient)
func (*Client) UserRepositoriesReturns ¶
func (fake *Client) UserRepositoriesReturns(result1 gitprovider.UserRepositoriesClient)
func (*Client) UserRepositoriesReturnsOnCall ¶
func (fake *Client) UserRepositoriesReturnsOnCall(i int, result1 gitprovider.UserRepositoriesClient)
type Commit ¶
type Commit struct { APIObjectStub func() interface{} GetStub func() gitprovider.CommitInfo // contains filtered or unexported fields }
func (*Commit) APIObjectCallCount ¶
func (*Commit) APIObjectCalls ¶
func (fake *Commit) APIObjectCalls(stub func() interface{})
func (*Commit) APIObjectReturns ¶
func (fake *Commit) APIObjectReturns(result1 interface{})
func (*Commit) APIObjectReturnsOnCall ¶
func (*Commit) Get ¶
func (fake *Commit) Get() gitprovider.CommitInfo
func (*Commit) GetCallCount ¶
func (*Commit) GetCalls ¶
func (fake *Commit) GetCalls(stub func() gitprovider.CommitInfo)
func (*Commit) GetReturns ¶
func (fake *Commit) GetReturns(result1 gitprovider.CommitInfo)
func (*Commit) GetReturnsOnCall ¶
func (fake *Commit) GetReturnsOnCall(i int, result1 gitprovider.CommitInfo)
func (*Commit) Invocations ¶
type CommitClient ¶
type CommitClient struct { CreateStub func(context.Context, string, string, []gitprovider.CommitFile) (gitprovider.Commit, error) ListPageStub func(context.Context, string, int, int) ([]gitprovider.Commit, error) // contains filtered or unexported fields }
func (*CommitClient) Create ¶
func (fake *CommitClient) Create(arg1 context.Context, arg2 string, arg3 string, arg4 []gitprovider.CommitFile) (gitprovider.Commit, error)
func (*CommitClient) CreateArgsForCall ¶
func (fake *CommitClient) CreateArgsForCall(i int) (context.Context, string, string, []gitprovider.CommitFile)
func (*CommitClient) CreateCallCount ¶
func (fake *CommitClient) CreateCallCount() int
func (*CommitClient) CreateCalls ¶
func (fake *CommitClient) CreateCalls(stub func(context.Context, string, string, []gitprovider.CommitFile) (gitprovider.Commit, error))
func (*CommitClient) CreateReturns ¶
func (fake *CommitClient) CreateReturns(result1 gitprovider.Commit, result2 error)
func (*CommitClient) CreateReturnsOnCall ¶
func (fake *CommitClient) CreateReturnsOnCall(i int, result1 gitprovider.Commit, result2 error)
func (*CommitClient) Invocations ¶
func (fake *CommitClient) Invocations() map[string][][]interface{}
func (*CommitClient) ListPage ¶
func (fake *CommitClient) ListPage(arg1 context.Context, arg2 string, arg3 int, arg4 int) ([]gitprovider.Commit, error)
func (*CommitClient) ListPageArgsForCall ¶
func (*CommitClient) ListPageCallCount ¶
func (fake *CommitClient) ListPageCallCount() int
func (*CommitClient) ListPageCalls ¶
func (fake *CommitClient) ListPageCalls(stub func(context.Context, string, int, int) ([]gitprovider.Commit, error))
func (*CommitClient) ListPageReturns ¶
func (fake *CommitClient) ListPageReturns(result1 []gitprovider.Commit, result2 error)
func (*CommitClient) ListPageReturnsOnCall ¶
func (fake *CommitClient) ListPageReturnsOnCall(i int, result1 []gitprovider.Commit, result2 error)
type DeployKeyClient ¶
type DeployKeyClient struct { CreateStub func(context.Context, gitprovider.DeployKeyInfo) (gitprovider.DeployKey, error) GetStub func(context.Context, string) (gitprovider.DeployKey, error) ListStub func(context.Context) ([]gitprovider.DeployKey, error) ReconcileStub func(context.Context, gitprovider.DeployKeyInfo) (gitprovider.DeployKey, bool, error) // contains filtered or unexported fields }
func (*DeployKeyClient) Create ¶
func (fake *DeployKeyClient) Create(arg1 context.Context, arg2 gitprovider.DeployKeyInfo) (gitprovider.DeployKey, error)
func (*DeployKeyClient) CreateArgsForCall ¶
func (fake *DeployKeyClient) CreateArgsForCall(i int) (context.Context, gitprovider.DeployKeyInfo)
func (*DeployKeyClient) CreateCallCount ¶
func (fake *DeployKeyClient) CreateCallCount() int
func (*DeployKeyClient) CreateCalls ¶
func (fake *DeployKeyClient) CreateCalls(stub func(context.Context, gitprovider.DeployKeyInfo) (gitprovider.DeployKey, error))
func (*DeployKeyClient) CreateReturns ¶
func (fake *DeployKeyClient) CreateReturns(result1 gitprovider.DeployKey, result2 error)
func (*DeployKeyClient) CreateReturnsOnCall ¶
func (fake *DeployKeyClient) CreateReturnsOnCall(i int, result1 gitprovider.DeployKey, result2 error)
func (*DeployKeyClient) Get ¶
func (fake *DeployKeyClient) Get(arg1 context.Context, arg2 string) (gitprovider.DeployKey, error)
func (*DeployKeyClient) GetArgsForCall ¶
func (fake *DeployKeyClient) GetArgsForCall(i int) (context.Context, string)
func (*DeployKeyClient) GetCallCount ¶
func (fake *DeployKeyClient) GetCallCount() int
func (*DeployKeyClient) GetCalls ¶
func (fake *DeployKeyClient) GetCalls(stub func(context.Context, string) (gitprovider.DeployKey, error))
func (*DeployKeyClient) GetReturns ¶
func (fake *DeployKeyClient) GetReturns(result1 gitprovider.DeployKey, result2 error)
func (*DeployKeyClient) GetReturnsOnCall ¶
func (fake *DeployKeyClient) GetReturnsOnCall(i int, result1 gitprovider.DeployKey, result2 error)
func (*DeployKeyClient) Invocations ¶
func (fake *DeployKeyClient) Invocations() map[string][][]interface{}
func (*DeployKeyClient) List ¶
func (fake *DeployKeyClient) List(arg1 context.Context) ([]gitprovider.DeployKey, error)
func (*DeployKeyClient) ListArgsForCall ¶
func (fake *DeployKeyClient) ListArgsForCall(i int) context.Context
func (*DeployKeyClient) ListCallCount ¶
func (fake *DeployKeyClient) ListCallCount() int
func (*DeployKeyClient) ListCalls ¶
func (fake *DeployKeyClient) ListCalls(stub func(context.Context) ([]gitprovider.DeployKey, error))
func (*DeployKeyClient) ListReturns ¶
func (fake *DeployKeyClient) ListReturns(result1 []gitprovider.DeployKey, result2 error)
func (*DeployKeyClient) ListReturnsOnCall ¶
func (fake *DeployKeyClient) ListReturnsOnCall(i int, result1 []gitprovider.DeployKey, result2 error)
func (*DeployKeyClient) Reconcile ¶
func (fake *DeployKeyClient) Reconcile(arg1 context.Context, arg2 gitprovider.DeployKeyInfo) (gitprovider.DeployKey, bool, error)
func (*DeployKeyClient) ReconcileArgsForCall ¶
func (fake *DeployKeyClient) ReconcileArgsForCall(i int) (context.Context, gitprovider.DeployKeyInfo)
func (*DeployKeyClient) ReconcileCallCount ¶
func (fake *DeployKeyClient) ReconcileCallCount() int
func (*DeployKeyClient) ReconcileCalls ¶
func (fake *DeployKeyClient) ReconcileCalls(stub func(context.Context, gitprovider.DeployKeyInfo) (gitprovider.DeployKey, bool, error))
func (*DeployKeyClient) ReconcileReturns ¶
func (fake *DeployKeyClient) ReconcileReturns(result1 gitprovider.DeployKey, result2 bool, result3 error)
func (*DeployKeyClient) ReconcileReturnsOnCall ¶
func (fake *DeployKeyClient) ReconcileReturnsOnCall(i int, result1 gitprovider.DeployKey, result2 bool, result3 error)
type FileClient ¶ added in v0.7.0
type FileClient struct { GetStub func(context.Context, string, string) ([]*gitprovider.CommitFile, error) // contains filtered or unexported fields }
func (*FileClient) Get ¶ added in v0.7.0
func (fake *FileClient) Get(arg1 context.Context, arg2 string, arg3 string) ([]*gitprovider.CommitFile, error)
func (*FileClient) GetArgsForCall ¶ added in v0.7.0
func (*FileClient) GetCallCount ¶ added in v0.7.0
func (fake *FileClient) GetCallCount() int
func (*FileClient) GetCalls ¶ added in v0.7.0
func (fake *FileClient) GetCalls(stub func(context.Context, string, string) ([]*gitprovider.CommitFile, error))
func (*FileClient) GetReturns ¶ added in v0.7.0
func (fake *FileClient) GetReturns(result1 []*gitprovider.CommitFile, result2 error)
func (*FileClient) GetReturnsOnCall ¶ added in v0.7.0
func (fake *FileClient) GetReturnsOnCall(i int, result1 []*gitprovider.CommitFile, result2 error)
func (*FileClient) Invocations ¶ added in v0.7.0
func (fake *FileClient) Invocations() map[string][][]interface{}
type OrgRepositoriesClient ¶
type OrgRepositoriesClient struct { CreateStub func(context.Context, gitprovider.OrgRepositoryRef, gitprovider.RepositoryInfo, ...gitprovider.RepositoryCreateOption) (gitprovider.OrgRepository, error) GetStub func(context.Context, gitprovider.OrgRepositoryRef) (gitprovider.OrgRepository, error) ListStub func(context.Context, gitprovider.OrganizationRef) ([]gitprovider.OrgRepository, error) ReconcileStub func(context.Context, gitprovider.OrgRepositoryRef, gitprovider.RepositoryInfo, ...gitprovider.RepositoryReconcileOption) (gitprovider.OrgRepository, bool, error) // contains filtered or unexported fields }
func (*OrgRepositoriesClient) Create ¶
func (fake *OrgRepositoriesClient) Create(arg1 context.Context, arg2 gitprovider.OrgRepositoryRef, arg3 gitprovider.RepositoryInfo, arg4 ...gitprovider.RepositoryCreateOption) (gitprovider.OrgRepository, error)
func (*OrgRepositoriesClient) CreateArgsForCall ¶
func (fake *OrgRepositoriesClient) CreateArgsForCall(i int) (context.Context, gitprovider.OrgRepositoryRef, gitprovider.RepositoryInfo, []gitprovider.RepositoryCreateOption)
func (*OrgRepositoriesClient) CreateCallCount ¶
func (fake *OrgRepositoriesClient) CreateCallCount() int
func (*OrgRepositoriesClient) CreateCalls ¶
func (fake *OrgRepositoriesClient) CreateCalls(stub func(context.Context, gitprovider.OrgRepositoryRef, gitprovider.RepositoryInfo, ...gitprovider.RepositoryCreateOption) (gitprovider.OrgRepository, error))
func (*OrgRepositoriesClient) CreateReturns ¶
func (fake *OrgRepositoriesClient) CreateReturns(result1 gitprovider.OrgRepository, result2 error)
func (*OrgRepositoriesClient) CreateReturnsOnCall ¶
func (fake *OrgRepositoriesClient) CreateReturnsOnCall(i int, result1 gitprovider.OrgRepository, result2 error)
func (*OrgRepositoriesClient) Get ¶
func (fake *OrgRepositoriesClient) Get(arg1 context.Context, arg2 gitprovider.OrgRepositoryRef) (gitprovider.OrgRepository, error)
func (*OrgRepositoriesClient) GetArgsForCall ¶
func (fake *OrgRepositoriesClient) GetArgsForCall(i int) (context.Context, gitprovider.OrgRepositoryRef)
func (*OrgRepositoriesClient) GetCallCount ¶
func (fake *OrgRepositoriesClient) GetCallCount() int
func (*OrgRepositoriesClient) GetCalls ¶
func (fake *OrgRepositoriesClient) GetCalls(stub func(context.Context, gitprovider.OrgRepositoryRef) (gitprovider.OrgRepository, error))
func (*OrgRepositoriesClient) GetReturns ¶
func (fake *OrgRepositoriesClient) GetReturns(result1 gitprovider.OrgRepository, result2 error)
func (*OrgRepositoriesClient) GetReturnsOnCall ¶
func (fake *OrgRepositoriesClient) GetReturnsOnCall(i int, result1 gitprovider.OrgRepository, result2 error)
func (*OrgRepositoriesClient) Invocations ¶
func (fake *OrgRepositoriesClient) Invocations() map[string][][]interface{}
func (*OrgRepositoriesClient) List ¶
func (fake *OrgRepositoriesClient) List(arg1 context.Context, arg2 gitprovider.OrganizationRef) ([]gitprovider.OrgRepository, error)
func (*OrgRepositoriesClient) ListArgsForCall ¶
func (fake *OrgRepositoriesClient) ListArgsForCall(i int) (context.Context, gitprovider.OrganizationRef)
func (*OrgRepositoriesClient) ListCallCount ¶
func (fake *OrgRepositoriesClient) ListCallCount() int
func (*OrgRepositoriesClient) ListCalls ¶
func (fake *OrgRepositoriesClient) ListCalls(stub func(context.Context, gitprovider.OrganizationRef) ([]gitprovider.OrgRepository, error))
func (*OrgRepositoriesClient) ListReturns ¶
func (fake *OrgRepositoriesClient) ListReturns(result1 []gitprovider.OrgRepository, result2 error)
func (*OrgRepositoriesClient) ListReturnsOnCall ¶
func (fake *OrgRepositoriesClient) ListReturnsOnCall(i int, result1 []gitprovider.OrgRepository, result2 error)
func (*OrgRepositoriesClient) Reconcile ¶
func (fake *OrgRepositoriesClient) Reconcile(arg1 context.Context, arg2 gitprovider.OrgRepositoryRef, arg3 gitprovider.RepositoryInfo, arg4 ...gitprovider.RepositoryReconcileOption) (gitprovider.OrgRepository, bool, error)
func (*OrgRepositoriesClient) ReconcileArgsForCall ¶
func (fake *OrgRepositoriesClient) ReconcileArgsForCall(i int) (context.Context, gitprovider.OrgRepositoryRef, gitprovider.RepositoryInfo, []gitprovider.RepositoryReconcileOption)
func (*OrgRepositoriesClient) ReconcileCallCount ¶
func (fake *OrgRepositoriesClient) ReconcileCallCount() int
func (*OrgRepositoriesClient) ReconcileCalls ¶
func (fake *OrgRepositoriesClient) ReconcileCalls(stub func(context.Context, gitprovider.OrgRepositoryRef, gitprovider.RepositoryInfo, ...gitprovider.RepositoryReconcileOption) (gitprovider.OrgRepository, bool, error))
func (*OrgRepositoriesClient) ReconcileReturns ¶
func (fake *OrgRepositoriesClient) ReconcileReturns(result1 gitprovider.OrgRepository, result2 bool, result3 error)
func (*OrgRepositoriesClient) ReconcileReturnsOnCall ¶
func (fake *OrgRepositoriesClient) ReconcileReturnsOnCall(i int, result1 gitprovider.OrgRepository, result2 bool, result3 error)
type OrgRepository ¶
type OrgRepository struct { APIObjectStub func() interface{} BranchesStub func() gitprovider.BranchClient CommitsStub func() gitprovider.CommitClient DeleteStub func(context.Context) error DeployKeysStub func() gitprovider.DeployKeyClient FilesStub func() gitprovider.FileClient GetStub func() gitprovider.RepositoryInfo PullRequestsStub func() gitprovider.PullRequestClient ReconcileStub func(context.Context) (bool, error) RepositoryStub func() gitprovider.RepositoryRef SetStub func(gitprovider.RepositoryInfo) error TeamAccessStub func() gitprovider.TeamAccessClient UpdateStub func(context.Context) error // contains filtered or unexported fields }
func (*OrgRepository) APIObject ¶
func (fake *OrgRepository) APIObject() interface{}
func (*OrgRepository) APIObjectCallCount ¶
func (fake *OrgRepository) APIObjectCallCount() int
func (*OrgRepository) APIObjectCalls ¶
func (fake *OrgRepository) APIObjectCalls(stub func() interface{})
func (*OrgRepository) APIObjectReturns ¶
func (fake *OrgRepository) APIObjectReturns(result1 interface{})
func (*OrgRepository) APIObjectReturnsOnCall ¶
func (fake *OrgRepository) APIObjectReturnsOnCall(i int, result1 interface{})
func (*OrgRepository) Branches ¶
func (fake *OrgRepository) Branches() gitprovider.BranchClient
func (*OrgRepository) BranchesCallCount ¶
func (fake *OrgRepository) BranchesCallCount() int
func (*OrgRepository) BranchesCalls ¶
func (fake *OrgRepository) BranchesCalls(stub func() gitprovider.BranchClient)
func (*OrgRepository) BranchesReturns ¶
func (fake *OrgRepository) BranchesReturns(result1 gitprovider.BranchClient)
func (*OrgRepository) BranchesReturnsOnCall ¶
func (fake *OrgRepository) BranchesReturnsOnCall(i int, result1 gitprovider.BranchClient)
func (*OrgRepository) Commits ¶
func (fake *OrgRepository) Commits() gitprovider.CommitClient
func (*OrgRepository) CommitsCallCount ¶
func (fake *OrgRepository) CommitsCallCount() int
func (*OrgRepository) CommitsCalls ¶
func (fake *OrgRepository) CommitsCalls(stub func() gitprovider.CommitClient)
func (*OrgRepository) CommitsReturns ¶
func (fake *OrgRepository) CommitsReturns(result1 gitprovider.CommitClient)
func (*OrgRepository) CommitsReturnsOnCall ¶
func (fake *OrgRepository) CommitsReturnsOnCall(i int, result1 gitprovider.CommitClient)
func (*OrgRepository) DeleteArgsForCall ¶
func (fake *OrgRepository) DeleteArgsForCall(i int) context.Context
func (*OrgRepository) DeleteCallCount ¶
func (fake *OrgRepository) DeleteCallCount() int
func (*OrgRepository) DeleteCalls ¶
func (fake *OrgRepository) DeleteCalls(stub func(context.Context) error)
func (*OrgRepository) DeleteReturns ¶
func (fake *OrgRepository) DeleteReturns(result1 error)
func (*OrgRepository) DeleteReturnsOnCall ¶
func (fake *OrgRepository) DeleteReturnsOnCall(i int, result1 error)
func (*OrgRepository) DeployKeys ¶
func (fake *OrgRepository) DeployKeys() gitprovider.DeployKeyClient
func (*OrgRepository) DeployKeysCallCount ¶
func (fake *OrgRepository) DeployKeysCallCount() int
func (*OrgRepository) DeployKeysCalls ¶
func (fake *OrgRepository) DeployKeysCalls(stub func() gitprovider.DeployKeyClient)
func (*OrgRepository) DeployKeysReturns ¶
func (fake *OrgRepository) DeployKeysReturns(result1 gitprovider.DeployKeyClient)
func (*OrgRepository) DeployKeysReturnsOnCall ¶
func (fake *OrgRepository) DeployKeysReturnsOnCall(i int, result1 gitprovider.DeployKeyClient)
func (*OrgRepository) Files ¶ added in v0.7.0
func (fake *OrgRepository) Files() gitprovider.FileClient
func (*OrgRepository) FilesCallCount ¶ added in v0.7.0
func (fake *OrgRepository) FilesCallCount() int
func (*OrgRepository) FilesCalls ¶ added in v0.7.0
func (fake *OrgRepository) FilesCalls(stub func() gitprovider.FileClient)
func (*OrgRepository) FilesReturns ¶ added in v0.7.0
func (fake *OrgRepository) FilesReturns(result1 gitprovider.FileClient)
func (*OrgRepository) FilesReturnsOnCall ¶ added in v0.7.0
func (fake *OrgRepository) FilesReturnsOnCall(i int, result1 gitprovider.FileClient)
func (*OrgRepository) Get ¶
func (fake *OrgRepository) Get() gitprovider.RepositoryInfo
func (*OrgRepository) GetCallCount ¶
func (fake *OrgRepository) GetCallCount() int
func (*OrgRepository) GetCalls ¶
func (fake *OrgRepository) GetCalls(stub func() gitprovider.RepositoryInfo)
func (*OrgRepository) GetReturns ¶
func (fake *OrgRepository) GetReturns(result1 gitprovider.RepositoryInfo)
func (*OrgRepository) GetReturnsOnCall ¶
func (fake *OrgRepository) GetReturnsOnCall(i int, result1 gitprovider.RepositoryInfo)
func (*OrgRepository) Invocations ¶
func (fake *OrgRepository) Invocations() map[string][][]interface{}
func (*OrgRepository) PullRequests ¶
func (fake *OrgRepository) PullRequests() gitprovider.PullRequestClient
func (*OrgRepository) PullRequestsCallCount ¶
func (fake *OrgRepository) PullRequestsCallCount() int
func (*OrgRepository) PullRequestsCalls ¶
func (fake *OrgRepository) PullRequestsCalls(stub func() gitprovider.PullRequestClient)
func (*OrgRepository) PullRequestsReturns ¶
func (fake *OrgRepository) PullRequestsReturns(result1 gitprovider.PullRequestClient)
func (*OrgRepository) PullRequestsReturnsOnCall ¶
func (fake *OrgRepository) PullRequestsReturnsOnCall(i int, result1 gitprovider.PullRequestClient)
func (*OrgRepository) Reconcile ¶
func (fake *OrgRepository) Reconcile(arg1 context.Context) (bool, error)
func (*OrgRepository) ReconcileArgsForCall ¶
func (fake *OrgRepository) ReconcileArgsForCall(i int) context.Context
func (*OrgRepository) ReconcileCallCount ¶
func (fake *OrgRepository) ReconcileCallCount() int
func (*OrgRepository) ReconcileCalls ¶
func (fake *OrgRepository) ReconcileCalls(stub func(context.Context) (bool, error))
func (*OrgRepository) ReconcileReturns ¶
func (fake *OrgRepository) ReconcileReturns(result1 bool, result2 error)
func (*OrgRepository) ReconcileReturnsOnCall ¶
func (fake *OrgRepository) ReconcileReturnsOnCall(i int, result1 bool, result2 error)
func (*OrgRepository) Repository ¶
func (fake *OrgRepository) Repository() gitprovider.RepositoryRef
func (*OrgRepository) RepositoryCallCount ¶
func (fake *OrgRepository) RepositoryCallCount() int
func (*OrgRepository) RepositoryCalls ¶
func (fake *OrgRepository) RepositoryCalls(stub func() gitprovider.RepositoryRef)
func (*OrgRepository) RepositoryReturns ¶
func (fake *OrgRepository) RepositoryReturns(result1 gitprovider.RepositoryRef)
func (*OrgRepository) RepositoryReturnsOnCall ¶
func (fake *OrgRepository) RepositoryReturnsOnCall(i int, result1 gitprovider.RepositoryRef)
func (*OrgRepository) Set ¶
func (fake *OrgRepository) Set(arg1 gitprovider.RepositoryInfo) error
func (*OrgRepository) SetArgsForCall ¶
func (fake *OrgRepository) SetArgsForCall(i int) gitprovider.RepositoryInfo
func (*OrgRepository) SetCallCount ¶
func (fake *OrgRepository) SetCallCount() int
func (*OrgRepository) SetCalls ¶
func (fake *OrgRepository) SetCalls(stub func(gitprovider.RepositoryInfo) error)
func (*OrgRepository) SetReturns ¶
func (fake *OrgRepository) SetReturns(result1 error)
func (*OrgRepository) SetReturnsOnCall ¶
func (fake *OrgRepository) SetReturnsOnCall(i int, result1 error)
func (*OrgRepository) TeamAccess ¶
func (fake *OrgRepository) TeamAccess() gitprovider.TeamAccessClient
func (*OrgRepository) TeamAccessCallCount ¶
func (fake *OrgRepository) TeamAccessCallCount() int
func (*OrgRepository) TeamAccessCalls ¶
func (fake *OrgRepository) TeamAccessCalls(stub func() gitprovider.TeamAccessClient)
func (*OrgRepository) TeamAccessReturns ¶
func (fake *OrgRepository) TeamAccessReturns(result1 gitprovider.TeamAccessClient)
func (*OrgRepository) TeamAccessReturnsOnCall ¶
func (fake *OrgRepository) TeamAccessReturnsOnCall(i int, result1 gitprovider.TeamAccessClient)
func (*OrgRepository) UpdateArgsForCall ¶
func (fake *OrgRepository) UpdateArgsForCall(i int) context.Context
func (*OrgRepository) UpdateCallCount ¶
func (fake *OrgRepository) UpdateCallCount() int
func (*OrgRepository) UpdateCalls ¶
func (fake *OrgRepository) UpdateCalls(stub func(context.Context) error)
func (*OrgRepository) UpdateReturns ¶
func (fake *OrgRepository) UpdateReturns(result1 error)
func (*OrgRepository) UpdateReturnsOnCall ¶
func (fake *OrgRepository) UpdateReturnsOnCall(i int, result1 error)
type PullRequest ¶ added in v0.7.0
type PullRequest struct { APIObjectStub func() interface{} GetStub func() gitprovider.PullRequestInfo // contains filtered or unexported fields }
func (*PullRequest) APIObject ¶ added in v0.7.0
func (fake *PullRequest) APIObject() interface{}
func (*PullRequest) APIObjectCallCount ¶ added in v0.7.0
func (fake *PullRequest) APIObjectCallCount() int
func (*PullRequest) APIObjectCalls ¶ added in v0.7.0
func (fake *PullRequest) APIObjectCalls(stub func() interface{})
func (*PullRequest) APIObjectReturns ¶ added in v0.7.0
func (fake *PullRequest) APIObjectReturns(result1 interface{})
func (*PullRequest) APIObjectReturnsOnCall ¶ added in v0.7.0
func (fake *PullRequest) APIObjectReturnsOnCall(i int, result1 interface{})
func (*PullRequest) Get ¶ added in v0.7.0
func (fake *PullRequest) Get() gitprovider.PullRequestInfo
func (*PullRequest) GetCallCount ¶ added in v0.7.0
func (fake *PullRequest) GetCallCount() int
func (*PullRequest) GetCalls ¶ added in v0.7.0
func (fake *PullRequest) GetCalls(stub func() gitprovider.PullRequestInfo)
func (*PullRequest) GetReturns ¶ added in v0.7.0
func (fake *PullRequest) GetReturns(result1 gitprovider.PullRequestInfo)
func (*PullRequest) GetReturnsOnCall ¶ added in v0.7.0
func (fake *PullRequest) GetReturnsOnCall(i int, result1 gitprovider.PullRequestInfo)
func (*PullRequest) Invocations ¶ added in v0.7.0
func (fake *PullRequest) Invocations() map[string][][]interface{}
type PullRequestClient ¶
type PullRequestClient struct { CreateStub func(context.Context, string, string, string, string) (gitprovider.PullRequest, error) GetStub func(context.Context, int) (gitprovider.PullRequest, error) ListStub func(context.Context) ([]gitprovider.PullRequest, error) MergeStub func(context.Context, int, gitprovider.MergeMethod, string) error // contains filtered or unexported fields }
func (*PullRequestClient) Create ¶
func (fake *PullRequestClient) Create(arg1 context.Context, arg2 string, arg3 string, arg4 string, arg5 string) (gitprovider.PullRequest, error)
func (*PullRequestClient) CreateArgsForCall ¶
func (*PullRequestClient) CreateCallCount ¶
func (fake *PullRequestClient) CreateCallCount() int
func (*PullRequestClient) CreateCalls ¶
func (fake *PullRequestClient) CreateCalls(stub func(context.Context, string, string, string, string) (gitprovider.PullRequest, error))
func (*PullRequestClient) CreateReturns ¶
func (fake *PullRequestClient) CreateReturns(result1 gitprovider.PullRequest, result2 error)
func (*PullRequestClient) CreateReturnsOnCall ¶
func (fake *PullRequestClient) CreateReturnsOnCall(i int, result1 gitprovider.PullRequest, result2 error)
func (*PullRequestClient) Get ¶
func (fake *PullRequestClient) Get(arg1 context.Context, arg2 int) (gitprovider.PullRequest, error)
func (*PullRequestClient) GetArgsForCall ¶
func (fake *PullRequestClient) GetArgsForCall(i int) (context.Context, int)
func (*PullRequestClient) GetCallCount ¶
func (fake *PullRequestClient) GetCallCount() int
func (*PullRequestClient) GetCalls ¶
func (fake *PullRequestClient) GetCalls(stub func(context.Context, int) (gitprovider.PullRequest, error))
func (*PullRequestClient) GetReturns ¶
func (fake *PullRequestClient) GetReturns(result1 gitprovider.PullRequest, result2 error)
func (*PullRequestClient) GetReturnsOnCall ¶
func (fake *PullRequestClient) GetReturnsOnCall(i int, result1 gitprovider.PullRequest, result2 error)
func (*PullRequestClient) Invocations ¶
func (fake *PullRequestClient) Invocations() map[string][][]interface{}
func (*PullRequestClient) List ¶
func (fake *PullRequestClient) List(arg1 context.Context) ([]gitprovider.PullRequest, error)
func (*PullRequestClient) ListArgsForCall ¶
func (fake *PullRequestClient) ListArgsForCall(i int) context.Context
func (*PullRequestClient) ListCallCount ¶
func (fake *PullRequestClient) ListCallCount() int
func (*PullRequestClient) ListCalls ¶
func (fake *PullRequestClient) ListCalls(stub func(context.Context) ([]gitprovider.PullRequest, error))
func (*PullRequestClient) ListReturns ¶
func (fake *PullRequestClient) ListReturns(result1 []gitprovider.PullRequest, result2 error)
func (*PullRequestClient) ListReturnsOnCall ¶
func (fake *PullRequestClient) ListReturnsOnCall(i int, result1 []gitprovider.PullRequest, result2 error)
func (*PullRequestClient) Merge ¶
func (fake *PullRequestClient) Merge(arg1 context.Context, arg2 int, arg3 gitprovider.MergeMethod, arg4 string) error
func (*PullRequestClient) MergeArgsForCall ¶
func (fake *PullRequestClient) MergeArgsForCall(i int) (context.Context, int, gitprovider.MergeMethod, string)
func (*PullRequestClient) MergeCallCount ¶
func (fake *PullRequestClient) MergeCallCount() int
func (*PullRequestClient) MergeCalls ¶
func (fake *PullRequestClient) MergeCalls(stub func(context.Context, int, gitprovider.MergeMethod, string) error)
func (*PullRequestClient) MergeReturns ¶
func (fake *PullRequestClient) MergeReturns(result1 error)
func (*PullRequestClient) MergeReturnsOnCall ¶
func (fake *PullRequestClient) MergeReturnsOnCall(i int, result1 error)
type UserRepositoriesClient ¶
type UserRepositoriesClient struct { CreateStub func(context.Context, gitprovider.UserRepositoryRef, gitprovider.RepositoryInfo, ...gitprovider.RepositoryCreateOption) (gitprovider.UserRepository, error) GetStub func(context.Context, gitprovider.UserRepositoryRef) (gitprovider.UserRepository, error) ListStub func(context.Context, gitprovider.UserRef) ([]gitprovider.UserRepository, error) ReconcileStub func(context.Context, gitprovider.UserRepositoryRef, gitprovider.RepositoryInfo, ...gitprovider.RepositoryReconcileOption) (gitprovider.UserRepository, bool, error) // contains filtered or unexported fields }
func (*UserRepositoriesClient) Create ¶
func (fake *UserRepositoriesClient) Create(arg1 context.Context, arg2 gitprovider.UserRepositoryRef, arg3 gitprovider.RepositoryInfo, arg4 ...gitprovider.RepositoryCreateOption) (gitprovider.UserRepository, error)
func (*UserRepositoriesClient) CreateArgsForCall ¶
func (fake *UserRepositoriesClient) CreateArgsForCall(i int) (context.Context, gitprovider.UserRepositoryRef, gitprovider.RepositoryInfo, []gitprovider.RepositoryCreateOption)
func (*UserRepositoriesClient) CreateCallCount ¶
func (fake *UserRepositoriesClient) CreateCallCount() int
func (*UserRepositoriesClient) CreateCalls ¶
func (fake *UserRepositoriesClient) CreateCalls(stub func(context.Context, gitprovider.UserRepositoryRef, gitprovider.RepositoryInfo, ...gitprovider.RepositoryCreateOption) (gitprovider.UserRepository, error))
func (*UserRepositoriesClient) CreateReturns ¶
func (fake *UserRepositoriesClient) CreateReturns(result1 gitprovider.UserRepository, result2 error)
func (*UserRepositoriesClient) CreateReturnsOnCall ¶
func (fake *UserRepositoriesClient) CreateReturnsOnCall(i int, result1 gitprovider.UserRepository, result2 error)
func (*UserRepositoriesClient) Get ¶
func (fake *UserRepositoriesClient) Get(arg1 context.Context, arg2 gitprovider.UserRepositoryRef) (gitprovider.UserRepository, error)
func (*UserRepositoriesClient) GetArgsForCall ¶
func (fake *UserRepositoriesClient) GetArgsForCall(i int) (context.Context, gitprovider.UserRepositoryRef)
func (*UserRepositoriesClient) GetCallCount ¶
func (fake *UserRepositoriesClient) GetCallCount() int
func (*UserRepositoriesClient) GetCalls ¶
func (fake *UserRepositoriesClient) GetCalls(stub func(context.Context, gitprovider.UserRepositoryRef) (gitprovider.UserRepository, error))
func (*UserRepositoriesClient) GetReturns ¶
func (fake *UserRepositoriesClient) GetReturns(result1 gitprovider.UserRepository, result2 error)
func (*UserRepositoriesClient) GetReturnsOnCall ¶
func (fake *UserRepositoriesClient) GetReturnsOnCall(i int, result1 gitprovider.UserRepository, result2 error)
func (*UserRepositoriesClient) Invocations ¶
func (fake *UserRepositoriesClient) Invocations() map[string][][]interface{}
func (*UserRepositoriesClient) List ¶
func (fake *UserRepositoriesClient) List(arg1 context.Context, arg2 gitprovider.UserRef) ([]gitprovider.UserRepository, error)
func (*UserRepositoriesClient) ListArgsForCall ¶
func (fake *UserRepositoriesClient) ListArgsForCall(i int) (context.Context, gitprovider.UserRef)
func (*UserRepositoriesClient) ListCallCount ¶
func (fake *UserRepositoriesClient) ListCallCount() int
func (*UserRepositoriesClient) ListCalls ¶
func (fake *UserRepositoriesClient) ListCalls(stub func(context.Context, gitprovider.UserRef) ([]gitprovider.UserRepository, error))
func (*UserRepositoriesClient) ListReturns ¶
func (fake *UserRepositoriesClient) ListReturns(result1 []gitprovider.UserRepository, result2 error)
func (*UserRepositoriesClient) ListReturnsOnCall ¶
func (fake *UserRepositoriesClient) ListReturnsOnCall(i int, result1 []gitprovider.UserRepository, result2 error)
func (*UserRepositoriesClient) Reconcile ¶
func (fake *UserRepositoriesClient) Reconcile(arg1 context.Context, arg2 gitprovider.UserRepositoryRef, arg3 gitprovider.RepositoryInfo, arg4 ...gitprovider.RepositoryReconcileOption) (gitprovider.UserRepository, bool, error)
func (*UserRepositoriesClient) ReconcileArgsForCall ¶
func (fake *UserRepositoriesClient) ReconcileArgsForCall(i int) (context.Context, gitprovider.UserRepositoryRef, gitprovider.RepositoryInfo, []gitprovider.RepositoryReconcileOption)
func (*UserRepositoriesClient) ReconcileCallCount ¶
func (fake *UserRepositoriesClient) ReconcileCallCount() int
func (*UserRepositoriesClient) ReconcileCalls ¶
func (fake *UserRepositoriesClient) ReconcileCalls(stub func(context.Context, gitprovider.UserRepositoryRef, gitprovider.RepositoryInfo, ...gitprovider.RepositoryReconcileOption) (gitprovider.UserRepository, bool, error))
func (*UserRepositoriesClient) ReconcileReturns ¶
func (fake *UserRepositoriesClient) ReconcileReturns(result1 gitprovider.UserRepository, result2 bool, result3 error)
func (*UserRepositoriesClient) ReconcileReturnsOnCall ¶
func (fake *UserRepositoriesClient) ReconcileReturnsOnCall(i int, result1 gitprovider.UserRepository, result2 bool, result3 error)
type UserRepository ¶
type UserRepository struct { APIObjectStub func() interface{} BranchesStub func() gitprovider.BranchClient CommitsStub func() gitprovider.CommitClient DeleteStub func(context.Context) error DeployKeysStub func() gitprovider.DeployKeyClient FilesStub func() gitprovider.FileClient GetStub func() gitprovider.RepositoryInfo PullRequestsStub func() gitprovider.PullRequestClient ReconcileStub func(context.Context) (bool, error) RepositoryStub func() gitprovider.RepositoryRef SetStub func(gitprovider.RepositoryInfo) error UpdateStub func(context.Context) error // contains filtered or unexported fields }
func (*UserRepository) APIObject ¶
func (fake *UserRepository) APIObject() interface{}
func (*UserRepository) APIObjectCallCount ¶
func (fake *UserRepository) APIObjectCallCount() int
func (*UserRepository) APIObjectCalls ¶
func (fake *UserRepository) APIObjectCalls(stub func() interface{})
func (*UserRepository) APIObjectReturns ¶
func (fake *UserRepository) APIObjectReturns(result1 interface{})
func (*UserRepository) APIObjectReturnsOnCall ¶
func (fake *UserRepository) APIObjectReturnsOnCall(i int, result1 interface{})
func (*UserRepository) Branches ¶
func (fake *UserRepository) Branches() gitprovider.BranchClient
func (*UserRepository) BranchesCallCount ¶
func (fake *UserRepository) BranchesCallCount() int
func (*UserRepository) BranchesCalls ¶
func (fake *UserRepository) BranchesCalls(stub func() gitprovider.BranchClient)
func (*UserRepository) BranchesReturns ¶
func (fake *UserRepository) BranchesReturns(result1 gitprovider.BranchClient)
func (*UserRepository) BranchesReturnsOnCall ¶
func (fake *UserRepository) BranchesReturnsOnCall(i int, result1 gitprovider.BranchClient)
func (*UserRepository) Commits ¶
func (fake *UserRepository) Commits() gitprovider.CommitClient
func (*UserRepository) CommitsCallCount ¶
func (fake *UserRepository) CommitsCallCount() int
func (*UserRepository) CommitsCalls ¶
func (fake *UserRepository) CommitsCalls(stub func() gitprovider.CommitClient)
func (*UserRepository) CommitsReturns ¶
func (fake *UserRepository) CommitsReturns(result1 gitprovider.CommitClient)
func (*UserRepository) CommitsReturnsOnCall ¶
func (fake *UserRepository) CommitsReturnsOnCall(i int, result1 gitprovider.CommitClient)
func (*UserRepository) DeleteArgsForCall ¶
func (fake *UserRepository) DeleteArgsForCall(i int) context.Context
func (*UserRepository) DeleteCallCount ¶
func (fake *UserRepository) DeleteCallCount() int
func (*UserRepository) DeleteCalls ¶
func (fake *UserRepository) DeleteCalls(stub func(context.Context) error)
func (*UserRepository) DeleteReturns ¶
func (fake *UserRepository) DeleteReturns(result1 error)
func (*UserRepository) DeleteReturnsOnCall ¶
func (fake *UserRepository) DeleteReturnsOnCall(i int, result1 error)
func (*UserRepository) DeployKeys ¶
func (fake *UserRepository) DeployKeys() gitprovider.DeployKeyClient
func (*UserRepository) DeployKeysCallCount ¶
func (fake *UserRepository) DeployKeysCallCount() int
func (*UserRepository) DeployKeysCalls ¶
func (fake *UserRepository) DeployKeysCalls(stub func() gitprovider.DeployKeyClient)
func (*UserRepository) DeployKeysReturns ¶
func (fake *UserRepository) DeployKeysReturns(result1 gitprovider.DeployKeyClient)
func (*UserRepository) DeployKeysReturnsOnCall ¶
func (fake *UserRepository) DeployKeysReturnsOnCall(i int, result1 gitprovider.DeployKeyClient)
func (*UserRepository) Files ¶ added in v0.7.0
func (fake *UserRepository) Files() gitprovider.FileClient
func (*UserRepository) FilesCallCount ¶ added in v0.7.0
func (fake *UserRepository) FilesCallCount() int
func (*UserRepository) FilesCalls ¶ added in v0.7.0
func (fake *UserRepository) FilesCalls(stub func() gitprovider.FileClient)
func (*UserRepository) FilesReturns ¶ added in v0.7.0
func (fake *UserRepository) FilesReturns(result1 gitprovider.FileClient)
func (*UserRepository) FilesReturnsOnCall ¶ added in v0.7.0
func (fake *UserRepository) FilesReturnsOnCall(i int, result1 gitprovider.FileClient)
func (*UserRepository) Get ¶
func (fake *UserRepository) Get() gitprovider.RepositoryInfo
func (*UserRepository) GetCallCount ¶
func (fake *UserRepository) GetCallCount() int
func (*UserRepository) GetCalls ¶
func (fake *UserRepository) GetCalls(stub func() gitprovider.RepositoryInfo)
func (*UserRepository) GetReturns ¶
func (fake *UserRepository) GetReturns(result1 gitprovider.RepositoryInfo)
func (*UserRepository) GetReturnsOnCall ¶
func (fake *UserRepository) GetReturnsOnCall(i int, result1 gitprovider.RepositoryInfo)
func (*UserRepository) Invocations ¶
func (fake *UserRepository) Invocations() map[string][][]interface{}
func (*UserRepository) PullRequests ¶
func (fake *UserRepository) PullRequests() gitprovider.PullRequestClient
func (*UserRepository) PullRequestsCallCount ¶
func (fake *UserRepository) PullRequestsCallCount() int
func (*UserRepository) PullRequestsCalls ¶
func (fake *UserRepository) PullRequestsCalls(stub func() gitprovider.PullRequestClient)
func (*UserRepository) PullRequestsReturns ¶
func (fake *UserRepository) PullRequestsReturns(result1 gitprovider.PullRequestClient)
func (*UserRepository) PullRequestsReturnsOnCall ¶
func (fake *UserRepository) PullRequestsReturnsOnCall(i int, result1 gitprovider.PullRequestClient)
func (*UserRepository) Reconcile ¶
func (fake *UserRepository) Reconcile(arg1 context.Context) (bool, error)
func (*UserRepository) ReconcileArgsForCall ¶
func (fake *UserRepository) ReconcileArgsForCall(i int) context.Context
func (*UserRepository) ReconcileCallCount ¶
func (fake *UserRepository) ReconcileCallCount() int
func (*UserRepository) ReconcileCalls ¶
func (fake *UserRepository) ReconcileCalls(stub func(context.Context) (bool, error))
func (*UserRepository) ReconcileReturns ¶
func (fake *UserRepository) ReconcileReturns(result1 bool, result2 error)
func (*UserRepository) ReconcileReturnsOnCall ¶
func (fake *UserRepository) ReconcileReturnsOnCall(i int, result1 bool, result2 error)
func (*UserRepository) Repository ¶
func (fake *UserRepository) Repository() gitprovider.RepositoryRef
func (*UserRepository) RepositoryCallCount ¶
func (fake *UserRepository) RepositoryCallCount() int
func (*UserRepository) RepositoryCalls ¶
func (fake *UserRepository) RepositoryCalls(stub func() gitprovider.RepositoryRef)
func (*UserRepository) RepositoryReturns ¶
func (fake *UserRepository) RepositoryReturns(result1 gitprovider.RepositoryRef)
func (*UserRepository) RepositoryReturnsOnCall ¶
func (fake *UserRepository) RepositoryReturnsOnCall(i int, result1 gitprovider.RepositoryRef)
func (*UserRepository) Set ¶
func (fake *UserRepository) Set(arg1 gitprovider.RepositoryInfo) error
func (*UserRepository) SetArgsForCall ¶
func (fake *UserRepository) SetArgsForCall(i int) gitprovider.RepositoryInfo
func (*UserRepository) SetCallCount ¶
func (fake *UserRepository) SetCallCount() int
func (*UserRepository) SetCalls ¶
func (fake *UserRepository) SetCalls(stub func(gitprovider.RepositoryInfo) error)
func (*UserRepository) SetReturns ¶
func (fake *UserRepository) SetReturns(result1 error)
func (*UserRepository) SetReturnsOnCall ¶
func (fake *UserRepository) SetReturnsOnCall(i int, result1 error)
func (*UserRepository) UpdateArgsForCall ¶
func (fake *UserRepository) UpdateArgsForCall(i int) context.Context
func (*UserRepository) UpdateCallCount ¶
func (fake *UserRepository) UpdateCallCount() int
func (*UserRepository) UpdateCalls ¶
func (fake *UserRepository) UpdateCalls(stub func(context.Context) error)
func (*UserRepository) UpdateReturns ¶
func (fake *UserRepository) UpdateReturns(result1 error)
func (*UserRepository) UpdateReturnsOnCall ¶
func (fake *UserRepository) UpdateReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.