Documentation ¶
Index ¶
- type MockClient
- func (_m *MockClient) Agent(_a0 int64) (*woodpecker.Agent, error)
- func (_m *MockClient) AgentCreate(_a0 *woodpecker.Agent) (*woodpecker.Agent, error)
- func (_m *MockClient) AgentDelete(_a0 int64) error
- func (_m *MockClient) AgentList() ([]*woodpecker.Agent, error)
- func (_m *MockClient) AgentTasksList(_a0 int64) ([]*woodpecker.Task, error)
- func (_m *MockClient) AgentUpdate(_a0 *woodpecker.Agent) (*woodpecker.Agent, error)
- func (_m *MockClient) CronCreate(repoID int64, cron *woodpecker.Cron) (*woodpecker.Cron, error)
- func (_m *MockClient) CronDelete(repoID int64, cronID int64) error
- func (_m *MockClient) CronGet(repoID int64, cronID int64) (*woodpecker.Cron, error)
- func (_m *MockClient) CronList(repoID int64) ([]*woodpecker.Cron, error)
- func (_m *MockClient) CronUpdate(repoID int64, cron *woodpecker.Cron) (*woodpecker.Cron, error)
- func (_m *MockClient) Deploy(repoID int64, pipeline int64, env string, params map[string]string) (*woodpecker.Pipeline, error)
- func (_m *MockClient) EXPECT() *MockClient_Expecter
- func (_m *MockClient) GlobalRegistry(registry string) (*woodpecker.Registry, error)
- func (_m *MockClient) GlobalRegistryCreate(registry *woodpecker.Registry) (*woodpecker.Registry, error)
- func (_m *MockClient) GlobalRegistryDelete(registry string) error
- func (_m *MockClient) GlobalRegistryList() ([]*woodpecker.Registry, error)
- func (_m *MockClient) GlobalRegistryUpdate(registry *woodpecker.Registry) (*woodpecker.Registry, error)
- func (_m *MockClient) GlobalSecret(secret string) (*woodpecker.Secret, error)
- func (_m *MockClient) GlobalSecretCreate(secret *woodpecker.Secret) (*woodpecker.Secret, error)
- func (_m *MockClient) GlobalSecretDelete(secret string) error
- func (_m *MockClient) GlobalSecretList() ([]*woodpecker.Secret, error)
- func (_m *MockClient) GlobalSecretUpdate(secret *woodpecker.Secret) (*woodpecker.Secret, error)
- func (_m *MockClient) LogLevel() (*woodpecker.LogLevel, error)
- func (_m *MockClient) LogsPurge(repoID int64, pipeline int64) error
- func (_m *MockClient) Org(orgID int64) (*woodpecker.Org, error)
- func (_m *MockClient) OrgLookup(orgName string) (*woodpecker.Org, error)
- func (_m *MockClient) OrgRegistry(orgID int64, registry string) (*woodpecker.Registry, error)
- func (_m *MockClient) OrgRegistryCreate(orgID int64, registry *woodpecker.Registry) (*woodpecker.Registry, error)
- func (_m *MockClient) OrgRegistryDelete(orgID int64, registry string) error
- func (_m *MockClient) OrgRegistryList(orgID int64) ([]*woodpecker.Registry, error)
- func (_m *MockClient) OrgRegistryUpdate(orgID int64, registry *woodpecker.Registry) (*woodpecker.Registry, error)
- func (_m *MockClient) OrgSecret(orgID int64, secret string) (*woodpecker.Secret, error)
- func (_m *MockClient) OrgSecretCreate(orgID int64, secret *woodpecker.Secret) (*woodpecker.Secret, error)
- func (_m *MockClient) OrgSecretDelete(orgID int64, secret string) error
- func (_m *MockClient) OrgSecretList(orgID int64) ([]*woodpecker.Secret, error)
- func (_m *MockClient) OrgSecretUpdate(orgID int64, secret *woodpecker.Secret) (*woodpecker.Secret, error)
- func (_m *MockClient) Pipeline(repoID int64, pipeline int64) (*woodpecker.Pipeline, error)
- func (_m *MockClient) PipelineApprove(repoID int64, pipeline int64) (*woodpecker.Pipeline, error)
- func (_m *MockClient) PipelineCreate(repoID int64, opts *woodpecker.PipelineOptions) (*woodpecker.Pipeline, error)
- func (_m *MockClient) PipelineDecline(repoID int64, pipeline int64) (*woodpecker.Pipeline, error)
- func (_m *MockClient) PipelineKill(repoID int64, pipeline int64) error
- func (_m *MockClient) PipelineLast(repoID int64, branch string) (*woodpecker.Pipeline, error)
- func (_m *MockClient) PipelineList(repoID int64) ([]*woodpecker.Pipeline, error)
- func (_m *MockClient) PipelineQueue() ([]*woodpecker.Feed, error)
- func (_m *MockClient) PipelineStart(repoID int64, num int64, params map[string]string) (*woodpecker.Pipeline, error)
- func (_m *MockClient) PipelineStop(repoID int64, pipeline int64) error
- func (_m *MockClient) QueueInfo() (*woodpecker.Info, error)
- func (_m *MockClient) Registry(repoID int64, hostname string) (*woodpecker.Registry, error)
- func (_m *MockClient) RegistryCreate(repoID int64, registry *woodpecker.Registry) (*woodpecker.Registry, error)
- func (_m *MockClient) RegistryDelete(repoID int64, hostname string) error
- func (_m *MockClient) RegistryList(repoID int64) ([]*woodpecker.Registry, error)
- func (_m *MockClient) RegistryUpdate(repoID int64, registry *woodpecker.Registry) (*woodpecker.Registry, error)
- func (_m *MockClient) Repo(repoID int64) (*woodpecker.Repo, error)
- func (_m *MockClient) RepoChown(repoID int64) (*woodpecker.Repo, error)
- func (_m *MockClient) RepoDel(repoID int64) error
- func (_m *MockClient) RepoList() ([]*woodpecker.Repo, error)
- func (_m *MockClient) RepoListOpts(_a0 bool) ([]*woodpecker.Repo, error)
- func (_m *MockClient) RepoLookup(repoFullName string) (*woodpecker.Repo, error)
- func (_m *MockClient) RepoMove(repoID int64, dst string) error
- func (_m *MockClient) RepoPatch(repoID int64, repo *woodpecker.RepoPatch) (*woodpecker.Repo, error)
- func (_m *MockClient) RepoPost(forgeRemoteID int64) (*woodpecker.Repo, error)
- func (_m *MockClient) RepoRepair(repoID int64) error
- func (_m *MockClient) Secret(repoID int64, secret string) (*woodpecker.Secret, error)
- func (_m *MockClient) SecretCreate(repoID int64, secret *woodpecker.Secret) (*woodpecker.Secret, error)
- func (_m *MockClient) SecretDelete(repoID int64, secret string) error
- func (_m *MockClient) SecretList(repoID int64) ([]*woodpecker.Secret, error)
- func (_m *MockClient) SecretUpdate(repoID int64, secret *woodpecker.Secret) (*woodpecker.Secret, error)
- func (_m *MockClient) Self() (*woodpecker.User, error)
- func (_m *MockClient) SetAddress(_a0 string)
- func (_m *MockClient) SetClient(_a0 *http.Client)
- func (_m *MockClient) SetLogLevel(logLevel *woodpecker.LogLevel) (*woodpecker.LogLevel, error)
- func (_m *MockClient) StepLogEntries(repoID int64, pipeline int64, stepID int64) ([]*woodpecker.LogEntry, error)
- func (_m *MockClient) StepLogsPurge(repoID int64, pipelineNumber int64, stepID int64) error
- func (_m *MockClient) User(_a0 string) (*woodpecker.User, error)
- func (_m *MockClient) UserDel(_a0 string) error
- func (_m *MockClient) UserList() ([]*woodpecker.User, error)
- func (_m *MockClient) UserPatch(_a0 *woodpecker.User) (*woodpecker.User, error)
- func (_m *MockClient) UserPost(_a0 *woodpecker.User) (*woodpecker.User, error)
- type MockClient_AgentCreate_Call
- func (_c *MockClient_AgentCreate_Call) Return(_a0 *woodpecker.Agent, _a1 error) *MockClient_AgentCreate_Call
- func (_c *MockClient_AgentCreate_Call) Run(run func(_a0 *woodpecker.Agent)) *MockClient_AgentCreate_Call
- func (_c *MockClient_AgentCreate_Call) RunAndReturn(run func(*woodpecker.Agent) (*woodpecker.Agent, error)) *MockClient_AgentCreate_Call
- type MockClient_AgentDelete_Call
- type MockClient_AgentList_Call
- func (_c *MockClient_AgentList_Call) Return(_a0 []*woodpecker.Agent, _a1 error) *MockClient_AgentList_Call
- func (_c *MockClient_AgentList_Call) Run(run func()) *MockClient_AgentList_Call
- func (_c *MockClient_AgentList_Call) RunAndReturn(run func() ([]*woodpecker.Agent, error)) *MockClient_AgentList_Call
- type MockClient_AgentTasksList_Call
- func (_c *MockClient_AgentTasksList_Call) Return(_a0 []*woodpecker.Task, _a1 error) *MockClient_AgentTasksList_Call
- func (_c *MockClient_AgentTasksList_Call) Run(run func(_a0 int64)) *MockClient_AgentTasksList_Call
- func (_c *MockClient_AgentTasksList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Task, error)) *MockClient_AgentTasksList_Call
- type MockClient_AgentUpdate_Call
- func (_c *MockClient_AgentUpdate_Call) Return(_a0 *woodpecker.Agent, _a1 error) *MockClient_AgentUpdate_Call
- func (_c *MockClient_AgentUpdate_Call) Run(run func(_a0 *woodpecker.Agent)) *MockClient_AgentUpdate_Call
- func (_c *MockClient_AgentUpdate_Call) RunAndReturn(run func(*woodpecker.Agent) (*woodpecker.Agent, error)) *MockClient_AgentUpdate_Call
- type MockClient_Agent_Call
- type MockClient_CronCreate_Call
- func (_c *MockClient_CronCreate_Call) Return(_a0 *woodpecker.Cron, _a1 error) *MockClient_CronCreate_Call
- func (_c *MockClient_CronCreate_Call) Run(run func(repoID int64, cron *woodpecker.Cron)) *MockClient_CronCreate_Call
- func (_c *MockClient_CronCreate_Call) RunAndReturn(run func(int64, *woodpecker.Cron) (*woodpecker.Cron, error)) *MockClient_CronCreate_Call
- type MockClient_CronDelete_Call
- func (_c *MockClient_CronDelete_Call) Return(_a0 error) *MockClient_CronDelete_Call
- func (_c *MockClient_CronDelete_Call) Run(run func(repoID int64, cronID int64)) *MockClient_CronDelete_Call
- func (_c *MockClient_CronDelete_Call) RunAndReturn(run func(int64, int64) error) *MockClient_CronDelete_Call
- type MockClient_CronGet_Call
- func (_c *MockClient_CronGet_Call) Return(_a0 *woodpecker.Cron, _a1 error) *MockClient_CronGet_Call
- func (_c *MockClient_CronGet_Call) Run(run func(repoID int64, cronID int64)) *MockClient_CronGet_Call
- func (_c *MockClient_CronGet_Call) RunAndReturn(run func(int64, int64) (*woodpecker.Cron, error)) *MockClient_CronGet_Call
- type MockClient_CronList_Call
- func (_c *MockClient_CronList_Call) Return(_a0 []*woodpecker.Cron, _a1 error) *MockClient_CronList_Call
- func (_c *MockClient_CronList_Call) Run(run func(repoID int64)) *MockClient_CronList_Call
- func (_c *MockClient_CronList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Cron, error)) *MockClient_CronList_Call
- type MockClient_CronUpdate_Call
- func (_c *MockClient_CronUpdate_Call) Return(_a0 *woodpecker.Cron, _a1 error) *MockClient_CronUpdate_Call
- func (_c *MockClient_CronUpdate_Call) Run(run func(repoID int64, cron *woodpecker.Cron)) *MockClient_CronUpdate_Call
- func (_c *MockClient_CronUpdate_Call) RunAndReturn(run func(int64, *woodpecker.Cron) (*woodpecker.Cron, error)) *MockClient_CronUpdate_Call
- type MockClient_Deploy_Call
- func (_c *MockClient_Deploy_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_Deploy_Call
- func (_c *MockClient_Deploy_Call) Run(run func(repoID int64, pipeline int64, env string, params map[string]string)) *MockClient_Deploy_Call
- func (_c *MockClient_Deploy_Call) RunAndReturn(...) *MockClient_Deploy_Call
- type MockClient_Expecter
- func (_e *MockClient_Expecter) Agent(_a0 interface{}) *MockClient_Agent_Call
- func (_e *MockClient_Expecter) AgentCreate(_a0 interface{}) *MockClient_AgentCreate_Call
- func (_e *MockClient_Expecter) AgentDelete(_a0 interface{}) *MockClient_AgentDelete_Call
- func (_e *MockClient_Expecter) AgentList() *MockClient_AgentList_Call
- func (_e *MockClient_Expecter) AgentTasksList(_a0 interface{}) *MockClient_AgentTasksList_Call
- func (_e *MockClient_Expecter) AgentUpdate(_a0 interface{}) *MockClient_AgentUpdate_Call
- func (_e *MockClient_Expecter) CronCreate(repoID interface{}, cron interface{}) *MockClient_CronCreate_Call
- func (_e *MockClient_Expecter) CronDelete(repoID interface{}, cronID interface{}) *MockClient_CronDelete_Call
- func (_e *MockClient_Expecter) CronGet(repoID interface{}, cronID interface{}) *MockClient_CronGet_Call
- func (_e *MockClient_Expecter) CronList(repoID interface{}) *MockClient_CronList_Call
- func (_e *MockClient_Expecter) CronUpdate(repoID interface{}, cron interface{}) *MockClient_CronUpdate_Call
- func (_e *MockClient_Expecter) Deploy(repoID interface{}, pipeline interface{}, env interface{}, params interface{}) *MockClient_Deploy_Call
- func (_e *MockClient_Expecter) GlobalRegistry(registry interface{}) *MockClient_GlobalRegistry_Call
- func (_e *MockClient_Expecter) GlobalRegistryCreate(registry interface{}) *MockClient_GlobalRegistryCreate_Call
- func (_e *MockClient_Expecter) GlobalRegistryDelete(registry interface{}) *MockClient_GlobalRegistryDelete_Call
- func (_e *MockClient_Expecter) GlobalRegistryList() *MockClient_GlobalRegistryList_Call
- func (_e *MockClient_Expecter) GlobalRegistryUpdate(registry interface{}) *MockClient_GlobalRegistryUpdate_Call
- func (_e *MockClient_Expecter) GlobalSecret(secret interface{}) *MockClient_GlobalSecret_Call
- func (_e *MockClient_Expecter) GlobalSecretCreate(secret interface{}) *MockClient_GlobalSecretCreate_Call
- func (_e *MockClient_Expecter) GlobalSecretDelete(secret interface{}) *MockClient_GlobalSecretDelete_Call
- func (_e *MockClient_Expecter) GlobalSecretList() *MockClient_GlobalSecretList_Call
- func (_e *MockClient_Expecter) GlobalSecretUpdate(secret interface{}) *MockClient_GlobalSecretUpdate_Call
- func (_e *MockClient_Expecter) LogLevel() *MockClient_LogLevel_Call
- func (_e *MockClient_Expecter) LogsPurge(repoID interface{}, pipeline interface{}) *MockClient_LogsPurge_Call
- func (_e *MockClient_Expecter) Org(orgID interface{}) *MockClient_Org_Call
- func (_e *MockClient_Expecter) OrgLookup(orgName interface{}) *MockClient_OrgLookup_Call
- func (_e *MockClient_Expecter) OrgRegistry(orgID interface{}, registry interface{}) *MockClient_OrgRegistry_Call
- func (_e *MockClient_Expecter) OrgRegistryCreate(orgID interface{}, registry interface{}) *MockClient_OrgRegistryCreate_Call
- func (_e *MockClient_Expecter) OrgRegistryDelete(orgID interface{}, registry interface{}) *MockClient_OrgRegistryDelete_Call
- func (_e *MockClient_Expecter) OrgRegistryList(orgID interface{}) *MockClient_OrgRegistryList_Call
- func (_e *MockClient_Expecter) OrgRegistryUpdate(orgID interface{}, registry interface{}) *MockClient_OrgRegistryUpdate_Call
- func (_e *MockClient_Expecter) OrgSecret(orgID interface{}, secret interface{}) *MockClient_OrgSecret_Call
- func (_e *MockClient_Expecter) OrgSecretCreate(orgID interface{}, secret interface{}) *MockClient_OrgSecretCreate_Call
- func (_e *MockClient_Expecter) OrgSecretDelete(orgID interface{}, secret interface{}) *MockClient_OrgSecretDelete_Call
- func (_e *MockClient_Expecter) OrgSecretList(orgID interface{}) *MockClient_OrgSecretList_Call
- func (_e *MockClient_Expecter) OrgSecretUpdate(orgID interface{}, secret interface{}) *MockClient_OrgSecretUpdate_Call
- func (_e *MockClient_Expecter) Pipeline(repoID interface{}, pipeline interface{}) *MockClient_Pipeline_Call
- func (_e *MockClient_Expecter) PipelineApprove(repoID interface{}, pipeline interface{}) *MockClient_PipelineApprove_Call
- func (_e *MockClient_Expecter) PipelineCreate(repoID interface{}, opts interface{}) *MockClient_PipelineCreate_Call
- func (_e *MockClient_Expecter) PipelineDecline(repoID interface{}, pipeline interface{}) *MockClient_PipelineDecline_Call
- func (_e *MockClient_Expecter) PipelineKill(repoID interface{}, pipeline interface{}) *MockClient_PipelineKill_Call
- func (_e *MockClient_Expecter) PipelineLast(repoID interface{}, branch interface{}) *MockClient_PipelineLast_Call
- func (_e *MockClient_Expecter) PipelineList(repoID interface{}) *MockClient_PipelineList_Call
- func (_e *MockClient_Expecter) PipelineQueue() *MockClient_PipelineQueue_Call
- func (_e *MockClient_Expecter) PipelineStart(repoID interface{}, num interface{}, params interface{}) *MockClient_PipelineStart_Call
- func (_e *MockClient_Expecter) PipelineStop(repoID interface{}, pipeline interface{}) *MockClient_PipelineStop_Call
- func (_e *MockClient_Expecter) QueueInfo() *MockClient_QueueInfo_Call
- func (_e *MockClient_Expecter) Registry(repoID interface{}, hostname interface{}) *MockClient_Registry_Call
- func (_e *MockClient_Expecter) RegistryCreate(repoID interface{}, registry interface{}) *MockClient_RegistryCreate_Call
- func (_e *MockClient_Expecter) RegistryDelete(repoID interface{}, hostname interface{}) *MockClient_RegistryDelete_Call
- func (_e *MockClient_Expecter) RegistryList(repoID interface{}) *MockClient_RegistryList_Call
- func (_e *MockClient_Expecter) RegistryUpdate(repoID interface{}, registry interface{}) *MockClient_RegistryUpdate_Call
- func (_e *MockClient_Expecter) Repo(repoID interface{}) *MockClient_Repo_Call
- func (_e *MockClient_Expecter) RepoChown(repoID interface{}) *MockClient_RepoChown_Call
- func (_e *MockClient_Expecter) RepoDel(repoID interface{}) *MockClient_RepoDel_Call
- func (_e *MockClient_Expecter) RepoList() *MockClient_RepoList_Call
- func (_e *MockClient_Expecter) RepoListOpts(_a0 interface{}) *MockClient_RepoListOpts_Call
- func (_e *MockClient_Expecter) RepoLookup(repoFullName interface{}) *MockClient_RepoLookup_Call
- func (_e *MockClient_Expecter) RepoMove(repoID interface{}, dst interface{}) *MockClient_RepoMove_Call
- func (_e *MockClient_Expecter) RepoPatch(repoID interface{}, repo interface{}) *MockClient_RepoPatch_Call
- func (_e *MockClient_Expecter) RepoPost(forgeRemoteID interface{}) *MockClient_RepoPost_Call
- func (_e *MockClient_Expecter) RepoRepair(repoID interface{}) *MockClient_RepoRepair_Call
- func (_e *MockClient_Expecter) Secret(repoID interface{}, secret interface{}) *MockClient_Secret_Call
- func (_e *MockClient_Expecter) SecretCreate(repoID interface{}, secret interface{}) *MockClient_SecretCreate_Call
- func (_e *MockClient_Expecter) SecretDelete(repoID interface{}, secret interface{}) *MockClient_SecretDelete_Call
- func (_e *MockClient_Expecter) SecretList(repoID interface{}) *MockClient_SecretList_Call
- func (_e *MockClient_Expecter) SecretUpdate(repoID interface{}, secret interface{}) *MockClient_SecretUpdate_Call
- func (_e *MockClient_Expecter) Self() *MockClient_Self_Call
- func (_e *MockClient_Expecter) SetAddress(_a0 interface{}) *MockClient_SetAddress_Call
- func (_e *MockClient_Expecter) SetClient(_a0 interface{}) *MockClient_SetClient_Call
- func (_e *MockClient_Expecter) SetLogLevel(logLevel interface{}) *MockClient_SetLogLevel_Call
- func (_e *MockClient_Expecter) StepLogEntries(repoID interface{}, pipeline interface{}, stepID interface{}) *MockClient_StepLogEntries_Call
- func (_e *MockClient_Expecter) StepLogsPurge(repoID interface{}, pipelineNumber interface{}, stepID interface{}) *MockClient_StepLogsPurge_Call
- func (_e *MockClient_Expecter) User(_a0 interface{}) *MockClient_User_Call
- func (_e *MockClient_Expecter) UserDel(_a0 interface{}) *MockClient_UserDel_Call
- func (_e *MockClient_Expecter) UserList() *MockClient_UserList_Call
- func (_e *MockClient_Expecter) UserPatch(_a0 interface{}) *MockClient_UserPatch_Call
- func (_e *MockClient_Expecter) UserPost(_a0 interface{}) *MockClient_UserPost_Call
- type MockClient_GlobalRegistryCreate_Call
- func (_c *MockClient_GlobalRegistryCreate_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_GlobalRegistryCreate_Call
- func (_c *MockClient_GlobalRegistryCreate_Call) Run(run func(registry *woodpecker.Registry)) *MockClient_GlobalRegistryCreate_Call
- func (_c *MockClient_GlobalRegistryCreate_Call) RunAndReturn(run func(*woodpecker.Registry) (*woodpecker.Registry, error)) *MockClient_GlobalRegistryCreate_Call
- type MockClient_GlobalRegistryDelete_Call
- func (_c *MockClient_GlobalRegistryDelete_Call) Return(_a0 error) *MockClient_GlobalRegistryDelete_Call
- func (_c *MockClient_GlobalRegistryDelete_Call) Run(run func(registry string)) *MockClient_GlobalRegistryDelete_Call
- func (_c *MockClient_GlobalRegistryDelete_Call) RunAndReturn(run func(string) error) *MockClient_GlobalRegistryDelete_Call
- type MockClient_GlobalRegistryList_Call
- func (_c *MockClient_GlobalRegistryList_Call) Return(_a0 []*woodpecker.Registry, _a1 error) *MockClient_GlobalRegistryList_Call
- func (_c *MockClient_GlobalRegistryList_Call) Run(run func()) *MockClient_GlobalRegistryList_Call
- func (_c *MockClient_GlobalRegistryList_Call) RunAndReturn(run func() ([]*woodpecker.Registry, error)) *MockClient_GlobalRegistryList_Call
- type MockClient_GlobalRegistryUpdate_Call
- func (_c *MockClient_GlobalRegistryUpdate_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_GlobalRegistryUpdate_Call
- func (_c *MockClient_GlobalRegistryUpdate_Call) Run(run func(registry *woodpecker.Registry)) *MockClient_GlobalRegistryUpdate_Call
- func (_c *MockClient_GlobalRegistryUpdate_Call) RunAndReturn(run func(*woodpecker.Registry) (*woodpecker.Registry, error)) *MockClient_GlobalRegistryUpdate_Call
- type MockClient_GlobalRegistry_Call
- func (_c *MockClient_GlobalRegistry_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_GlobalRegistry_Call
- func (_c *MockClient_GlobalRegistry_Call) Run(run func(registry string)) *MockClient_GlobalRegistry_Call
- func (_c *MockClient_GlobalRegistry_Call) RunAndReturn(run func(string) (*woodpecker.Registry, error)) *MockClient_GlobalRegistry_Call
- type MockClient_GlobalSecretCreate_Call
- func (_c *MockClient_GlobalSecretCreate_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_GlobalSecretCreate_Call
- func (_c *MockClient_GlobalSecretCreate_Call) Run(run func(secret *woodpecker.Secret)) *MockClient_GlobalSecretCreate_Call
- func (_c *MockClient_GlobalSecretCreate_Call) RunAndReturn(run func(*woodpecker.Secret) (*woodpecker.Secret, error)) *MockClient_GlobalSecretCreate_Call
- type MockClient_GlobalSecretDelete_Call
- func (_c *MockClient_GlobalSecretDelete_Call) Return(_a0 error) *MockClient_GlobalSecretDelete_Call
- func (_c *MockClient_GlobalSecretDelete_Call) Run(run func(secret string)) *MockClient_GlobalSecretDelete_Call
- func (_c *MockClient_GlobalSecretDelete_Call) RunAndReturn(run func(string) error) *MockClient_GlobalSecretDelete_Call
- type MockClient_GlobalSecretList_Call
- func (_c *MockClient_GlobalSecretList_Call) Return(_a0 []*woodpecker.Secret, _a1 error) *MockClient_GlobalSecretList_Call
- func (_c *MockClient_GlobalSecretList_Call) Run(run func()) *MockClient_GlobalSecretList_Call
- func (_c *MockClient_GlobalSecretList_Call) RunAndReturn(run func() ([]*woodpecker.Secret, error)) *MockClient_GlobalSecretList_Call
- type MockClient_GlobalSecretUpdate_Call
- func (_c *MockClient_GlobalSecretUpdate_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_GlobalSecretUpdate_Call
- func (_c *MockClient_GlobalSecretUpdate_Call) Run(run func(secret *woodpecker.Secret)) *MockClient_GlobalSecretUpdate_Call
- func (_c *MockClient_GlobalSecretUpdate_Call) RunAndReturn(run func(*woodpecker.Secret) (*woodpecker.Secret, error)) *MockClient_GlobalSecretUpdate_Call
- type MockClient_GlobalSecret_Call
- func (_c *MockClient_GlobalSecret_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_GlobalSecret_Call
- func (_c *MockClient_GlobalSecret_Call) Run(run func(secret string)) *MockClient_GlobalSecret_Call
- func (_c *MockClient_GlobalSecret_Call) RunAndReturn(run func(string) (*woodpecker.Secret, error)) *MockClient_GlobalSecret_Call
- type MockClient_LogLevel_Call
- func (_c *MockClient_LogLevel_Call) Return(_a0 *woodpecker.LogLevel, _a1 error) *MockClient_LogLevel_Call
- func (_c *MockClient_LogLevel_Call) Run(run func()) *MockClient_LogLevel_Call
- func (_c *MockClient_LogLevel_Call) RunAndReturn(run func() (*woodpecker.LogLevel, error)) *MockClient_LogLevel_Call
- type MockClient_LogsPurge_Call
- type MockClient_OrgLookup_Call
- func (_c *MockClient_OrgLookup_Call) Return(_a0 *woodpecker.Org, _a1 error) *MockClient_OrgLookup_Call
- func (_c *MockClient_OrgLookup_Call) Run(run func(orgName string)) *MockClient_OrgLookup_Call
- func (_c *MockClient_OrgLookup_Call) RunAndReturn(run func(string) (*woodpecker.Org, error)) *MockClient_OrgLookup_Call
- type MockClient_OrgRegistryCreate_Call
- func (_c *MockClient_OrgRegistryCreate_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_OrgRegistryCreate_Call
- func (_c *MockClient_OrgRegistryCreate_Call) Run(run func(orgID int64, registry *woodpecker.Registry)) *MockClient_OrgRegistryCreate_Call
- func (_c *MockClient_OrgRegistryCreate_Call) RunAndReturn(run func(int64, *woodpecker.Registry) (*woodpecker.Registry, error)) *MockClient_OrgRegistryCreate_Call
- type MockClient_OrgRegistryDelete_Call
- func (_c *MockClient_OrgRegistryDelete_Call) Return(_a0 error) *MockClient_OrgRegistryDelete_Call
- func (_c *MockClient_OrgRegistryDelete_Call) Run(run func(orgID int64, registry string)) *MockClient_OrgRegistryDelete_Call
- func (_c *MockClient_OrgRegistryDelete_Call) RunAndReturn(run func(int64, string) error) *MockClient_OrgRegistryDelete_Call
- type MockClient_OrgRegistryList_Call
- func (_c *MockClient_OrgRegistryList_Call) Return(_a0 []*woodpecker.Registry, _a1 error) *MockClient_OrgRegistryList_Call
- func (_c *MockClient_OrgRegistryList_Call) Run(run func(orgID int64)) *MockClient_OrgRegistryList_Call
- func (_c *MockClient_OrgRegistryList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Registry, error)) *MockClient_OrgRegistryList_Call
- type MockClient_OrgRegistryUpdate_Call
- func (_c *MockClient_OrgRegistryUpdate_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_OrgRegistryUpdate_Call
- func (_c *MockClient_OrgRegistryUpdate_Call) Run(run func(orgID int64, registry *woodpecker.Registry)) *MockClient_OrgRegistryUpdate_Call
- func (_c *MockClient_OrgRegistryUpdate_Call) RunAndReturn(run func(int64, *woodpecker.Registry) (*woodpecker.Registry, error)) *MockClient_OrgRegistryUpdate_Call
- type MockClient_OrgRegistry_Call
- func (_c *MockClient_OrgRegistry_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_OrgRegistry_Call
- func (_c *MockClient_OrgRegistry_Call) Run(run func(orgID int64, registry string)) *MockClient_OrgRegistry_Call
- func (_c *MockClient_OrgRegistry_Call) RunAndReturn(run func(int64, string) (*woodpecker.Registry, error)) *MockClient_OrgRegistry_Call
- type MockClient_OrgSecretCreate_Call
- func (_c *MockClient_OrgSecretCreate_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_OrgSecretCreate_Call
- func (_c *MockClient_OrgSecretCreate_Call) Run(run func(orgID int64, secret *woodpecker.Secret)) *MockClient_OrgSecretCreate_Call
- func (_c *MockClient_OrgSecretCreate_Call) RunAndReturn(run func(int64, *woodpecker.Secret) (*woodpecker.Secret, error)) *MockClient_OrgSecretCreate_Call
- type MockClient_OrgSecretDelete_Call
- func (_c *MockClient_OrgSecretDelete_Call) Return(_a0 error) *MockClient_OrgSecretDelete_Call
- func (_c *MockClient_OrgSecretDelete_Call) Run(run func(orgID int64, secret string)) *MockClient_OrgSecretDelete_Call
- func (_c *MockClient_OrgSecretDelete_Call) RunAndReturn(run func(int64, string) error) *MockClient_OrgSecretDelete_Call
- type MockClient_OrgSecretList_Call
- func (_c *MockClient_OrgSecretList_Call) Return(_a0 []*woodpecker.Secret, _a1 error) *MockClient_OrgSecretList_Call
- func (_c *MockClient_OrgSecretList_Call) Run(run func(orgID int64)) *MockClient_OrgSecretList_Call
- func (_c *MockClient_OrgSecretList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Secret, error)) *MockClient_OrgSecretList_Call
- type MockClient_OrgSecretUpdate_Call
- func (_c *MockClient_OrgSecretUpdate_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_OrgSecretUpdate_Call
- func (_c *MockClient_OrgSecretUpdate_Call) Run(run func(orgID int64, secret *woodpecker.Secret)) *MockClient_OrgSecretUpdate_Call
- func (_c *MockClient_OrgSecretUpdate_Call) RunAndReturn(run func(int64, *woodpecker.Secret) (*woodpecker.Secret, error)) *MockClient_OrgSecretUpdate_Call
- type MockClient_OrgSecret_Call
- func (_c *MockClient_OrgSecret_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_OrgSecret_Call
- func (_c *MockClient_OrgSecret_Call) Run(run func(orgID int64, secret string)) *MockClient_OrgSecret_Call
- func (_c *MockClient_OrgSecret_Call) RunAndReturn(run func(int64, string) (*woodpecker.Secret, error)) *MockClient_OrgSecret_Call
- type MockClient_Org_Call
- type MockClient_PipelineApprove_Call
- func (_c *MockClient_PipelineApprove_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_PipelineApprove_Call
- func (_c *MockClient_PipelineApprove_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_PipelineApprove_Call
- func (_c *MockClient_PipelineApprove_Call) RunAndReturn(run func(int64, int64) (*woodpecker.Pipeline, error)) *MockClient_PipelineApprove_Call
- type MockClient_PipelineCreate_Call
- func (_c *MockClient_PipelineCreate_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_PipelineCreate_Call
- func (_c *MockClient_PipelineCreate_Call) Run(run func(repoID int64, opts *woodpecker.PipelineOptions)) *MockClient_PipelineCreate_Call
- func (_c *MockClient_PipelineCreate_Call) RunAndReturn(run func(int64, *woodpecker.PipelineOptions) (*woodpecker.Pipeline, error)) *MockClient_PipelineCreate_Call
- type MockClient_PipelineDecline_Call
- func (_c *MockClient_PipelineDecline_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_PipelineDecline_Call
- func (_c *MockClient_PipelineDecline_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_PipelineDecline_Call
- func (_c *MockClient_PipelineDecline_Call) RunAndReturn(run func(int64, int64) (*woodpecker.Pipeline, error)) *MockClient_PipelineDecline_Call
- type MockClient_PipelineKill_Call
- func (_c *MockClient_PipelineKill_Call) Return(_a0 error) *MockClient_PipelineKill_Call
- func (_c *MockClient_PipelineKill_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_PipelineKill_Call
- func (_c *MockClient_PipelineKill_Call) RunAndReturn(run func(int64, int64) error) *MockClient_PipelineKill_Call
- type MockClient_PipelineLast_Call
- func (_c *MockClient_PipelineLast_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_PipelineLast_Call
- func (_c *MockClient_PipelineLast_Call) Run(run func(repoID int64, branch string)) *MockClient_PipelineLast_Call
- func (_c *MockClient_PipelineLast_Call) RunAndReturn(run func(int64, string) (*woodpecker.Pipeline, error)) *MockClient_PipelineLast_Call
- type MockClient_PipelineList_Call
- func (_c *MockClient_PipelineList_Call) Return(_a0 []*woodpecker.Pipeline, _a1 error) *MockClient_PipelineList_Call
- func (_c *MockClient_PipelineList_Call) Run(run func(repoID int64)) *MockClient_PipelineList_Call
- func (_c *MockClient_PipelineList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Pipeline, error)) *MockClient_PipelineList_Call
- type MockClient_PipelineQueue_Call
- func (_c *MockClient_PipelineQueue_Call) Return(_a0 []*woodpecker.Feed, _a1 error) *MockClient_PipelineQueue_Call
- func (_c *MockClient_PipelineQueue_Call) Run(run func()) *MockClient_PipelineQueue_Call
- func (_c *MockClient_PipelineQueue_Call) RunAndReturn(run func() ([]*woodpecker.Feed, error)) *MockClient_PipelineQueue_Call
- type MockClient_PipelineStart_Call
- func (_c *MockClient_PipelineStart_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_PipelineStart_Call
- func (_c *MockClient_PipelineStart_Call) Run(run func(repoID int64, num int64, params map[string]string)) *MockClient_PipelineStart_Call
- func (_c *MockClient_PipelineStart_Call) RunAndReturn(run func(int64, int64, map[string]string) (*woodpecker.Pipeline, error)) *MockClient_PipelineStart_Call
- type MockClient_PipelineStop_Call
- func (_c *MockClient_PipelineStop_Call) Return(_a0 error) *MockClient_PipelineStop_Call
- func (_c *MockClient_PipelineStop_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_PipelineStop_Call
- func (_c *MockClient_PipelineStop_Call) RunAndReturn(run func(int64, int64) error) *MockClient_PipelineStop_Call
- type MockClient_Pipeline_Call
- func (_c *MockClient_Pipeline_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_Pipeline_Call
- func (_c *MockClient_Pipeline_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_Pipeline_Call
- func (_c *MockClient_Pipeline_Call) RunAndReturn(run func(int64, int64) (*woodpecker.Pipeline, error)) *MockClient_Pipeline_Call
- type MockClient_QueueInfo_Call
- type MockClient_RegistryCreate_Call
- func (_c *MockClient_RegistryCreate_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_RegistryCreate_Call
- func (_c *MockClient_RegistryCreate_Call) Run(run func(repoID int64, registry *woodpecker.Registry)) *MockClient_RegistryCreate_Call
- func (_c *MockClient_RegistryCreate_Call) RunAndReturn(run func(int64, *woodpecker.Registry) (*woodpecker.Registry, error)) *MockClient_RegistryCreate_Call
- type MockClient_RegistryDelete_Call
- func (_c *MockClient_RegistryDelete_Call) Return(_a0 error) *MockClient_RegistryDelete_Call
- func (_c *MockClient_RegistryDelete_Call) Run(run func(repoID int64, hostname string)) *MockClient_RegistryDelete_Call
- func (_c *MockClient_RegistryDelete_Call) RunAndReturn(run func(int64, string) error) *MockClient_RegistryDelete_Call
- type MockClient_RegistryList_Call
- func (_c *MockClient_RegistryList_Call) Return(_a0 []*woodpecker.Registry, _a1 error) *MockClient_RegistryList_Call
- func (_c *MockClient_RegistryList_Call) Run(run func(repoID int64)) *MockClient_RegistryList_Call
- func (_c *MockClient_RegistryList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Registry, error)) *MockClient_RegistryList_Call
- type MockClient_RegistryUpdate_Call
- func (_c *MockClient_RegistryUpdate_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_RegistryUpdate_Call
- func (_c *MockClient_RegistryUpdate_Call) Run(run func(repoID int64, registry *woodpecker.Registry)) *MockClient_RegistryUpdate_Call
- func (_c *MockClient_RegistryUpdate_Call) RunAndReturn(run func(int64, *woodpecker.Registry) (*woodpecker.Registry, error)) *MockClient_RegistryUpdate_Call
- type MockClient_Registry_Call
- func (_c *MockClient_Registry_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_Registry_Call
- func (_c *MockClient_Registry_Call) Run(run func(repoID int64, hostname string)) *MockClient_Registry_Call
- func (_c *MockClient_Registry_Call) RunAndReturn(run func(int64, string) (*woodpecker.Registry, error)) *MockClient_Registry_Call
- type MockClient_RepoChown_Call
- func (_c *MockClient_RepoChown_Call) Return(_a0 *woodpecker.Repo, _a1 error) *MockClient_RepoChown_Call
- func (_c *MockClient_RepoChown_Call) Run(run func(repoID int64)) *MockClient_RepoChown_Call
- func (_c *MockClient_RepoChown_Call) RunAndReturn(run func(int64) (*woodpecker.Repo, error)) *MockClient_RepoChown_Call
- type MockClient_RepoDel_Call
- type MockClient_RepoListOpts_Call
- func (_c *MockClient_RepoListOpts_Call) Return(_a0 []*woodpecker.Repo, _a1 error) *MockClient_RepoListOpts_Call
- func (_c *MockClient_RepoListOpts_Call) Run(run func(_a0 bool)) *MockClient_RepoListOpts_Call
- func (_c *MockClient_RepoListOpts_Call) RunAndReturn(run func(bool) ([]*woodpecker.Repo, error)) *MockClient_RepoListOpts_Call
- type MockClient_RepoList_Call
- type MockClient_RepoLookup_Call
- func (_c *MockClient_RepoLookup_Call) Return(_a0 *woodpecker.Repo, _a1 error) *MockClient_RepoLookup_Call
- func (_c *MockClient_RepoLookup_Call) Run(run func(repoFullName string)) *MockClient_RepoLookup_Call
- func (_c *MockClient_RepoLookup_Call) RunAndReturn(run func(string) (*woodpecker.Repo, error)) *MockClient_RepoLookup_Call
- type MockClient_RepoMove_Call
- type MockClient_RepoPatch_Call
- func (_c *MockClient_RepoPatch_Call) Return(_a0 *woodpecker.Repo, _a1 error) *MockClient_RepoPatch_Call
- func (_c *MockClient_RepoPatch_Call) Run(run func(repoID int64, repo *woodpecker.RepoPatch)) *MockClient_RepoPatch_Call
- func (_c *MockClient_RepoPatch_Call) RunAndReturn(run func(int64, *woodpecker.RepoPatch) (*woodpecker.Repo, error)) *MockClient_RepoPatch_Call
- type MockClient_RepoPost_Call
- func (_c *MockClient_RepoPost_Call) Return(_a0 *woodpecker.Repo, _a1 error) *MockClient_RepoPost_Call
- func (_c *MockClient_RepoPost_Call) Run(run func(forgeRemoteID int64)) *MockClient_RepoPost_Call
- func (_c *MockClient_RepoPost_Call) RunAndReturn(run func(int64) (*woodpecker.Repo, error)) *MockClient_RepoPost_Call
- type MockClient_RepoRepair_Call
- type MockClient_Repo_Call
- type MockClient_SecretCreate_Call
- func (_c *MockClient_SecretCreate_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_SecretCreate_Call
- func (_c *MockClient_SecretCreate_Call) Run(run func(repoID int64, secret *woodpecker.Secret)) *MockClient_SecretCreate_Call
- func (_c *MockClient_SecretCreate_Call) RunAndReturn(run func(int64, *woodpecker.Secret) (*woodpecker.Secret, error)) *MockClient_SecretCreate_Call
- type MockClient_SecretDelete_Call
- func (_c *MockClient_SecretDelete_Call) Return(_a0 error) *MockClient_SecretDelete_Call
- func (_c *MockClient_SecretDelete_Call) Run(run func(repoID int64, secret string)) *MockClient_SecretDelete_Call
- func (_c *MockClient_SecretDelete_Call) RunAndReturn(run func(int64, string) error) *MockClient_SecretDelete_Call
- type MockClient_SecretList_Call
- func (_c *MockClient_SecretList_Call) Return(_a0 []*woodpecker.Secret, _a1 error) *MockClient_SecretList_Call
- func (_c *MockClient_SecretList_Call) Run(run func(repoID int64)) *MockClient_SecretList_Call
- func (_c *MockClient_SecretList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Secret, error)) *MockClient_SecretList_Call
- type MockClient_SecretUpdate_Call
- func (_c *MockClient_SecretUpdate_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_SecretUpdate_Call
- func (_c *MockClient_SecretUpdate_Call) Run(run func(repoID int64, secret *woodpecker.Secret)) *MockClient_SecretUpdate_Call
- func (_c *MockClient_SecretUpdate_Call) RunAndReturn(run func(int64, *woodpecker.Secret) (*woodpecker.Secret, error)) *MockClient_SecretUpdate_Call
- type MockClient_Secret_Call
- func (_c *MockClient_Secret_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_Secret_Call
- func (_c *MockClient_Secret_Call) Run(run func(repoID int64, secret string)) *MockClient_Secret_Call
- func (_c *MockClient_Secret_Call) RunAndReturn(run func(int64, string) (*woodpecker.Secret, error)) *MockClient_Secret_Call
- type MockClient_Self_Call
- type MockClient_SetAddress_Call
- type MockClient_SetClient_Call
- type MockClient_SetLogLevel_Call
- func (_c *MockClient_SetLogLevel_Call) Return(_a0 *woodpecker.LogLevel, _a1 error) *MockClient_SetLogLevel_Call
- func (_c *MockClient_SetLogLevel_Call) Run(run func(logLevel *woodpecker.LogLevel)) *MockClient_SetLogLevel_Call
- func (_c *MockClient_SetLogLevel_Call) RunAndReturn(run func(*woodpecker.LogLevel) (*woodpecker.LogLevel, error)) *MockClient_SetLogLevel_Call
- type MockClient_StepLogEntries_Call
- func (_c *MockClient_StepLogEntries_Call) Return(_a0 []*woodpecker.LogEntry, _a1 error) *MockClient_StepLogEntries_Call
- func (_c *MockClient_StepLogEntries_Call) Run(run func(repoID int64, pipeline int64, stepID int64)) *MockClient_StepLogEntries_Call
- func (_c *MockClient_StepLogEntries_Call) RunAndReturn(run func(int64, int64, int64) ([]*woodpecker.LogEntry, error)) *MockClient_StepLogEntries_Call
- type MockClient_StepLogsPurge_Call
- func (_c *MockClient_StepLogsPurge_Call) Return(_a0 error) *MockClient_StepLogsPurge_Call
- func (_c *MockClient_StepLogsPurge_Call) Run(run func(repoID int64, pipelineNumber int64, stepID int64)) *MockClient_StepLogsPurge_Call
- func (_c *MockClient_StepLogsPurge_Call) RunAndReturn(run func(int64, int64, int64) error) *MockClient_StepLogsPurge_Call
- type MockClient_UserDel_Call
- type MockClient_UserList_Call
- type MockClient_UserPatch_Call
- func (_c *MockClient_UserPatch_Call) Return(_a0 *woodpecker.User, _a1 error) *MockClient_UserPatch_Call
- func (_c *MockClient_UserPatch_Call) Run(run func(_a0 *woodpecker.User)) *MockClient_UserPatch_Call
- func (_c *MockClient_UserPatch_Call) RunAndReturn(run func(*woodpecker.User) (*woodpecker.User, error)) *MockClient_UserPatch_Call
- type MockClient_UserPost_Call
- func (_c *MockClient_UserPost_Call) Return(_a0 *woodpecker.User, _a1 error) *MockClient_UserPost_Call
- func (_c *MockClient_UserPost_Call) Run(run func(_a0 *woodpecker.User)) *MockClient_UserPost_Call
- func (_c *MockClient_UserPost_Call) RunAndReturn(run func(*woodpecker.User) (*woodpecker.User, error)) *MockClient_UserPost_Call
- type MockClient_User_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockClient ¶
MockClient is an autogenerated mock type for the Client type
func NewMockClient ¶
func NewMockClient(t interface { mock.TestingT Cleanup(func()) }) *MockClient
NewMockClient creates a new instance of MockClient. 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 (*MockClient) Agent ¶
func (_m *MockClient) Agent(_a0 int64) (*woodpecker.Agent, error)
Agent provides a mock function with given fields: _a0
func (*MockClient) AgentCreate ¶
func (_m *MockClient) AgentCreate(_a0 *woodpecker.Agent) (*woodpecker.Agent, error)
AgentCreate provides a mock function with given fields: _a0
func (*MockClient) AgentDelete ¶
func (_m *MockClient) AgentDelete(_a0 int64) error
AgentDelete provides a mock function with given fields: _a0
func (*MockClient) AgentList ¶
func (_m *MockClient) AgentList() ([]*woodpecker.Agent, error)
AgentList provides a mock function with given fields:
func (*MockClient) AgentTasksList ¶
func (_m *MockClient) AgentTasksList(_a0 int64) ([]*woodpecker.Task, error)
AgentTasksList provides a mock function with given fields: _a0
func (*MockClient) AgentUpdate ¶
func (_m *MockClient) AgentUpdate(_a0 *woodpecker.Agent) (*woodpecker.Agent, error)
AgentUpdate provides a mock function with given fields: _a0
func (*MockClient) CronCreate ¶
func (_m *MockClient) CronCreate(repoID int64, cron *woodpecker.Cron) (*woodpecker.Cron, error)
CronCreate provides a mock function with given fields: repoID, cron
func (*MockClient) CronDelete ¶
func (_m *MockClient) CronDelete(repoID int64, cronID int64) error
CronDelete provides a mock function with given fields: repoID, cronID
func (*MockClient) CronGet ¶
func (_m *MockClient) CronGet(repoID int64, cronID int64) (*woodpecker.Cron, error)
CronGet provides a mock function with given fields: repoID, cronID
func (*MockClient) CronList ¶
func (_m *MockClient) CronList(repoID int64) ([]*woodpecker.Cron, error)
CronList provides a mock function with given fields: repoID
func (*MockClient) CronUpdate ¶
func (_m *MockClient) CronUpdate(repoID int64, cron *woodpecker.Cron) (*woodpecker.Cron, error)
CronUpdate provides a mock function with given fields: repoID, cron
func (*MockClient) Deploy ¶
func (_m *MockClient) Deploy(repoID int64, pipeline int64, env string, params map[string]string) (*woodpecker.Pipeline, error)
Deploy provides a mock function with given fields: repoID, pipeline, env, params
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *MockClient_Expecter
func (*MockClient) GlobalRegistry ¶
func (_m *MockClient) GlobalRegistry(registry string) (*woodpecker.Registry, error)
GlobalRegistry provides a mock function with given fields: registry
func (*MockClient) GlobalRegistryCreate ¶
func (_m *MockClient) GlobalRegistryCreate(registry *woodpecker.Registry) (*woodpecker.Registry, error)
GlobalRegistryCreate provides a mock function with given fields: registry
func (*MockClient) GlobalRegistryDelete ¶
func (_m *MockClient) GlobalRegistryDelete(registry string) error
GlobalRegistryDelete provides a mock function with given fields: registry
func (*MockClient) GlobalRegistryList ¶
func (_m *MockClient) GlobalRegistryList() ([]*woodpecker.Registry, error)
GlobalRegistryList provides a mock function with given fields:
func (*MockClient) GlobalRegistryUpdate ¶
func (_m *MockClient) GlobalRegistryUpdate(registry *woodpecker.Registry) (*woodpecker.Registry, error)
GlobalRegistryUpdate provides a mock function with given fields: registry
func (*MockClient) GlobalSecret ¶
func (_m *MockClient) GlobalSecret(secret string) (*woodpecker.Secret, error)
GlobalSecret provides a mock function with given fields: secret
func (*MockClient) GlobalSecretCreate ¶
func (_m *MockClient) GlobalSecretCreate(secret *woodpecker.Secret) (*woodpecker.Secret, error)
GlobalSecretCreate provides a mock function with given fields: secret
func (*MockClient) GlobalSecretDelete ¶
func (_m *MockClient) GlobalSecretDelete(secret string) error
GlobalSecretDelete provides a mock function with given fields: secret
func (*MockClient) GlobalSecretList ¶
func (_m *MockClient) GlobalSecretList() ([]*woodpecker.Secret, error)
GlobalSecretList provides a mock function with given fields:
func (*MockClient) GlobalSecretUpdate ¶
func (_m *MockClient) GlobalSecretUpdate(secret *woodpecker.Secret) (*woodpecker.Secret, error)
GlobalSecretUpdate provides a mock function with given fields: secret
func (*MockClient) LogLevel ¶
func (_m *MockClient) LogLevel() (*woodpecker.LogLevel, error)
LogLevel provides a mock function with given fields:
func (*MockClient) LogsPurge ¶
func (_m *MockClient) LogsPurge(repoID int64, pipeline int64) error
LogsPurge provides a mock function with given fields: repoID, pipeline
func (*MockClient) Org ¶
func (_m *MockClient) Org(orgID int64) (*woodpecker.Org, error)
Org provides a mock function with given fields: orgID
func (*MockClient) OrgLookup ¶
func (_m *MockClient) OrgLookup(orgName string) (*woodpecker.Org, error)
OrgLookup provides a mock function with given fields: orgName
func (*MockClient) OrgRegistry ¶
func (_m *MockClient) OrgRegistry(orgID int64, registry string) (*woodpecker.Registry, error)
OrgRegistry provides a mock function with given fields: orgID, registry
func (*MockClient) OrgRegistryCreate ¶
func (_m *MockClient) OrgRegistryCreate(orgID int64, registry *woodpecker.Registry) (*woodpecker.Registry, error)
OrgRegistryCreate provides a mock function with given fields: orgID, registry
func (*MockClient) OrgRegistryDelete ¶
func (_m *MockClient) OrgRegistryDelete(orgID int64, registry string) error
OrgRegistryDelete provides a mock function with given fields: orgID, registry
func (*MockClient) OrgRegistryList ¶
func (_m *MockClient) OrgRegistryList(orgID int64) ([]*woodpecker.Registry, error)
OrgRegistryList provides a mock function with given fields: orgID
func (*MockClient) OrgRegistryUpdate ¶
func (_m *MockClient) OrgRegistryUpdate(orgID int64, registry *woodpecker.Registry) (*woodpecker.Registry, error)
OrgRegistryUpdate provides a mock function with given fields: orgID, registry
func (*MockClient) OrgSecret ¶
func (_m *MockClient) OrgSecret(orgID int64, secret string) (*woodpecker.Secret, error)
OrgSecret provides a mock function with given fields: orgID, secret
func (*MockClient) OrgSecretCreate ¶
func (_m *MockClient) OrgSecretCreate(orgID int64, secret *woodpecker.Secret) (*woodpecker.Secret, error)
OrgSecretCreate provides a mock function with given fields: orgID, secret
func (*MockClient) OrgSecretDelete ¶
func (_m *MockClient) OrgSecretDelete(orgID int64, secret string) error
OrgSecretDelete provides a mock function with given fields: orgID, secret
func (*MockClient) OrgSecretList ¶
func (_m *MockClient) OrgSecretList(orgID int64) ([]*woodpecker.Secret, error)
OrgSecretList provides a mock function with given fields: orgID
func (*MockClient) OrgSecretUpdate ¶
func (_m *MockClient) OrgSecretUpdate(orgID int64, secret *woodpecker.Secret) (*woodpecker.Secret, error)
OrgSecretUpdate provides a mock function with given fields: orgID, secret
func (*MockClient) Pipeline ¶
func (_m *MockClient) Pipeline(repoID int64, pipeline int64) (*woodpecker.Pipeline, error)
Pipeline provides a mock function with given fields: repoID, pipeline
func (*MockClient) PipelineApprove ¶
func (_m *MockClient) PipelineApprove(repoID int64, pipeline int64) (*woodpecker.Pipeline, error)
PipelineApprove provides a mock function with given fields: repoID, pipeline
func (*MockClient) PipelineCreate ¶
func (_m *MockClient) PipelineCreate(repoID int64, opts *woodpecker.PipelineOptions) (*woodpecker.Pipeline, error)
PipelineCreate provides a mock function with given fields: repoID, opts
func (*MockClient) PipelineDecline ¶
func (_m *MockClient) PipelineDecline(repoID int64, pipeline int64) (*woodpecker.Pipeline, error)
PipelineDecline provides a mock function with given fields: repoID, pipeline
func (*MockClient) PipelineKill ¶
func (_m *MockClient) PipelineKill(repoID int64, pipeline int64) error
PipelineKill provides a mock function with given fields: repoID, pipeline
func (*MockClient) PipelineLast ¶
func (_m *MockClient) PipelineLast(repoID int64, branch string) (*woodpecker.Pipeline, error)
PipelineLast provides a mock function with given fields: repoID, branch
func (*MockClient) PipelineList ¶
func (_m *MockClient) PipelineList(repoID int64) ([]*woodpecker.Pipeline, error)
PipelineList provides a mock function with given fields: repoID
func (*MockClient) PipelineQueue ¶
func (_m *MockClient) PipelineQueue() ([]*woodpecker.Feed, error)
PipelineQueue provides a mock function with given fields:
func (*MockClient) PipelineStart ¶
func (_m *MockClient) PipelineStart(repoID int64, num int64, params map[string]string) (*woodpecker.Pipeline, error)
PipelineStart provides a mock function with given fields: repoID, num, params
func (*MockClient) PipelineStop ¶
func (_m *MockClient) PipelineStop(repoID int64, pipeline int64) error
PipelineStop provides a mock function with given fields: repoID, pipeline
func (*MockClient) QueueInfo ¶
func (_m *MockClient) QueueInfo() (*woodpecker.Info, error)
QueueInfo provides a mock function with given fields:
func (*MockClient) Registry ¶
func (_m *MockClient) Registry(repoID int64, hostname string) (*woodpecker.Registry, error)
Registry provides a mock function with given fields: repoID, hostname
func (*MockClient) RegistryCreate ¶
func (_m *MockClient) RegistryCreate(repoID int64, registry *woodpecker.Registry) (*woodpecker.Registry, error)
RegistryCreate provides a mock function with given fields: repoID, registry
func (*MockClient) RegistryDelete ¶
func (_m *MockClient) RegistryDelete(repoID int64, hostname string) error
RegistryDelete provides a mock function with given fields: repoID, hostname
func (*MockClient) RegistryList ¶
func (_m *MockClient) RegistryList(repoID int64) ([]*woodpecker.Registry, error)
RegistryList provides a mock function with given fields: repoID
func (*MockClient) RegistryUpdate ¶
func (_m *MockClient) RegistryUpdate(repoID int64, registry *woodpecker.Registry) (*woodpecker.Registry, error)
RegistryUpdate provides a mock function with given fields: repoID, registry
func (*MockClient) Repo ¶
func (_m *MockClient) Repo(repoID int64) (*woodpecker.Repo, error)
Repo provides a mock function with given fields: repoID
func (*MockClient) RepoChown ¶
func (_m *MockClient) RepoChown(repoID int64) (*woodpecker.Repo, error)
RepoChown provides a mock function with given fields: repoID
func (*MockClient) RepoDel ¶
func (_m *MockClient) RepoDel(repoID int64) error
RepoDel provides a mock function with given fields: repoID
func (*MockClient) RepoList ¶
func (_m *MockClient) RepoList() ([]*woodpecker.Repo, error)
RepoList provides a mock function with given fields:
func (*MockClient) RepoListOpts ¶
func (_m *MockClient) RepoListOpts(_a0 bool) ([]*woodpecker.Repo, error)
RepoListOpts provides a mock function with given fields: _a0
func (*MockClient) RepoLookup ¶
func (_m *MockClient) RepoLookup(repoFullName string) (*woodpecker.Repo, error)
RepoLookup provides a mock function with given fields: repoFullName
func (*MockClient) RepoMove ¶
func (_m *MockClient) RepoMove(repoID int64, dst string) error
RepoMove provides a mock function with given fields: repoID, dst
func (*MockClient) RepoPatch ¶
func (_m *MockClient) RepoPatch(repoID int64, repo *woodpecker.RepoPatch) (*woodpecker.Repo, error)
RepoPatch provides a mock function with given fields: repoID, repo
func (*MockClient) RepoPost ¶
func (_m *MockClient) RepoPost(forgeRemoteID int64) (*woodpecker.Repo, error)
RepoPost provides a mock function with given fields: forgeRemoteID
func (*MockClient) RepoRepair ¶
func (_m *MockClient) RepoRepair(repoID int64) error
RepoRepair provides a mock function with given fields: repoID
func (*MockClient) Secret ¶
func (_m *MockClient) Secret(repoID int64, secret string) (*woodpecker.Secret, error)
Secret provides a mock function with given fields: repoID, secret
func (*MockClient) SecretCreate ¶
func (_m *MockClient) SecretCreate(repoID int64, secret *woodpecker.Secret) (*woodpecker.Secret, error)
SecretCreate provides a mock function with given fields: repoID, secret
func (*MockClient) SecretDelete ¶
func (_m *MockClient) SecretDelete(repoID int64, secret string) error
SecretDelete provides a mock function with given fields: repoID, secret
func (*MockClient) SecretList ¶
func (_m *MockClient) SecretList(repoID int64) ([]*woodpecker.Secret, error)
SecretList provides a mock function with given fields: repoID
func (*MockClient) SecretUpdate ¶
func (_m *MockClient) SecretUpdate(repoID int64, secret *woodpecker.Secret) (*woodpecker.Secret, error)
SecretUpdate provides a mock function with given fields: repoID, secret
func (*MockClient) Self ¶
func (_m *MockClient) Self() (*woodpecker.User, error)
Self provides a mock function with given fields:
func (*MockClient) SetAddress ¶
func (_m *MockClient) SetAddress(_a0 string)
SetAddress provides a mock function with given fields: _a0
func (*MockClient) SetClient ¶
func (_m *MockClient) SetClient(_a0 *http.Client)
SetClient provides a mock function with given fields: _a0
func (*MockClient) SetLogLevel ¶
func (_m *MockClient) SetLogLevel(logLevel *woodpecker.LogLevel) (*woodpecker.LogLevel, error)
SetLogLevel provides a mock function with given fields: logLevel
func (*MockClient) StepLogEntries ¶
func (_m *MockClient) StepLogEntries(repoID int64, pipeline int64, stepID int64) ([]*woodpecker.LogEntry, error)
StepLogEntries provides a mock function with given fields: repoID, pipeline, stepID
func (*MockClient) StepLogsPurge ¶
func (_m *MockClient) StepLogsPurge(repoID int64, pipelineNumber int64, stepID int64) error
StepLogsPurge provides a mock function with given fields: repoID, pipelineNumber, stepID
func (*MockClient) User ¶
func (_m *MockClient) User(_a0 string) (*woodpecker.User, error)
User provides a mock function with given fields: _a0
func (*MockClient) UserDel ¶
func (_m *MockClient) UserDel(_a0 string) error
UserDel provides a mock function with given fields: _a0
func (*MockClient) UserList ¶
func (_m *MockClient) UserList() ([]*woodpecker.User, error)
UserList provides a mock function with given fields:
func (*MockClient) UserPatch ¶
func (_m *MockClient) UserPatch(_a0 *woodpecker.User) (*woodpecker.User, error)
UserPatch provides a mock function with given fields: _a0
func (*MockClient) UserPost ¶
func (_m *MockClient) UserPost(_a0 *woodpecker.User) (*woodpecker.User, error)
UserPost provides a mock function with given fields: _a0
type MockClient_AgentCreate_Call ¶
MockClient_AgentCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AgentCreate'
func (*MockClient_AgentCreate_Call) Return ¶
func (_c *MockClient_AgentCreate_Call) Return(_a0 *woodpecker.Agent, _a1 error) *MockClient_AgentCreate_Call
func (*MockClient_AgentCreate_Call) Run ¶
func (_c *MockClient_AgentCreate_Call) Run(run func(_a0 *woodpecker.Agent)) *MockClient_AgentCreate_Call
func (*MockClient_AgentCreate_Call) RunAndReturn ¶
func (_c *MockClient_AgentCreate_Call) RunAndReturn(run func(*woodpecker.Agent) (*woodpecker.Agent, error)) *MockClient_AgentCreate_Call
type MockClient_AgentDelete_Call ¶
MockClient_AgentDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AgentDelete'
func (*MockClient_AgentDelete_Call) Return ¶
func (_c *MockClient_AgentDelete_Call) Return(_a0 error) *MockClient_AgentDelete_Call
func (*MockClient_AgentDelete_Call) Run ¶
func (_c *MockClient_AgentDelete_Call) Run(run func(_a0 int64)) *MockClient_AgentDelete_Call
func (*MockClient_AgentDelete_Call) RunAndReturn ¶
func (_c *MockClient_AgentDelete_Call) RunAndReturn(run func(int64) error) *MockClient_AgentDelete_Call
type MockClient_AgentList_Call ¶
MockClient_AgentList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AgentList'
func (*MockClient_AgentList_Call) Return ¶
func (_c *MockClient_AgentList_Call) Return(_a0 []*woodpecker.Agent, _a1 error) *MockClient_AgentList_Call
func (*MockClient_AgentList_Call) Run ¶
func (_c *MockClient_AgentList_Call) Run(run func()) *MockClient_AgentList_Call
func (*MockClient_AgentList_Call) RunAndReturn ¶
func (_c *MockClient_AgentList_Call) RunAndReturn(run func() ([]*woodpecker.Agent, error)) *MockClient_AgentList_Call
type MockClient_AgentTasksList_Call ¶
MockClient_AgentTasksList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AgentTasksList'
func (*MockClient_AgentTasksList_Call) Return ¶
func (_c *MockClient_AgentTasksList_Call) Return(_a0 []*woodpecker.Task, _a1 error) *MockClient_AgentTasksList_Call
func (*MockClient_AgentTasksList_Call) Run ¶
func (_c *MockClient_AgentTasksList_Call) Run(run func(_a0 int64)) *MockClient_AgentTasksList_Call
func (*MockClient_AgentTasksList_Call) RunAndReturn ¶
func (_c *MockClient_AgentTasksList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Task, error)) *MockClient_AgentTasksList_Call
type MockClient_AgentUpdate_Call ¶
MockClient_AgentUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AgentUpdate'
func (*MockClient_AgentUpdate_Call) Return ¶
func (_c *MockClient_AgentUpdate_Call) Return(_a0 *woodpecker.Agent, _a1 error) *MockClient_AgentUpdate_Call
func (*MockClient_AgentUpdate_Call) Run ¶
func (_c *MockClient_AgentUpdate_Call) Run(run func(_a0 *woodpecker.Agent)) *MockClient_AgentUpdate_Call
func (*MockClient_AgentUpdate_Call) RunAndReturn ¶
func (_c *MockClient_AgentUpdate_Call) RunAndReturn(run func(*woodpecker.Agent) (*woodpecker.Agent, error)) *MockClient_AgentUpdate_Call
type MockClient_Agent_Call ¶
MockClient_Agent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Agent'
func (*MockClient_Agent_Call) Return ¶
func (_c *MockClient_Agent_Call) Return(_a0 *woodpecker.Agent, _a1 error) *MockClient_Agent_Call
func (*MockClient_Agent_Call) Run ¶
func (_c *MockClient_Agent_Call) Run(run func(_a0 int64)) *MockClient_Agent_Call
func (*MockClient_Agent_Call) RunAndReturn ¶
func (_c *MockClient_Agent_Call) RunAndReturn(run func(int64) (*woodpecker.Agent, error)) *MockClient_Agent_Call
type MockClient_CronCreate_Call ¶
MockClient_CronCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CronCreate'
func (*MockClient_CronCreate_Call) Return ¶
func (_c *MockClient_CronCreate_Call) Return(_a0 *woodpecker.Cron, _a1 error) *MockClient_CronCreate_Call
func (*MockClient_CronCreate_Call) Run ¶
func (_c *MockClient_CronCreate_Call) Run(run func(repoID int64, cron *woodpecker.Cron)) *MockClient_CronCreate_Call
func (*MockClient_CronCreate_Call) RunAndReturn ¶
func (_c *MockClient_CronCreate_Call) RunAndReturn(run func(int64, *woodpecker.Cron) (*woodpecker.Cron, error)) *MockClient_CronCreate_Call
type MockClient_CronDelete_Call ¶
MockClient_CronDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CronDelete'
func (*MockClient_CronDelete_Call) Return ¶
func (_c *MockClient_CronDelete_Call) Return(_a0 error) *MockClient_CronDelete_Call
func (*MockClient_CronDelete_Call) Run ¶
func (_c *MockClient_CronDelete_Call) Run(run func(repoID int64, cronID int64)) *MockClient_CronDelete_Call
func (*MockClient_CronDelete_Call) RunAndReturn ¶
func (_c *MockClient_CronDelete_Call) RunAndReturn(run func(int64, int64) error) *MockClient_CronDelete_Call
type MockClient_CronGet_Call ¶
MockClient_CronGet_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CronGet'
func (*MockClient_CronGet_Call) Return ¶
func (_c *MockClient_CronGet_Call) Return(_a0 *woodpecker.Cron, _a1 error) *MockClient_CronGet_Call
func (*MockClient_CronGet_Call) Run ¶
func (_c *MockClient_CronGet_Call) Run(run func(repoID int64, cronID int64)) *MockClient_CronGet_Call
func (*MockClient_CronGet_Call) RunAndReturn ¶
func (_c *MockClient_CronGet_Call) RunAndReturn(run func(int64, int64) (*woodpecker.Cron, error)) *MockClient_CronGet_Call
type MockClient_CronList_Call ¶
MockClient_CronList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CronList'
func (*MockClient_CronList_Call) Return ¶
func (_c *MockClient_CronList_Call) Return(_a0 []*woodpecker.Cron, _a1 error) *MockClient_CronList_Call
func (*MockClient_CronList_Call) Run ¶
func (_c *MockClient_CronList_Call) Run(run func(repoID int64)) *MockClient_CronList_Call
func (*MockClient_CronList_Call) RunAndReturn ¶
func (_c *MockClient_CronList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Cron, error)) *MockClient_CronList_Call
type MockClient_CronUpdate_Call ¶
MockClient_CronUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CronUpdate'
func (*MockClient_CronUpdate_Call) Return ¶
func (_c *MockClient_CronUpdate_Call) Return(_a0 *woodpecker.Cron, _a1 error) *MockClient_CronUpdate_Call
func (*MockClient_CronUpdate_Call) Run ¶
func (_c *MockClient_CronUpdate_Call) Run(run func(repoID int64, cron *woodpecker.Cron)) *MockClient_CronUpdate_Call
func (*MockClient_CronUpdate_Call) RunAndReturn ¶
func (_c *MockClient_CronUpdate_Call) RunAndReturn(run func(int64, *woodpecker.Cron) (*woodpecker.Cron, error)) *MockClient_CronUpdate_Call
type MockClient_Deploy_Call ¶
MockClient_Deploy_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Deploy'
func (*MockClient_Deploy_Call) Return ¶
func (_c *MockClient_Deploy_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_Deploy_Call
func (*MockClient_Deploy_Call) Run ¶
func (_c *MockClient_Deploy_Call) Run(run func(repoID int64, pipeline int64, env string, params map[string]string)) *MockClient_Deploy_Call
func (*MockClient_Deploy_Call) RunAndReturn ¶
func (_c *MockClient_Deploy_Call) RunAndReturn(run func(int64, int64, string, map[string]string) (*woodpecker.Pipeline, error)) *MockClient_Deploy_Call
type MockClient_Expecter ¶
type MockClient_Expecter struct {
// contains filtered or unexported fields
}
func (*MockClient_Expecter) Agent ¶
func (_e *MockClient_Expecter) Agent(_a0 interface{}) *MockClient_Agent_Call
Agent is a helper method to define mock.On call
- _a0 int64
func (*MockClient_Expecter) AgentCreate ¶
func (_e *MockClient_Expecter) AgentCreate(_a0 interface{}) *MockClient_AgentCreate_Call
AgentCreate is a helper method to define mock.On call
- _a0 *woodpecker.Agent
func (*MockClient_Expecter) AgentDelete ¶
func (_e *MockClient_Expecter) AgentDelete(_a0 interface{}) *MockClient_AgentDelete_Call
AgentDelete is a helper method to define mock.On call
- _a0 int64
func (*MockClient_Expecter) AgentList ¶
func (_e *MockClient_Expecter) AgentList() *MockClient_AgentList_Call
AgentList is a helper method to define mock.On call
func (*MockClient_Expecter) AgentTasksList ¶
func (_e *MockClient_Expecter) AgentTasksList(_a0 interface{}) *MockClient_AgentTasksList_Call
AgentTasksList is a helper method to define mock.On call
- _a0 int64
func (*MockClient_Expecter) AgentUpdate ¶
func (_e *MockClient_Expecter) AgentUpdate(_a0 interface{}) *MockClient_AgentUpdate_Call
AgentUpdate is a helper method to define mock.On call
- _a0 *woodpecker.Agent
func (*MockClient_Expecter) CronCreate ¶
func (_e *MockClient_Expecter) CronCreate(repoID interface{}, cron interface{}) *MockClient_CronCreate_Call
CronCreate is a helper method to define mock.On call
- repoID int64
- cron *woodpecker.Cron
func (*MockClient_Expecter) CronDelete ¶
func (_e *MockClient_Expecter) CronDelete(repoID interface{}, cronID interface{}) *MockClient_CronDelete_Call
CronDelete is a helper method to define mock.On call
- repoID int64
- cronID int64
func (*MockClient_Expecter) CronGet ¶
func (_e *MockClient_Expecter) CronGet(repoID interface{}, cronID interface{}) *MockClient_CronGet_Call
CronGet is a helper method to define mock.On call
- repoID int64
- cronID int64
func (*MockClient_Expecter) CronList ¶
func (_e *MockClient_Expecter) CronList(repoID interface{}) *MockClient_CronList_Call
CronList is a helper method to define mock.On call
- repoID int64
func (*MockClient_Expecter) CronUpdate ¶
func (_e *MockClient_Expecter) CronUpdate(repoID interface{}, cron interface{}) *MockClient_CronUpdate_Call
CronUpdate is a helper method to define mock.On call
- repoID int64
- cron *woodpecker.Cron
func (*MockClient_Expecter) Deploy ¶
func (_e *MockClient_Expecter) Deploy(repoID interface{}, pipeline interface{}, env interface{}, params interface{}) *MockClient_Deploy_Call
Deploy is a helper method to define mock.On call
- repoID int64
- pipeline int64
- env string
- params map[string]string
func (*MockClient_Expecter) GlobalRegistry ¶
func (_e *MockClient_Expecter) GlobalRegistry(registry interface{}) *MockClient_GlobalRegistry_Call
GlobalRegistry is a helper method to define mock.On call
- registry string
func (*MockClient_Expecter) GlobalRegistryCreate ¶
func (_e *MockClient_Expecter) GlobalRegistryCreate(registry interface{}) *MockClient_GlobalRegistryCreate_Call
GlobalRegistryCreate is a helper method to define mock.On call
- registry *woodpecker.Registry
func (*MockClient_Expecter) GlobalRegistryDelete ¶
func (_e *MockClient_Expecter) GlobalRegistryDelete(registry interface{}) *MockClient_GlobalRegistryDelete_Call
GlobalRegistryDelete is a helper method to define mock.On call
- registry string
func (*MockClient_Expecter) GlobalRegistryList ¶
func (_e *MockClient_Expecter) GlobalRegistryList() *MockClient_GlobalRegistryList_Call
GlobalRegistryList is a helper method to define mock.On call
func (*MockClient_Expecter) GlobalRegistryUpdate ¶
func (_e *MockClient_Expecter) GlobalRegistryUpdate(registry interface{}) *MockClient_GlobalRegistryUpdate_Call
GlobalRegistryUpdate is a helper method to define mock.On call
- registry *woodpecker.Registry
func (*MockClient_Expecter) GlobalSecret ¶
func (_e *MockClient_Expecter) GlobalSecret(secret interface{}) *MockClient_GlobalSecret_Call
GlobalSecret is a helper method to define mock.On call
- secret string
func (*MockClient_Expecter) GlobalSecretCreate ¶
func (_e *MockClient_Expecter) GlobalSecretCreate(secret interface{}) *MockClient_GlobalSecretCreate_Call
GlobalSecretCreate is a helper method to define mock.On call
- secret *woodpecker.Secret
func (*MockClient_Expecter) GlobalSecretDelete ¶
func (_e *MockClient_Expecter) GlobalSecretDelete(secret interface{}) *MockClient_GlobalSecretDelete_Call
GlobalSecretDelete is a helper method to define mock.On call
- secret string
func (*MockClient_Expecter) GlobalSecretList ¶
func (_e *MockClient_Expecter) GlobalSecretList() *MockClient_GlobalSecretList_Call
GlobalSecretList is a helper method to define mock.On call
func (*MockClient_Expecter) GlobalSecretUpdate ¶
func (_e *MockClient_Expecter) GlobalSecretUpdate(secret interface{}) *MockClient_GlobalSecretUpdate_Call
GlobalSecretUpdate is a helper method to define mock.On call
- secret *woodpecker.Secret
func (*MockClient_Expecter) LogLevel ¶
func (_e *MockClient_Expecter) LogLevel() *MockClient_LogLevel_Call
LogLevel is a helper method to define mock.On call
func (*MockClient_Expecter) LogsPurge ¶
func (_e *MockClient_Expecter) LogsPurge(repoID interface{}, pipeline interface{}) *MockClient_LogsPurge_Call
LogsPurge is a helper method to define mock.On call
- repoID int64
- pipeline int64
func (*MockClient_Expecter) Org ¶
func (_e *MockClient_Expecter) Org(orgID interface{}) *MockClient_Org_Call
Org is a helper method to define mock.On call
- orgID int64
func (*MockClient_Expecter) OrgLookup ¶
func (_e *MockClient_Expecter) OrgLookup(orgName interface{}) *MockClient_OrgLookup_Call
OrgLookup is a helper method to define mock.On call
- orgName string
func (*MockClient_Expecter) OrgRegistry ¶
func (_e *MockClient_Expecter) OrgRegistry(orgID interface{}, registry interface{}) *MockClient_OrgRegistry_Call
OrgRegistry is a helper method to define mock.On call
- orgID int64
- registry string
func (*MockClient_Expecter) OrgRegistryCreate ¶
func (_e *MockClient_Expecter) OrgRegistryCreate(orgID interface{}, registry interface{}) *MockClient_OrgRegistryCreate_Call
OrgRegistryCreate is a helper method to define mock.On call
- orgID int64
- registry *woodpecker.Registry
func (*MockClient_Expecter) OrgRegistryDelete ¶
func (_e *MockClient_Expecter) OrgRegistryDelete(orgID interface{}, registry interface{}) *MockClient_OrgRegistryDelete_Call
OrgRegistryDelete is a helper method to define mock.On call
- orgID int64
- registry string
func (*MockClient_Expecter) OrgRegistryList ¶
func (_e *MockClient_Expecter) OrgRegistryList(orgID interface{}) *MockClient_OrgRegistryList_Call
OrgRegistryList is a helper method to define mock.On call
- orgID int64
func (*MockClient_Expecter) OrgRegistryUpdate ¶
func (_e *MockClient_Expecter) OrgRegistryUpdate(orgID interface{}, registry interface{}) *MockClient_OrgRegistryUpdate_Call
OrgRegistryUpdate is a helper method to define mock.On call
- orgID int64
- registry *woodpecker.Registry
func (*MockClient_Expecter) OrgSecret ¶
func (_e *MockClient_Expecter) OrgSecret(orgID interface{}, secret interface{}) *MockClient_OrgSecret_Call
OrgSecret is a helper method to define mock.On call
- orgID int64
- secret string
func (*MockClient_Expecter) OrgSecretCreate ¶
func (_e *MockClient_Expecter) OrgSecretCreate(orgID interface{}, secret interface{}) *MockClient_OrgSecretCreate_Call
OrgSecretCreate is a helper method to define mock.On call
- orgID int64
- secret *woodpecker.Secret
func (*MockClient_Expecter) OrgSecretDelete ¶
func (_e *MockClient_Expecter) OrgSecretDelete(orgID interface{}, secret interface{}) *MockClient_OrgSecretDelete_Call
OrgSecretDelete is a helper method to define mock.On call
- orgID int64
- secret string
func (*MockClient_Expecter) OrgSecretList ¶
func (_e *MockClient_Expecter) OrgSecretList(orgID interface{}) *MockClient_OrgSecretList_Call
OrgSecretList is a helper method to define mock.On call
- orgID int64
func (*MockClient_Expecter) OrgSecretUpdate ¶
func (_e *MockClient_Expecter) OrgSecretUpdate(orgID interface{}, secret interface{}) *MockClient_OrgSecretUpdate_Call
OrgSecretUpdate is a helper method to define mock.On call
- orgID int64
- secret *woodpecker.Secret
func (*MockClient_Expecter) Pipeline ¶
func (_e *MockClient_Expecter) Pipeline(repoID interface{}, pipeline interface{}) *MockClient_Pipeline_Call
Pipeline is a helper method to define mock.On call
- repoID int64
- pipeline int64
func (*MockClient_Expecter) PipelineApprove ¶
func (_e *MockClient_Expecter) PipelineApprove(repoID interface{}, pipeline interface{}) *MockClient_PipelineApprove_Call
PipelineApprove is a helper method to define mock.On call
- repoID int64
- pipeline int64
func (*MockClient_Expecter) PipelineCreate ¶
func (_e *MockClient_Expecter) PipelineCreate(repoID interface{}, opts interface{}) *MockClient_PipelineCreate_Call
PipelineCreate is a helper method to define mock.On call
- repoID int64
- opts *woodpecker.PipelineOptions
func (*MockClient_Expecter) PipelineDecline ¶
func (_e *MockClient_Expecter) PipelineDecline(repoID interface{}, pipeline interface{}) *MockClient_PipelineDecline_Call
PipelineDecline is a helper method to define mock.On call
- repoID int64
- pipeline int64
func (*MockClient_Expecter) PipelineKill ¶
func (_e *MockClient_Expecter) PipelineKill(repoID interface{}, pipeline interface{}) *MockClient_PipelineKill_Call
PipelineKill is a helper method to define mock.On call
- repoID int64
- pipeline int64
func (*MockClient_Expecter) PipelineLast ¶
func (_e *MockClient_Expecter) PipelineLast(repoID interface{}, branch interface{}) *MockClient_PipelineLast_Call
PipelineLast is a helper method to define mock.On call
- repoID int64
- branch string
func (*MockClient_Expecter) PipelineList ¶
func (_e *MockClient_Expecter) PipelineList(repoID interface{}) *MockClient_PipelineList_Call
PipelineList is a helper method to define mock.On call
- repoID int64
func (*MockClient_Expecter) PipelineQueue ¶
func (_e *MockClient_Expecter) PipelineQueue() *MockClient_PipelineQueue_Call
PipelineQueue is a helper method to define mock.On call
func (*MockClient_Expecter) PipelineStart ¶
func (_e *MockClient_Expecter) PipelineStart(repoID interface{}, num interface{}, params interface{}) *MockClient_PipelineStart_Call
PipelineStart is a helper method to define mock.On call
- repoID int64
- num int64
- params map[string]string
func (*MockClient_Expecter) PipelineStop ¶
func (_e *MockClient_Expecter) PipelineStop(repoID interface{}, pipeline interface{}) *MockClient_PipelineStop_Call
PipelineStop is a helper method to define mock.On call
- repoID int64
- pipeline int64
func (*MockClient_Expecter) QueueInfo ¶
func (_e *MockClient_Expecter) QueueInfo() *MockClient_QueueInfo_Call
QueueInfo is a helper method to define mock.On call
func (*MockClient_Expecter) Registry ¶
func (_e *MockClient_Expecter) Registry(repoID interface{}, hostname interface{}) *MockClient_Registry_Call
Registry is a helper method to define mock.On call
- repoID int64
- hostname string
func (*MockClient_Expecter) RegistryCreate ¶
func (_e *MockClient_Expecter) RegistryCreate(repoID interface{}, registry interface{}) *MockClient_RegistryCreate_Call
RegistryCreate is a helper method to define mock.On call
- repoID int64
- registry *woodpecker.Registry
func (*MockClient_Expecter) RegistryDelete ¶
func (_e *MockClient_Expecter) RegistryDelete(repoID interface{}, hostname interface{}) *MockClient_RegistryDelete_Call
RegistryDelete is a helper method to define mock.On call
- repoID int64
- hostname string
func (*MockClient_Expecter) RegistryList ¶
func (_e *MockClient_Expecter) RegistryList(repoID interface{}) *MockClient_RegistryList_Call
RegistryList is a helper method to define mock.On call
- repoID int64
func (*MockClient_Expecter) RegistryUpdate ¶
func (_e *MockClient_Expecter) RegistryUpdate(repoID interface{}, registry interface{}) *MockClient_RegistryUpdate_Call
RegistryUpdate is a helper method to define mock.On call
- repoID int64
- registry *woodpecker.Registry
func (*MockClient_Expecter) Repo ¶
func (_e *MockClient_Expecter) Repo(repoID interface{}) *MockClient_Repo_Call
Repo is a helper method to define mock.On call
- repoID int64
func (*MockClient_Expecter) RepoChown ¶
func (_e *MockClient_Expecter) RepoChown(repoID interface{}) *MockClient_RepoChown_Call
RepoChown is a helper method to define mock.On call
- repoID int64
func (*MockClient_Expecter) RepoDel ¶
func (_e *MockClient_Expecter) RepoDel(repoID interface{}) *MockClient_RepoDel_Call
RepoDel is a helper method to define mock.On call
- repoID int64
func (*MockClient_Expecter) RepoList ¶
func (_e *MockClient_Expecter) RepoList() *MockClient_RepoList_Call
RepoList is a helper method to define mock.On call
func (*MockClient_Expecter) RepoListOpts ¶
func (_e *MockClient_Expecter) RepoListOpts(_a0 interface{}) *MockClient_RepoListOpts_Call
RepoListOpts is a helper method to define mock.On call
- _a0 bool
func (*MockClient_Expecter) RepoLookup ¶
func (_e *MockClient_Expecter) RepoLookup(repoFullName interface{}) *MockClient_RepoLookup_Call
RepoLookup is a helper method to define mock.On call
- repoFullName string
func (*MockClient_Expecter) RepoMove ¶
func (_e *MockClient_Expecter) RepoMove(repoID interface{}, dst interface{}) *MockClient_RepoMove_Call
RepoMove is a helper method to define mock.On call
- repoID int64
- dst string
func (*MockClient_Expecter) RepoPatch ¶
func (_e *MockClient_Expecter) RepoPatch(repoID interface{}, repo interface{}) *MockClient_RepoPatch_Call
RepoPatch is a helper method to define mock.On call
- repoID int64
- repo *woodpecker.RepoPatch
func (*MockClient_Expecter) RepoPost ¶
func (_e *MockClient_Expecter) RepoPost(forgeRemoteID interface{}) *MockClient_RepoPost_Call
RepoPost is a helper method to define mock.On call
- forgeRemoteID int64
func (*MockClient_Expecter) RepoRepair ¶
func (_e *MockClient_Expecter) RepoRepair(repoID interface{}) *MockClient_RepoRepair_Call
RepoRepair is a helper method to define mock.On call
- repoID int64
func (*MockClient_Expecter) Secret ¶
func (_e *MockClient_Expecter) Secret(repoID interface{}, secret interface{}) *MockClient_Secret_Call
Secret is a helper method to define mock.On call
- repoID int64
- secret string
func (*MockClient_Expecter) SecretCreate ¶
func (_e *MockClient_Expecter) SecretCreate(repoID interface{}, secret interface{}) *MockClient_SecretCreate_Call
SecretCreate is a helper method to define mock.On call
- repoID int64
- secret *woodpecker.Secret
func (*MockClient_Expecter) SecretDelete ¶
func (_e *MockClient_Expecter) SecretDelete(repoID interface{}, secret interface{}) *MockClient_SecretDelete_Call
SecretDelete is a helper method to define mock.On call
- repoID int64
- secret string
func (*MockClient_Expecter) SecretList ¶
func (_e *MockClient_Expecter) SecretList(repoID interface{}) *MockClient_SecretList_Call
SecretList is a helper method to define mock.On call
- repoID int64
func (*MockClient_Expecter) SecretUpdate ¶
func (_e *MockClient_Expecter) SecretUpdate(repoID interface{}, secret interface{}) *MockClient_SecretUpdate_Call
SecretUpdate is a helper method to define mock.On call
- repoID int64
- secret *woodpecker.Secret
func (*MockClient_Expecter) Self ¶
func (_e *MockClient_Expecter) Self() *MockClient_Self_Call
Self is a helper method to define mock.On call
func (*MockClient_Expecter) SetAddress ¶
func (_e *MockClient_Expecter) SetAddress(_a0 interface{}) *MockClient_SetAddress_Call
SetAddress is a helper method to define mock.On call
- _a0 string
func (*MockClient_Expecter) SetClient ¶
func (_e *MockClient_Expecter) SetClient(_a0 interface{}) *MockClient_SetClient_Call
SetClient is a helper method to define mock.On call
- _a0 *http.Client
func (*MockClient_Expecter) SetLogLevel ¶
func (_e *MockClient_Expecter) SetLogLevel(logLevel interface{}) *MockClient_SetLogLevel_Call
SetLogLevel is a helper method to define mock.On call
- logLevel *woodpecker.LogLevel
func (*MockClient_Expecter) StepLogEntries ¶
func (_e *MockClient_Expecter) StepLogEntries(repoID interface{}, pipeline interface{}, stepID interface{}) *MockClient_StepLogEntries_Call
StepLogEntries is a helper method to define mock.On call
- repoID int64
- pipeline int64
- stepID int64
func (*MockClient_Expecter) StepLogsPurge ¶
func (_e *MockClient_Expecter) StepLogsPurge(repoID interface{}, pipelineNumber interface{}, stepID interface{}) *MockClient_StepLogsPurge_Call
StepLogsPurge is a helper method to define mock.On call
- repoID int64
- pipelineNumber int64
- stepID int64
func (*MockClient_Expecter) User ¶
func (_e *MockClient_Expecter) User(_a0 interface{}) *MockClient_User_Call
User is a helper method to define mock.On call
- _a0 string
func (*MockClient_Expecter) UserDel ¶
func (_e *MockClient_Expecter) UserDel(_a0 interface{}) *MockClient_UserDel_Call
UserDel is a helper method to define mock.On call
- _a0 string
func (*MockClient_Expecter) UserList ¶
func (_e *MockClient_Expecter) UserList() *MockClient_UserList_Call
UserList is a helper method to define mock.On call
func (*MockClient_Expecter) UserPatch ¶
func (_e *MockClient_Expecter) UserPatch(_a0 interface{}) *MockClient_UserPatch_Call
UserPatch is a helper method to define mock.On call
- _a0 *woodpecker.User
func (*MockClient_Expecter) UserPost ¶
func (_e *MockClient_Expecter) UserPost(_a0 interface{}) *MockClient_UserPost_Call
UserPost is a helper method to define mock.On call
- _a0 *woodpecker.User
type MockClient_GlobalRegistryCreate_Call ¶
MockClient_GlobalRegistryCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalRegistryCreate'
func (*MockClient_GlobalRegistryCreate_Call) Return ¶
func (_c *MockClient_GlobalRegistryCreate_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_GlobalRegistryCreate_Call
func (*MockClient_GlobalRegistryCreate_Call) Run ¶
func (_c *MockClient_GlobalRegistryCreate_Call) Run(run func(registry *woodpecker.Registry)) *MockClient_GlobalRegistryCreate_Call
func (*MockClient_GlobalRegistryCreate_Call) RunAndReturn ¶
func (_c *MockClient_GlobalRegistryCreate_Call) RunAndReturn(run func(*woodpecker.Registry) (*woodpecker.Registry, error)) *MockClient_GlobalRegistryCreate_Call
type MockClient_GlobalRegistryDelete_Call ¶
MockClient_GlobalRegistryDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalRegistryDelete'
func (*MockClient_GlobalRegistryDelete_Call) Return ¶
func (_c *MockClient_GlobalRegistryDelete_Call) Return(_a0 error) *MockClient_GlobalRegistryDelete_Call
func (*MockClient_GlobalRegistryDelete_Call) Run ¶
func (_c *MockClient_GlobalRegistryDelete_Call) Run(run func(registry string)) *MockClient_GlobalRegistryDelete_Call
func (*MockClient_GlobalRegistryDelete_Call) RunAndReturn ¶
func (_c *MockClient_GlobalRegistryDelete_Call) RunAndReturn(run func(string) error) *MockClient_GlobalRegistryDelete_Call
type MockClient_GlobalRegistryList_Call ¶
MockClient_GlobalRegistryList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalRegistryList'
func (*MockClient_GlobalRegistryList_Call) Return ¶
func (_c *MockClient_GlobalRegistryList_Call) Return(_a0 []*woodpecker.Registry, _a1 error) *MockClient_GlobalRegistryList_Call
func (*MockClient_GlobalRegistryList_Call) Run ¶
func (_c *MockClient_GlobalRegistryList_Call) Run(run func()) *MockClient_GlobalRegistryList_Call
func (*MockClient_GlobalRegistryList_Call) RunAndReturn ¶
func (_c *MockClient_GlobalRegistryList_Call) RunAndReturn(run func() ([]*woodpecker.Registry, error)) *MockClient_GlobalRegistryList_Call
type MockClient_GlobalRegistryUpdate_Call ¶
MockClient_GlobalRegistryUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalRegistryUpdate'
func (*MockClient_GlobalRegistryUpdate_Call) Return ¶
func (_c *MockClient_GlobalRegistryUpdate_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_GlobalRegistryUpdate_Call
func (*MockClient_GlobalRegistryUpdate_Call) Run ¶
func (_c *MockClient_GlobalRegistryUpdate_Call) Run(run func(registry *woodpecker.Registry)) *MockClient_GlobalRegistryUpdate_Call
func (*MockClient_GlobalRegistryUpdate_Call) RunAndReturn ¶
func (_c *MockClient_GlobalRegistryUpdate_Call) RunAndReturn(run func(*woodpecker.Registry) (*woodpecker.Registry, error)) *MockClient_GlobalRegistryUpdate_Call
type MockClient_GlobalRegistry_Call ¶
MockClient_GlobalRegistry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalRegistry'
func (*MockClient_GlobalRegistry_Call) Return ¶
func (_c *MockClient_GlobalRegistry_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_GlobalRegistry_Call
func (*MockClient_GlobalRegistry_Call) Run ¶
func (_c *MockClient_GlobalRegistry_Call) Run(run func(registry string)) *MockClient_GlobalRegistry_Call
func (*MockClient_GlobalRegistry_Call) RunAndReturn ¶
func (_c *MockClient_GlobalRegistry_Call) RunAndReturn(run func(string) (*woodpecker.Registry, error)) *MockClient_GlobalRegistry_Call
type MockClient_GlobalSecretCreate_Call ¶
MockClient_GlobalSecretCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalSecretCreate'
func (*MockClient_GlobalSecretCreate_Call) Return ¶
func (_c *MockClient_GlobalSecretCreate_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_GlobalSecretCreate_Call
func (*MockClient_GlobalSecretCreate_Call) Run ¶
func (_c *MockClient_GlobalSecretCreate_Call) Run(run func(secret *woodpecker.Secret)) *MockClient_GlobalSecretCreate_Call
func (*MockClient_GlobalSecretCreate_Call) RunAndReturn ¶
func (_c *MockClient_GlobalSecretCreate_Call) RunAndReturn(run func(*woodpecker.Secret) (*woodpecker.Secret, error)) *MockClient_GlobalSecretCreate_Call
type MockClient_GlobalSecretDelete_Call ¶
MockClient_GlobalSecretDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalSecretDelete'
func (*MockClient_GlobalSecretDelete_Call) Return ¶
func (_c *MockClient_GlobalSecretDelete_Call) Return(_a0 error) *MockClient_GlobalSecretDelete_Call
func (*MockClient_GlobalSecretDelete_Call) Run ¶
func (_c *MockClient_GlobalSecretDelete_Call) Run(run func(secret string)) *MockClient_GlobalSecretDelete_Call
func (*MockClient_GlobalSecretDelete_Call) RunAndReturn ¶
func (_c *MockClient_GlobalSecretDelete_Call) RunAndReturn(run func(string) error) *MockClient_GlobalSecretDelete_Call
type MockClient_GlobalSecretList_Call ¶
MockClient_GlobalSecretList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalSecretList'
func (*MockClient_GlobalSecretList_Call) Return ¶
func (_c *MockClient_GlobalSecretList_Call) Return(_a0 []*woodpecker.Secret, _a1 error) *MockClient_GlobalSecretList_Call
func (*MockClient_GlobalSecretList_Call) Run ¶
func (_c *MockClient_GlobalSecretList_Call) Run(run func()) *MockClient_GlobalSecretList_Call
func (*MockClient_GlobalSecretList_Call) RunAndReturn ¶
func (_c *MockClient_GlobalSecretList_Call) RunAndReturn(run func() ([]*woodpecker.Secret, error)) *MockClient_GlobalSecretList_Call
type MockClient_GlobalSecretUpdate_Call ¶
MockClient_GlobalSecretUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalSecretUpdate'
func (*MockClient_GlobalSecretUpdate_Call) Return ¶
func (_c *MockClient_GlobalSecretUpdate_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_GlobalSecretUpdate_Call
func (*MockClient_GlobalSecretUpdate_Call) Run ¶
func (_c *MockClient_GlobalSecretUpdate_Call) Run(run func(secret *woodpecker.Secret)) *MockClient_GlobalSecretUpdate_Call
func (*MockClient_GlobalSecretUpdate_Call) RunAndReturn ¶
func (_c *MockClient_GlobalSecretUpdate_Call) RunAndReturn(run func(*woodpecker.Secret) (*woodpecker.Secret, error)) *MockClient_GlobalSecretUpdate_Call
type MockClient_GlobalSecret_Call ¶
MockClient_GlobalSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalSecret'
func (*MockClient_GlobalSecret_Call) Return ¶
func (_c *MockClient_GlobalSecret_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_GlobalSecret_Call
func (*MockClient_GlobalSecret_Call) Run ¶
func (_c *MockClient_GlobalSecret_Call) Run(run func(secret string)) *MockClient_GlobalSecret_Call
func (*MockClient_GlobalSecret_Call) RunAndReturn ¶
func (_c *MockClient_GlobalSecret_Call) RunAndReturn(run func(string) (*woodpecker.Secret, error)) *MockClient_GlobalSecret_Call
type MockClient_LogLevel_Call ¶
MockClient_LogLevel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogLevel'
func (*MockClient_LogLevel_Call) Return ¶
func (_c *MockClient_LogLevel_Call) Return(_a0 *woodpecker.LogLevel, _a1 error) *MockClient_LogLevel_Call
func (*MockClient_LogLevel_Call) Run ¶
func (_c *MockClient_LogLevel_Call) Run(run func()) *MockClient_LogLevel_Call
func (*MockClient_LogLevel_Call) RunAndReturn ¶
func (_c *MockClient_LogLevel_Call) RunAndReturn(run func() (*woodpecker.LogLevel, error)) *MockClient_LogLevel_Call
type MockClient_LogsPurge_Call ¶
MockClient_LogsPurge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogsPurge'
func (*MockClient_LogsPurge_Call) Return ¶
func (_c *MockClient_LogsPurge_Call) Return(_a0 error) *MockClient_LogsPurge_Call
func (*MockClient_LogsPurge_Call) Run ¶
func (_c *MockClient_LogsPurge_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_LogsPurge_Call
func (*MockClient_LogsPurge_Call) RunAndReturn ¶
func (_c *MockClient_LogsPurge_Call) RunAndReturn(run func(int64, int64) error) *MockClient_LogsPurge_Call
type MockClient_OrgLookup_Call ¶
MockClient_OrgLookup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgLookup'
func (*MockClient_OrgLookup_Call) Return ¶
func (_c *MockClient_OrgLookup_Call) Return(_a0 *woodpecker.Org, _a1 error) *MockClient_OrgLookup_Call
func (*MockClient_OrgLookup_Call) Run ¶
func (_c *MockClient_OrgLookup_Call) Run(run func(orgName string)) *MockClient_OrgLookup_Call
func (*MockClient_OrgLookup_Call) RunAndReturn ¶
func (_c *MockClient_OrgLookup_Call) RunAndReturn(run func(string) (*woodpecker.Org, error)) *MockClient_OrgLookup_Call
type MockClient_OrgRegistryCreate_Call ¶
MockClient_OrgRegistryCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgRegistryCreate'
func (*MockClient_OrgRegistryCreate_Call) Return ¶
func (_c *MockClient_OrgRegistryCreate_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_OrgRegistryCreate_Call
func (*MockClient_OrgRegistryCreate_Call) Run ¶
func (_c *MockClient_OrgRegistryCreate_Call) Run(run func(orgID int64, registry *woodpecker.Registry)) *MockClient_OrgRegistryCreate_Call
func (*MockClient_OrgRegistryCreate_Call) RunAndReturn ¶
func (_c *MockClient_OrgRegistryCreate_Call) RunAndReturn(run func(int64, *woodpecker.Registry) (*woodpecker.Registry, error)) *MockClient_OrgRegistryCreate_Call
type MockClient_OrgRegistryDelete_Call ¶
MockClient_OrgRegistryDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgRegistryDelete'
func (*MockClient_OrgRegistryDelete_Call) Return ¶
func (_c *MockClient_OrgRegistryDelete_Call) Return(_a0 error) *MockClient_OrgRegistryDelete_Call
func (*MockClient_OrgRegistryDelete_Call) Run ¶
func (_c *MockClient_OrgRegistryDelete_Call) Run(run func(orgID int64, registry string)) *MockClient_OrgRegistryDelete_Call
func (*MockClient_OrgRegistryDelete_Call) RunAndReturn ¶
func (_c *MockClient_OrgRegistryDelete_Call) RunAndReturn(run func(int64, string) error) *MockClient_OrgRegistryDelete_Call
type MockClient_OrgRegistryList_Call ¶
MockClient_OrgRegistryList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgRegistryList'
func (*MockClient_OrgRegistryList_Call) Return ¶
func (_c *MockClient_OrgRegistryList_Call) Return(_a0 []*woodpecker.Registry, _a1 error) *MockClient_OrgRegistryList_Call
func (*MockClient_OrgRegistryList_Call) Run ¶
func (_c *MockClient_OrgRegistryList_Call) Run(run func(orgID int64)) *MockClient_OrgRegistryList_Call
func (*MockClient_OrgRegistryList_Call) RunAndReturn ¶
func (_c *MockClient_OrgRegistryList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Registry, error)) *MockClient_OrgRegistryList_Call
type MockClient_OrgRegistryUpdate_Call ¶
MockClient_OrgRegistryUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgRegistryUpdate'
func (*MockClient_OrgRegistryUpdate_Call) Return ¶
func (_c *MockClient_OrgRegistryUpdate_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_OrgRegistryUpdate_Call
func (*MockClient_OrgRegistryUpdate_Call) Run ¶
func (_c *MockClient_OrgRegistryUpdate_Call) Run(run func(orgID int64, registry *woodpecker.Registry)) *MockClient_OrgRegistryUpdate_Call
func (*MockClient_OrgRegistryUpdate_Call) RunAndReturn ¶
func (_c *MockClient_OrgRegistryUpdate_Call) RunAndReturn(run func(int64, *woodpecker.Registry) (*woodpecker.Registry, error)) *MockClient_OrgRegistryUpdate_Call
type MockClient_OrgRegistry_Call ¶
MockClient_OrgRegistry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgRegistry'
func (*MockClient_OrgRegistry_Call) Return ¶
func (_c *MockClient_OrgRegistry_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_OrgRegistry_Call
func (*MockClient_OrgRegistry_Call) Run ¶
func (_c *MockClient_OrgRegistry_Call) Run(run func(orgID int64, registry string)) *MockClient_OrgRegistry_Call
func (*MockClient_OrgRegistry_Call) RunAndReturn ¶
func (_c *MockClient_OrgRegistry_Call) RunAndReturn(run func(int64, string) (*woodpecker.Registry, error)) *MockClient_OrgRegistry_Call
type MockClient_OrgSecretCreate_Call ¶
MockClient_OrgSecretCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgSecretCreate'
func (*MockClient_OrgSecretCreate_Call) Return ¶
func (_c *MockClient_OrgSecretCreate_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_OrgSecretCreate_Call
func (*MockClient_OrgSecretCreate_Call) Run ¶
func (_c *MockClient_OrgSecretCreate_Call) Run(run func(orgID int64, secret *woodpecker.Secret)) *MockClient_OrgSecretCreate_Call
func (*MockClient_OrgSecretCreate_Call) RunAndReturn ¶
func (_c *MockClient_OrgSecretCreate_Call) RunAndReturn(run func(int64, *woodpecker.Secret) (*woodpecker.Secret, error)) *MockClient_OrgSecretCreate_Call
type MockClient_OrgSecretDelete_Call ¶
MockClient_OrgSecretDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgSecretDelete'
func (*MockClient_OrgSecretDelete_Call) Return ¶
func (_c *MockClient_OrgSecretDelete_Call) Return(_a0 error) *MockClient_OrgSecretDelete_Call
func (*MockClient_OrgSecretDelete_Call) Run ¶
func (_c *MockClient_OrgSecretDelete_Call) Run(run func(orgID int64, secret string)) *MockClient_OrgSecretDelete_Call
func (*MockClient_OrgSecretDelete_Call) RunAndReturn ¶
func (_c *MockClient_OrgSecretDelete_Call) RunAndReturn(run func(int64, string) error) *MockClient_OrgSecretDelete_Call
type MockClient_OrgSecretList_Call ¶
MockClient_OrgSecretList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgSecretList'
func (*MockClient_OrgSecretList_Call) Return ¶
func (_c *MockClient_OrgSecretList_Call) Return(_a0 []*woodpecker.Secret, _a1 error) *MockClient_OrgSecretList_Call
func (*MockClient_OrgSecretList_Call) Run ¶
func (_c *MockClient_OrgSecretList_Call) Run(run func(orgID int64)) *MockClient_OrgSecretList_Call
func (*MockClient_OrgSecretList_Call) RunAndReturn ¶
func (_c *MockClient_OrgSecretList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Secret, error)) *MockClient_OrgSecretList_Call
type MockClient_OrgSecretUpdate_Call ¶
MockClient_OrgSecretUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgSecretUpdate'
func (*MockClient_OrgSecretUpdate_Call) Return ¶
func (_c *MockClient_OrgSecretUpdate_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_OrgSecretUpdate_Call
func (*MockClient_OrgSecretUpdate_Call) Run ¶
func (_c *MockClient_OrgSecretUpdate_Call) Run(run func(orgID int64, secret *woodpecker.Secret)) *MockClient_OrgSecretUpdate_Call
func (*MockClient_OrgSecretUpdate_Call) RunAndReturn ¶
func (_c *MockClient_OrgSecretUpdate_Call) RunAndReturn(run func(int64, *woodpecker.Secret) (*woodpecker.Secret, error)) *MockClient_OrgSecretUpdate_Call
type MockClient_OrgSecret_Call ¶
MockClient_OrgSecret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OrgSecret'
func (*MockClient_OrgSecret_Call) Return ¶
func (_c *MockClient_OrgSecret_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_OrgSecret_Call
func (*MockClient_OrgSecret_Call) Run ¶
func (_c *MockClient_OrgSecret_Call) Run(run func(orgID int64, secret string)) *MockClient_OrgSecret_Call
func (*MockClient_OrgSecret_Call) RunAndReturn ¶
func (_c *MockClient_OrgSecret_Call) RunAndReturn(run func(int64, string) (*woodpecker.Secret, error)) *MockClient_OrgSecret_Call
type MockClient_Org_Call ¶
MockClient_Org_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Org'
func (*MockClient_Org_Call) Return ¶
func (_c *MockClient_Org_Call) Return(_a0 *woodpecker.Org, _a1 error) *MockClient_Org_Call
func (*MockClient_Org_Call) Run ¶
func (_c *MockClient_Org_Call) Run(run func(orgID int64)) *MockClient_Org_Call
func (*MockClient_Org_Call) RunAndReturn ¶
func (_c *MockClient_Org_Call) RunAndReturn(run func(int64) (*woodpecker.Org, error)) *MockClient_Org_Call
type MockClient_PipelineApprove_Call ¶
MockClient_PipelineApprove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PipelineApprove'
func (*MockClient_PipelineApprove_Call) Return ¶
func (_c *MockClient_PipelineApprove_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_PipelineApprove_Call
func (*MockClient_PipelineApprove_Call) Run ¶
func (_c *MockClient_PipelineApprove_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_PipelineApprove_Call
func (*MockClient_PipelineApprove_Call) RunAndReturn ¶
func (_c *MockClient_PipelineApprove_Call) RunAndReturn(run func(int64, int64) (*woodpecker.Pipeline, error)) *MockClient_PipelineApprove_Call
type MockClient_PipelineCreate_Call ¶
MockClient_PipelineCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PipelineCreate'
func (*MockClient_PipelineCreate_Call) Return ¶
func (_c *MockClient_PipelineCreate_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_PipelineCreate_Call
func (*MockClient_PipelineCreate_Call) Run ¶
func (_c *MockClient_PipelineCreate_Call) Run(run func(repoID int64, opts *woodpecker.PipelineOptions)) *MockClient_PipelineCreate_Call
func (*MockClient_PipelineCreate_Call) RunAndReturn ¶
func (_c *MockClient_PipelineCreate_Call) RunAndReturn(run func(int64, *woodpecker.PipelineOptions) (*woodpecker.Pipeline, error)) *MockClient_PipelineCreate_Call
type MockClient_PipelineDecline_Call ¶
MockClient_PipelineDecline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PipelineDecline'
func (*MockClient_PipelineDecline_Call) Return ¶
func (_c *MockClient_PipelineDecline_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_PipelineDecline_Call
func (*MockClient_PipelineDecline_Call) Run ¶
func (_c *MockClient_PipelineDecline_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_PipelineDecline_Call
func (*MockClient_PipelineDecline_Call) RunAndReturn ¶
func (_c *MockClient_PipelineDecline_Call) RunAndReturn(run func(int64, int64) (*woodpecker.Pipeline, error)) *MockClient_PipelineDecline_Call
type MockClient_PipelineKill_Call ¶
MockClient_PipelineKill_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PipelineKill'
func (*MockClient_PipelineKill_Call) Return ¶
func (_c *MockClient_PipelineKill_Call) Return(_a0 error) *MockClient_PipelineKill_Call
func (*MockClient_PipelineKill_Call) Run ¶
func (_c *MockClient_PipelineKill_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_PipelineKill_Call
func (*MockClient_PipelineKill_Call) RunAndReturn ¶
func (_c *MockClient_PipelineKill_Call) RunAndReturn(run func(int64, int64) error) *MockClient_PipelineKill_Call
type MockClient_PipelineLast_Call ¶
MockClient_PipelineLast_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PipelineLast'
func (*MockClient_PipelineLast_Call) Return ¶
func (_c *MockClient_PipelineLast_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_PipelineLast_Call
func (*MockClient_PipelineLast_Call) Run ¶
func (_c *MockClient_PipelineLast_Call) Run(run func(repoID int64, branch string)) *MockClient_PipelineLast_Call
func (*MockClient_PipelineLast_Call) RunAndReturn ¶
func (_c *MockClient_PipelineLast_Call) RunAndReturn(run func(int64, string) (*woodpecker.Pipeline, error)) *MockClient_PipelineLast_Call
type MockClient_PipelineList_Call ¶
MockClient_PipelineList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PipelineList'
func (*MockClient_PipelineList_Call) Return ¶
func (_c *MockClient_PipelineList_Call) Return(_a0 []*woodpecker.Pipeline, _a1 error) *MockClient_PipelineList_Call
func (*MockClient_PipelineList_Call) Run ¶
func (_c *MockClient_PipelineList_Call) Run(run func(repoID int64)) *MockClient_PipelineList_Call
func (*MockClient_PipelineList_Call) RunAndReturn ¶
func (_c *MockClient_PipelineList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Pipeline, error)) *MockClient_PipelineList_Call
type MockClient_PipelineQueue_Call ¶
MockClient_PipelineQueue_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PipelineQueue'
func (*MockClient_PipelineQueue_Call) Return ¶
func (_c *MockClient_PipelineQueue_Call) Return(_a0 []*woodpecker.Feed, _a1 error) *MockClient_PipelineQueue_Call
func (*MockClient_PipelineQueue_Call) Run ¶
func (_c *MockClient_PipelineQueue_Call) Run(run func()) *MockClient_PipelineQueue_Call
func (*MockClient_PipelineQueue_Call) RunAndReturn ¶
func (_c *MockClient_PipelineQueue_Call) RunAndReturn(run func() ([]*woodpecker.Feed, error)) *MockClient_PipelineQueue_Call
type MockClient_PipelineStart_Call ¶
MockClient_PipelineStart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PipelineStart'
func (*MockClient_PipelineStart_Call) Return ¶
func (_c *MockClient_PipelineStart_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_PipelineStart_Call
func (*MockClient_PipelineStart_Call) Run ¶
func (_c *MockClient_PipelineStart_Call) Run(run func(repoID int64, num int64, params map[string]string)) *MockClient_PipelineStart_Call
func (*MockClient_PipelineStart_Call) RunAndReturn ¶
func (_c *MockClient_PipelineStart_Call) RunAndReturn(run func(int64, int64, map[string]string) (*woodpecker.Pipeline, error)) *MockClient_PipelineStart_Call
type MockClient_PipelineStop_Call ¶
MockClient_PipelineStop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PipelineStop'
func (*MockClient_PipelineStop_Call) Return ¶
func (_c *MockClient_PipelineStop_Call) Return(_a0 error) *MockClient_PipelineStop_Call
func (*MockClient_PipelineStop_Call) Run ¶
func (_c *MockClient_PipelineStop_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_PipelineStop_Call
func (*MockClient_PipelineStop_Call) RunAndReturn ¶
func (_c *MockClient_PipelineStop_Call) RunAndReturn(run func(int64, int64) error) *MockClient_PipelineStop_Call
type MockClient_Pipeline_Call ¶
MockClient_Pipeline_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Pipeline'
func (*MockClient_Pipeline_Call) Return ¶
func (_c *MockClient_Pipeline_Call) Return(_a0 *woodpecker.Pipeline, _a1 error) *MockClient_Pipeline_Call
func (*MockClient_Pipeline_Call) Run ¶
func (_c *MockClient_Pipeline_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_Pipeline_Call
func (*MockClient_Pipeline_Call) RunAndReturn ¶
func (_c *MockClient_Pipeline_Call) RunAndReturn(run func(int64, int64) (*woodpecker.Pipeline, error)) *MockClient_Pipeline_Call
type MockClient_QueueInfo_Call ¶
MockClient_QueueInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueueInfo'
func (*MockClient_QueueInfo_Call) Return ¶
func (_c *MockClient_QueueInfo_Call) Return(_a0 *woodpecker.Info, _a1 error) *MockClient_QueueInfo_Call
func (*MockClient_QueueInfo_Call) Run ¶
func (_c *MockClient_QueueInfo_Call) Run(run func()) *MockClient_QueueInfo_Call
func (*MockClient_QueueInfo_Call) RunAndReturn ¶
func (_c *MockClient_QueueInfo_Call) RunAndReturn(run func() (*woodpecker.Info, error)) *MockClient_QueueInfo_Call
type MockClient_RegistryCreate_Call ¶
MockClient_RegistryCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegistryCreate'
func (*MockClient_RegistryCreate_Call) Return ¶
func (_c *MockClient_RegistryCreate_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_RegistryCreate_Call
func (*MockClient_RegistryCreate_Call) Run ¶
func (_c *MockClient_RegistryCreate_Call) Run(run func(repoID int64, registry *woodpecker.Registry)) *MockClient_RegistryCreate_Call
func (*MockClient_RegistryCreate_Call) RunAndReturn ¶
func (_c *MockClient_RegistryCreate_Call) RunAndReturn(run func(int64, *woodpecker.Registry) (*woodpecker.Registry, error)) *MockClient_RegistryCreate_Call
type MockClient_RegistryDelete_Call ¶
MockClient_RegistryDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegistryDelete'
func (*MockClient_RegistryDelete_Call) Return ¶
func (_c *MockClient_RegistryDelete_Call) Return(_a0 error) *MockClient_RegistryDelete_Call
func (*MockClient_RegistryDelete_Call) Run ¶
func (_c *MockClient_RegistryDelete_Call) Run(run func(repoID int64, hostname string)) *MockClient_RegistryDelete_Call
func (*MockClient_RegistryDelete_Call) RunAndReturn ¶
func (_c *MockClient_RegistryDelete_Call) RunAndReturn(run func(int64, string) error) *MockClient_RegistryDelete_Call
type MockClient_RegistryList_Call ¶
MockClient_RegistryList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegistryList'
func (*MockClient_RegistryList_Call) Return ¶
func (_c *MockClient_RegistryList_Call) Return(_a0 []*woodpecker.Registry, _a1 error) *MockClient_RegistryList_Call
func (*MockClient_RegistryList_Call) Run ¶
func (_c *MockClient_RegistryList_Call) Run(run func(repoID int64)) *MockClient_RegistryList_Call
func (*MockClient_RegistryList_Call) RunAndReturn ¶
func (_c *MockClient_RegistryList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Registry, error)) *MockClient_RegistryList_Call
type MockClient_RegistryUpdate_Call ¶
MockClient_RegistryUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RegistryUpdate'
func (*MockClient_RegistryUpdate_Call) Return ¶
func (_c *MockClient_RegistryUpdate_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_RegistryUpdate_Call
func (*MockClient_RegistryUpdate_Call) Run ¶
func (_c *MockClient_RegistryUpdate_Call) Run(run func(repoID int64, registry *woodpecker.Registry)) *MockClient_RegistryUpdate_Call
func (*MockClient_RegistryUpdate_Call) RunAndReturn ¶
func (_c *MockClient_RegistryUpdate_Call) RunAndReturn(run func(int64, *woodpecker.Registry) (*woodpecker.Registry, error)) *MockClient_RegistryUpdate_Call
type MockClient_Registry_Call ¶
MockClient_Registry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Registry'
func (*MockClient_Registry_Call) Return ¶
func (_c *MockClient_Registry_Call) Return(_a0 *woodpecker.Registry, _a1 error) *MockClient_Registry_Call
func (*MockClient_Registry_Call) Run ¶
func (_c *MockClient_Registry_Call) Run(run func(repoID int64, hostname string)) *MockClient_Registry_Call
func (*MockClient_Registry_Call) RunAndReturn ¶
func (_c *MockClient_Registry_Call) RunAndReturn(run func(int64, string) (*woodpecker.Registry, error)) *MockClient_Registry_Call
type MockClient_RepoChown_Call ¶
MockClient_RepoChown_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoChown'
func (*MockClient_RepoChown_Call) Return ¶
func (_c *MockClient_RepoChown_Call) Return(_a0 *woodpecker.Repo, _a1 error) *MockClient_RepoChown_Call
func (*MockClient_RepoChown_Call) Run ¶
func (_c *MockClient_RepoChown_Call) Run(run func(repoID int64)) *MockClient_RepoChown_Call
func (*MockClient_RepoChown_Call) RunAndReturn ¶
func (_c *MockClient_RepoChown_Call) RunAndReturn(run func(int64) (*woodpecker.Repo, error)) *MockClient_RepoChown_Call
type MockClient_RepoDel_Call ¶
MockClient_RepoDel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoDel'
func (*MockClient_RepoDel_Call) Return ¶
func (_c *MockClient_RepoDel_Call) Return(_a0 error) *MockClient_RepoDel_Call
func (*MockClient_RepoDel_Call) Run ¶
func (_c *MockClient_RepoDel_Call) Run(run func(repoID int64)) *MockClient_RepoDel_Call
func (*MockClient_RepoDel_Call) RunAndReturn ¶
func (_c *MockClient_RepoDel_Call) RunAndReturn(run func(int64) error) *MockClient_RepoDel_Call
type MockClient_RepoListOpts_Call ¶
MockClient_RepoListOpts_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoListOpts'
func (*MockClient_RepoListOpts_Call) Return ¶
func (_c *MockClient_RepoListOpts_Call) Return(_a0 []*woodpecker.Repo, _a1 error) *MockClient_RepoListOpts_Call
func (*MockClient_RepoListOpts_Call) Run ¶
func (_c *MockClient_RepoListOpts_Call) Run(run func(_a0 bool)) *MockClient_RepoListOpts_Call
func (*MockClient_RepoListOpts_Call) RunAndReturn ¶
func (_c *MockClient_RepoListOpts_Call) RunAndReturn(run func(bool) ([]*woodpecker.Repo, error)) *MockClient_RepoListOpts_Call
type MockClient_RepoList_Call ¶
MockClient_RepoList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoList'
func (*MockClient_RepoList_Call) Return ¶
func (_c *MockClient_RepoList_Call) Return(_a0 []*woodpecker.Repo, _a1 error) *MockClient_RepoList_Call
func (*MockClient_RepoList_Call) Run ¶
func (_c *MockClient_RepoList_Call) Run(run func()) *MockClient_RepoList_Call
func (*MockClient_RepoList_Call) RunAndReturn ¶
func (_c *MockClient_RepoList_Call) RunAndReturn(run func() ([]*woodpecker.Repo, error)) *MockClient_RepoList_Call
type MockClient_RepoLookup_Call ¶
MockClient_RepoLookup_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoLookup'
func (*MockClient_RepoLookup_Call) Return ¶
func (_c *MockClient_RepoLookup_Call) Return(_a0 *woodpecker.Repo, _a1 error) *MockClient_RepoLookup_Call
func (*MockClient_RepoLookup_Call) Run ¶
func (_c *MockClient_RepoLookup_Call) Run(run func(repoFullName string)) *MockClient_RepoLookup_Call
func (*MockClient_RepoLookup_Call) RunAndReturn ¶
func (_c *MockClient_RepoLookup_Call) RunAndReturn(run func(string) (*woodpecker.Repo, error)) *MockClient_RepoLookup_Call
type MockClient_RepoMove_Call ¶
MockClient_RepoMove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoMove'
func (*MockClient_RepoMove_Call) Return ¶
func (_c *MockClient_RepoMove_Call) Return(_a0 error) *MockClient_RepoMove_Call
func (*MockClient_RepoMove_Call) Run ¶
func (_c *MockClient_RepoMove_Call) Run(run func(repoID int64, dst string)) *MockClient_RepoMove_Call
func (*MockClient_RepoMove_Call) RunAndReturn ¶
func (_c *MockClient_RepoMove_Call) RunAndReturn(run func(int64, string) error) *MockClient_RepoMove_Call
type MockClient_RepoPatch_Call ¶
MockClient_RepoPatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoPatch'
func (*MockClient_RepoPatch_Call) Return ¶
func (_c *MockClient_RepoPatch_Call) Return(_a0 *woodpecker.Repo, _a1 error) *MockClient_RepoPatch_Call
func (*MockClient_RepoPatch_Call) Run ¶
func (_c *MockClient_RepoPatch_Call) Run(run func(repoID int64, repo *woodpecker.RepoPatch)) *MockClient_RepoPatch_Call
func (*MockClient_RepoPatch_Call) RunAndReturn ¶
func (_c *MockClient_RepoPatch_Call) RunAndReturn(run func(int64, *woodpecker.RepoPatch) (*woodpecker.Repo, error)) *MockClient_RepoPatch_Call
type MockClient_RepoPost_Call ¶
MockClient_RepoPost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoPost'
func (*MockClient_RepoPost_Call) Return ¶
func (_c *MockClient_RepoPost_Call) Return(_a0 *woodpecker.Repo, _a1 error) *MockClient_RepoPost_Call
func (*MockClient_RepoPost_Call) Run ¶
func (_c *MockClient_RepoPost_Call) Run(run func(forgeRemoteID int64)) *MockClient_RepoPost_Call
func (*MockClient_RepoPost_Call) RunAndReturn ¶
func (_c *MockClient_RepoPost_Call) RunAndReturn(run func(int64) (*woodpecker.Repo, error)) *MockClient_RepoPost_Call
type MockClient_RepoRepair_Call ¶
MockClient_RepoRepair_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RepoRepair'
func (*MockClient_RepoRepair_Call) Return ¶
func (_c *MockClient_RepoRepair_Call) Return(_a0 error) *MockClient_RepoRepair_Call
func (*MockClient_RepoRepair_Call) Run ¶
func (_c *MockClient_RepoRepair_Call) Run(run func(repoID int64)) *MockClient_RepoRepair_Call
func (*MockClient_RepoRepair_Call) RunAndReturn ¶
func (_c *MockClient_RepoRepair_Call) RunAndReturn(run func(int64) error) *MockClient_RepoRepair_Call
type MockClient_Repo_Call ¶
MockClient_Repo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Repo'
func (*MockClient_Repo_Call) Return ¶
func (_c *MockClient_Repo_Call) Return(_a0 *woodpecker.Repo, _a1 error) *MockClient_Repo_Call
func (*MockClient_Repo_Call) Run ¶
func (_c *MockClient_Repo_Call) Run(run func(repoID int64)) *MockClient_Repo_Call
func (*MockClient_Repo_Call) RunAndReturn ¶
func (_c *MockClient_Repo_Call) RunAndReturn(run func(int64) (*woodpecker.Repo, error)) *MockClient_Repo_Call
type MockClient_SecretCreate_Call ¶
MockClient_SecretCreate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretCreate'
func (*MockClient_SecretCreate_Call) Return ¶
func (_c *MockClient_SecretCreate_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_SecretCreate_Call
func (*MockClient_SecretCreate_Call) Run ¶
func (_c *MockClient_SecretCreate_Call) Run(run func(repoID int64, secret *woodpecker.Secret)) *MockClient_SecretCreate_Call
func (*MockClient_SecretCreate_Call) RunAndReturn ¶
func (_c *MockClient_SecretCreate_Call) RunAndReturn(run func(int64, *woodpecker.Secret) (*woodpecker.Secret, error)) *MockClient_SecretCreate_Call
type MockClient_SecretDelete_Call ¶
MockClient_SecretDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretDelete'
func (*MockClient_SecretDelete_Call) Return ¶
func (_c *MockClient_SecretDelete_Call) Return(_a0 error) *MockClient_SecretDelete_Call
func (*MockClient_SecretDelete_Call) Run ¶
func (_c *MockClient_SecretDelete_Call) Run(run func(repoID int64, secret string)) *MockClient_SecretDelete_Call
func (*MockClient_SecretDelete_Call) RunAndReturn ¶
func (_c *MockClient_SecretDelete_Call) RunAndReturn(run func(int64, string) error) *MockClient_SecretDelete_Call
type MockClient_SecretList_Call ¶
MockClient_SecretList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretList'
func (*MockClient_SecretList_Call) Return ¶
func (_c *MockClient_SecretList_Call) Return(_a0 []*woodpecker.Secret, _a1 error) *MockClient_SecretList_Call
func (*MockClient_SecretList_Call) Run ¶
func (_c *MockClient_SecretList_Call) Run(run func(repoID int64)) *MockClient_SecretList_Call
func (*MockClient_SecretList_Call) RunAndReturn ¶
func (_c *MockClient_SecretList_Call) RunAndReturn(run func(int64) ([]*woodpecker.Secret, error)) *MockClient_SecretList_Call
type MockClient_SecretUpdate_Call ¶
MockClient_SecretUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SecretUpdate'
func (*MockClient_SecretUpdate_Call) Return ¶
func (_c *MockClient_SecretUpdate_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_SecretUpdate_Call
func (*MockClient_SecretUpdate_Call) Run ¶
func (_c *MockClient_SecretUpdate_Call) Run(run func(repoID int64, secret *woodpecker.Secret)) *MockClient_SecretUpdate_Call
func (*MockClient_SecretUpdate_Call) RunAndReturn ¶
func (_c *MockClient_SecretUpdate_Call) RunAndReturn(run func(int64, *woodpecker.Secret) (*woodpecker.Secret, error)) *MockClient_SecretUpdate_Call
type MockClient_Secret_Call ¶
MockClient_Secret_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Secret'
func (*MockClient_Secret_Call) Return ¶
func (_c *MockClient_Secret_Call) Return(_a0 *woodpecker.Secret, _a1 error) *MockClient_Secret_Call
func (*MockClient_Secret_Call) Run ¶
func (_c *MockClient_Secret_Call) Run(run func(repoID int64, secret string)) *MockClient_Secret_Call
func (*MockClient_Secret_Call) RunAndReturn ¶
func (_c *MockClient_Secret_Call) RunAndReturn(run func(int64, string) (*woodpecker.Secret, error)) *MockClient_Secret_Call
type MockClient_Self_Call ¶
MockClient_Self_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Self'
func (*MockClient_Self_Call) Return ¶
func (_c *MockClient_Self_Call) Return(_a0 *woodpecker.User, _a1 error) *MockClient_Self_Call
func (*MockClient_Self_Call) Run ¶
func (_c *MockClient_Self_Call) Run(run func()) *MockClient_Self_Call
func (*MockClient_Self_Call) RunAndReturn ¶
func (_c *MockClient_Self_Call) RunAndReturn(run func() (*woodpecker.User, error)) *MockClient_Self_Call
type MockClient_SetAddress_Call ¶
MockClient_SetAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetAddress'
func (*MockClient_SetAddress_Call) Return ¶
func (_c *MockClient_SetAddress_Call) Return() *MockClient_SetAddress_Call
func (*MockClient_SetAddress_Call) Run ¶
func (_c *MockClient_SetAddress_Call) Run(run func(_a0 string)) *MockClient_SetAddress_Call
func (*MockClient_SetAddress_Call) RunAndReturn ¶
func (_c *MockClient_SetAddress_Call) RunAndReturn(run func(string)) *MockClient_SetAddress_Call
type MockClient_SetClient_Call ¶
MockClient_SetClient_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetClient'
func (*MockClient_SetClient_Call) Return ¶
func (_c *MockClient_SetClient_Call) Return() *MockClient_SetClient_Call
func (*MockClient_SetClient_Call) Run ¶
func (_c *MockClient_SetClient_Call) Run(run func(_a0 *http.Client)) *MockClient_SetClient_Call
func (*MockClient_SetClient_Call) RunAndReturn ¶
func (_c *MockClient_SetClient_Call) RunAndReturn(run func(*http.Client)) *MockClient_SetClient_Call
type MockClient_SetLogLevel_Call ¶
MockClient_SetLogLevel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLogLevel'
func (*MockClient_SetLogLevel_Call) Return ¶
func (_c *MockClient_SetLogLevel_Call) Return(_a0 *woodpecker.LogLevel, _a1 error) *MockClient_SetLogLevel_Call
func (*MockClient_SetLogLevel_Call) Run ¶
func (_c *MockClient_SetLogLevel_Call) Run(run func(logLevel *woodpecker.LogLevel)) *MockClient_SetLogLevel_Call
func (*MockClient_SetLogLevel_Call) RunAndReturn ¶
func (_c *MockClient_SetLogLevel_Call) RunAndReturn(run func(*woodpecker.LogLevel) (*woodpecker.LogLevel, error)) *MockClient_SetLogLevel_Call
type MockClient_StepLogEntries_Call ¶
MockClient_StepLogEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StepLogEntries'
func (*MockClient_StepLogEntries_Call) Return ¶
func (_c *MockClient_StepLogEntries_Call) Return(_a0 []*woodpecker.LogEntry, _a1 error) *MockClient_StepLogEntries_Call
func (*MockClient_StepLogEntries_Call) Run ¶
func (_c *MockClient_StepLogEntries_Call) Run(run func(repoID int64, pipeline int64, stepID int64)) *MockClient_StepLogEntries_Call
func (*MockClient_StepLogEntries_Call) RunAndReturn ¶
func (_c *MockClient_StepLogEntries_Call) RunAndReturn(run func(int64, int64, int64) ([]*woodpecker.LogEntry, error)) *MockClient_StepLogEntries_Call
type MockClient_StepLogsPurge_Call ¶
MockClient_StepLogsPurge_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StepLogsPurge'
func (*MockClient_StepLogsPurge_Call) Return ¶
func (_c *MockClient_StepLogsPurge_Call) Return(_a0 error) *MockClient_StepLogsPurge_Call
func (*MockClient_StepLogsPurge_Call) Run ¶
func (_c *MockClient_StepLogsPurge_Call) Run(run func(repoID int64, pipelineNumber int64, stepID int64)) *MockClient_StepLogsPurge_Call
func (*MockClient_StepLogsPurge_Call) RunAndReturn ¶
func (_c *MockClient_StepLogsPurge_Call) RunAndReturn(run func(int64, int64, int64) error) *MockClient_StepLogsPurge_Call
type MockClient_UserDel_Call ¶
MockClient_UserDel_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UserDel'
func (*MockClient_UserDel_Call) Return ¶
func (_c *MockClient_UserDel_Call) Return(_a0 error) *MockClient_UserDel_Call
func (*MockClient_UserDel_Call) Run ¶
func (_c *MockClient_UserDel_Call) Run(run func(_a0 string)) *MockClient_UserDel_Call
func (*MockClient_UserDel_Call) RunAndReturn ¶
func (_c *MockClient_UserDel_Call) RunAndReturn(run func(string) error) *MockClient_UserDel_Call
type MockClient_UserList_Call ¶
MockClient_UserList_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UserList'
func (*MockClient_UserList_Call) Return ¶
func (_c *MockClient_UserList_Call) Return(_a0 []*woodpecker.User, _a1 error) *MockClient_UserList_Call
func (*MockClient_UserList_Call) Run ¶
func (_c *MockClient_UserList_Call) Run(run func()) *MockClient_UserList_Call
func (*MockClient_UserList_Call) RunAndReturn ¶
func (_c *MockClient_UserList_Call) RunAndReturn(run func() ([]*woodpecker.User, error)) *MockClient_UserList_Call
type MockClient_UserPatch_Call ¶
MockClient_UserPatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UserPatch'
func (*MockClient_UserPatch_Call) Return ¶
func (_c *MockClient_UserPatch_Call) Return(_a0 *woodpecker.User, _a1 error) *MockClient_UserPatch_Call
func (*MockClient_UserPatch_Call) Run ¶
func (_c *MockClient_UserPatch_Call) Run(run func(_a0 *woodpecker.User)) *MockClient_UserPatch_Call
func (*MockClient_UserPatch_Call) RunAndReturn ¶
func (_c *MockClient_UserPatch_Call) RunAndReturn(run func(*woodpecker.User) (*woodpecker.User, error)) *MockClient_UserPatch_Call
type MockClient_UserPost_Call ¶
MockClient_UserPost_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UserPost'
func (*MockClient_UserPost_Call) Return ¶
func (_c *MockClient_UserPost_Call) Return(_a0 *woodpecker.User, _a1 error) *MockClient_UserPost_Call
func (*MockClient_UserPost_Call) Run ¶
func (_c *MockClient_UserPost_Call) Run(run func(_a0 *woodpecker.User)) *MockClient_UserPost_Call
func (*MockClient_UserPost_Call) RunAndReturn ¶
func (_c *MockClient_UserPost_Call) RunAndReturn(run func(*woodpecker.User) (*woodpecker.User, error)) *MockClient_UserPost_Call
type MockClient_User_Call ¶
MockClient_User_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'User'
func (*MockClient_User_Call) Return ¶
func (_c *MockClient_User_Call) Return(_a0 *woodpecker.User, _a1 error) *MockClient_User_Call
func (*MockClient_User_Call) Run ¶
func (_c *MockClient_User_Call) Run(run func(_a0 string)) *MockClient_User_Call
func (*MockClient_User_Call) RunAndReturn ¶
func (_c *MockClient_User_Call) RunAndReturn(run func(string) (*woodpecker.User, error)) *MockClient_User_Call