Documentation
¶
Index ¶
- type MockClient
- func (_mock *MockClient) Agent(n int64) (*crow.Agent, error)
- func (_mock *MockClient) AgentCreate(agent *crow.Agent) (*crow.Agent, error)
- func (_mock *MockClient) AgentDelete(n int64) error
- func (_mock *MockClient) AgentList() ([]*crow.Agent, error)
- func (_mock *MockClient) AgentTasksList(n int64) ([]*crow.Task, error)
- func (_mock *MockClient) AgentUpdate(agent *crow.Agent) (*crow.Agent, error)
- func (_mock *MockClient) CronCreate(repoID int64, cron *crow.Cron) (*crow.Cron, error)
- func (_mock *MockClient) CronDelete(repoID int64, cronID int64) error
- func (_mock *MockClient) CronGet(repoID int64, cronID int64) (*crow.Cron, error)
- func (_mock *MockClient) CronList(repoID int64, opt crow.CronListOptions) ([]*crow.Cron, error)
- func (_mock *MockClient) CronUpdate(repoID int64, cron *crow.Cron) (*crow.Cron, error)
- func (_mock *MockClient) Deploy(repoID int64, pipeline int64, opt crow.DeployOptions) (*crow.Pipeline, error)
- func (_m *MockClient) EXPECT() *MockClient_Expecter
- func (_mock *MockClient) GlobalRegistry(registry string) (*crow.Registry, error)
- func (_mock *MockClient) GlobalRegistryCreate(registry *crow.Registry) (*crow.Registry, error)
- func (_mock *MockClient) GlobalRegistryDelete(registry string) error
- func (_mock *MockClient) GlobalRegistryList(opt crow.RegistryListOptions) ([]*crow.Registry, error)
- func (_mock *MockClient) GlobalRegistryUpdate(registry *crow.Registry) (*crow.Registry, error)
- func (_mock *MockClient) GlobalSecret(secret string) (*crow.Secret, error)
- func (_mock *MockClient) GlobalSecretCreate(secret *crow.Secret) (*crow.Secret, error)
- func (_mock *MockClient) GlobalSecretDelete(secret string) error
- func (_mock *MockClient) GlobalSecretList(opt crow.SecretListOptions) ([]*crow.Secret, error)
- func (_mock *MockClient) GlobalSecretUpdate(secret *crow.Secret) (*crow.Secret, error)
- func (_mock *MockClient) LogLevel() (*crow.LogLevel, error)
- func (_mock *MockClient) LogsPurge(repoID int64, pipeline int64) error
- func (_mock *MockClient) Org(orgID int64) (*crow.Org, error)
- func (_mock *MockClient) OrgLookup(orgName string) (*crow.Org, error)
- func (_mock *MockClient) OrgRegistry(orgID int64, registry string) (*crow.Registry, error)
- func (_mock *MockClient) OrgRegistryCreate(orgID int64, registry *crow.Registry) (*crow.Registry, error)
- func (_mock *MockClient) OrgRegistryDelete(orgID int64, registry string) error
- func (_mock *MockClient) OrgRegistryList(orgID int64, opt crow.RegistryListOptions) ([]*crow.Registry, error)
- func (_mock *MockClient) OrgRegistryUpdate(orgID int64, registry *crow.Registry) (*crow.Registry, error)
- func (_mock *MockClient) OrgSecret(orgID int64, secret string) (*crow.Secret, error)
- func (_mock *MockClient) OrgSecretCreate(orgID int64, secret *crow.Secret) (*crow.Secret, error)
- func (_mock *MockClient) OrgSecretDelete(orgID int64, secret string) error
- func (_mock *MockClient) OrgSecretList(orgID int64, opt crow.SecretListOptions) ([]*crow.Secret, error)
- func (_mock *MockClient) OrgSecretUpdate(orgID int64, secret *crow.Secret) (*crow.Secret, error)
- func (_mock *MockClient) Pipeline(repoID int64, pipeline int64) (*crow.Pipeline, error)
- func (_mock *MockClient) PipelineApprove(repoID int64, pipeline int64) (*crow.Pipeline, error)
- func (_mock *MockClient) PipelineCreate(repoID int64, opts *crow.PipelineOptions) (*crow.Pipeline, error)
- func (_mock *MockClient) PipelineDecline(repoID int64, pipeline int64) (*crow.Pipeline, error)
- func (_mock *MockClient) PipelineDelete(repoID int64, pipeline int64) error
- func (_mock *MockClient) PipelineLast(repoID int64, opt crow.PipelineLastOptions) (*crow.Pipeline, error)
- func (_mock *MockClient) PipelineList(repoID int64, opt crow.PipelineListOptions) ([]*crow.Pipeline, error)
- func (_mock *MockClient) PipelineMetadata(repoID int64, pipelineNumber int) ([]byte, error)
- func (_mock *MockClient) PipelineQueue() ([]*crow.Feed, error)
- func (_mock *MockClient) PipelineStart(repoID int64, num int64, opt crow.PipelineStartOptions) (*crow.Pipeline, error)
- func (_mock *MockClient) PipelineStop(repoID int64, pipeline int64) error
- func (_mock *MockClient) QueueInfo() (*crow.Info, error)
- func (_mock *MockClient) Registry(repoID int64, hostname string) (*crow.Registry, error)
- func (_mock *MockClient) RegistryCreate(repoID int64, registry *crow.Registry) (*crow.Registry, error)
- func (_mock *MockClient) RegistryDelete(repoID int64, hostname string) error
- func (_mock *MockClient) RegistryList(repoID int64, opt crow.RegistryListOptions) ([]*crow.Registry, error)
- func (_mock *MockClient) RegistryUpdate(repoID int64, registry *crow.Registry) (*crow.Registry, error)
- func (_mock *MockClient) Repo(repoID int64) (*crow.Repo, error)
- func (_mock *MockClient) RepoChown(repoID int64) (*crow.Repo, error)
- func (_mock *MockClient) RepoDel(repoID int64) error
- func (_mock *MockClient) RepoList(opt crow.RepoListOptions) ([]*crow.Repo, error)
- func (_mock *MockClient) RepoLookup(repoFullName string) (*crow.Repo, error)
- func (_mock *MockClient) RepoMove(repoID int64, opt crow.RepoMoveOptions) error
- func (_mock *MockClient) RepoPatch(repoID int64, repo *crow.RepoPatch) (*crow.Repo, error)
- func (_mock *MockClient) RepoPost(opt crow.RepoPostOptions) (*crow.Repo, error)
- func (_mock *MockClient) RepoRepair(repoID int64) error
- func (_mock *MockClient) Secret(repoID int64, secret string) (*crow.Secret, error)
- func (_mock *MockClient) SecretCreate(repoID int64, secret *crow.Secret) (*crow.Secret, error)
- func (_mock *MockClient) SecretDelete(repoID int64, secret string) error
- func (_mock *MockClient) SecretList(repoID int64, opt crow.SecretListOptions) ([]*crow.Secret, error)
- func (_mock *MockClient) SecretUpdate(repoID int64, secret *crow.Secret) (*crow.Secret, error)
- func (_mock *MockClient) Self() (*crow.User, error)
- func (_mock *MockClient) SetAddress(s string)
- func (_mock *MockClient) SetClient(client *http.Client)
- func (_mock *MockClient) SetLogLevel(logLevel *crow.LogLevel) (*crow.LogLevel, error)
- func (_mock *MockClient) StepLogEntries(repoID int64, pipeline int64, stepID int64) ([]*crow.LogEntry, error)
- func (_mock *MockClient) StepLogsPurge(repoID int64, pipelineNumber int64, stepID int64) error
- func (_mock *MockClient) User(s string) (*crow.User, error)
- func (_mock *MockClient) UserDel(s string) error
- func (_mock *MockClient) UserList(opt crow.UserListOptions) ([]*crow.User, error)
- func (_mock *MockClient) UserPatch(user *crow.User) (*crow.User, error)
- func (_mock *MockClient) UserPost(user *crow.User) (*crow.User, error)
- type MockClient_AgentCreate_Call
- func (_c *MockClient_AgentCreate_Call) Return(agent1 *crow.Agent, err error) *MockClient_AgentCreate_Call
- func (_c *MockClient_AgentCreate_Call) Run(run func(agent *crow.Agent)) *MockClient_AgentCreate_Call
- func (_c *MockClient_AgentCreate_Call) RunAndReturn(run func(agent *crow.Agent) (*crow.Agent, error)) *MockClient_AgentCreate_Call
- type MockClient_AgentDelete_Call
- type MockClient_AgentList_Call
- type MockClient_AgentTasksList_Call
- func (_c *MockClient_AgentTasksList_Call) Return(tasks []*crow.Task, err error) *MockClient_AgentTasksList_Call
- func (_c *MockClient_AgentTasksList_Call) Run(run func(n int64)) *MockClient_AgentTasksList_Call
- func (_c *MockClient_AgentTasksList_Call) RunAndReturn(run func(n int64) ([]*crow.Task, error)) *MockClient_AgentTasksList_Call
- type MockClient_AgentUpdate_Call
- func (_c *MockClient_AgentUpdate_Call) Return(agent1 *crow.Agent, err error) *MockClient_AgentUpdate_Call
- func (_c *MockClient_AgentUpdate_Call) Run(run func(agent *crow.Agent)) *MockClient_AgentUpdate_Call
- func (_c *MockClient_AgentUpdate_Call) RunAndReturn(run func(agent *crow.Agent) (*crow.Agent, error)) *MockClient_AgentUpdate_Call
- type MockClient_Agent_Call
- type MockClient_CronCreate_Call
- func (_c *MockClient_CronCreate_Call) Return(cron1 *crow.Cron, err error) *MockClient_CronCreate_Call
- func (_c *MockClient_CronCreate_Call) Run(run func(repoID int64, cron *crow.Cron)) *MockClient_CronCreate_Call
- func (_c *MockClient_CronCreate_Call) RunAndReturn(run func(repoID int64, cron *crow.Cron) (*crow.Cron, error)) *MockClient_CronCreate_Call
- type MockClient_CronDelete_Call
- func (_c *MockClient_CronDelete_Call) Return(err 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(repoID int64, cronID int64) error) *MockClient_CronDelete_Call
- type MockClient_CronGet_Call
- func (_c *MockClient_CronGet_Call) Return(cron *crow.Cron, err 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(repoID int64, cronID int64) (*crow.Cron, error)) *MockClient_CronGet_Call
- type MockClient_CronList_Call
- func (_c *MockClient_CronList_Call) Return(crons []*crow.Cron, err error) *MockClient_CronList_Call
- func (_c *MockClient_CronList_Call) Run(run func(repoID int64, opt crow.CronListOptions)) *MockClient_CronList_Call
- func (_c *MockClient_CronList_Call) RunAndReturn(run func(repoID int64, opt crow.CronListOptions) ([]*crow.Cron, error)) *MockClient_CronList_Call
- type MockClient_CronUpdate_Call
- func (_c *MockClient_CronUpdate_Call) Return(cron1 *crow.Cron, err error) *MockClient_CronUpdate_Call
- func (_c *MockClient_CronUpdate_Call) Run(run func(repoID int64, cron *crow.Cron)) *MockClient_CronUpdate_Call
- func (_c *MockClient_CronUpdate_Call) RunAndReturn(run func(repoID int64, cron *crow.Cron) (*crow.Cron, error)) *MockClient_CronUpdate_Call
- type MockClient_Deploy_Call
- func (_c *MockClient_Deploy_Call) Return(pipeline1 *crow.Pipeline, err error) *MockClient_Deploy_Call
- func (_c *MockClient_Deploy_Call) Run(run func(repoID int64, pipeline int64, opt crow.DeployOptions)) *MockClient_Deploy_Call
- func (_c *MockClient_Deploy_Call) RunAndReturn(...) *MockClient_Deploy_Call
- type MockClient_Expecter
- func (_e *MockClient_Expecter) Agent(n interface{}) *MockClient_Agent_Call
- func (_e *MockClient_Expecter) AgentCreate(agent interface{}) *MockClient_AgentCreate_Call
- func (_e *MockClient_Expecter) AgentDelete(n interface{}) *MockClient_AgentDelete_Call
- func (_e *MockClient_Expecter) AgentList() *MockClient_AgentList_Call
- func (_e *MockClient_Expecter) AgentTasksList(n interface{}) *MockClient_AgentTasksList_Call
- func (_e *MockClient_Expecter) AgentUpdate(agent 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{}, opt 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{}, opt 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(opt interface{}) *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(opt interface{}) *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{}, opt 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{}, opt 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) PipelineDelete(repoID interface{}, pipeline interface{}) *MockClient_PipelineDelete_Call
- func (_e *MockClient_Expecter) PipelineLast(repoID interface{}, opt interface{}) *MockClient_PipelineLast_Call
- func (_e *MockClient_Expecter) PipelineList(repoID interface{}, opt interface{}) *MockClient_PipelineList_Call
- func (_e *MockClient_Expecter) PipelineMetadata(repoID interface{}, pipelineNumber interface{}) *MockClient_PipelineMetadata_Call
- func (_e *MockClient_Expecter) PipelineQueue() *MockClient_PipelineQueue_Call
- func (_e *MockClient_Expecter) PipelineStart(repoID interface{}, num interface{}, opt 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{}, opt 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(opt interface{}) *MockClient_RepoList_Call
- func (_e *MockClient_Expecter) RepoLookup(repoFullName interface{}) *MockClient_RepoLookup_Call
- func (_e *MockClient_Expecter) RepoMove(repoID interface{}, opt interface{}) *MockClient_RepoMove_Call
- func (_e *MockClient_Expecter) RepoPatch(repoID interface{}, repo interface{}) *MockClient_RepoPatch_Call
- func (_e *MockClient_Expecter) RepoPost(opt 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{}, opt 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(s interface{}) *MockClient_SetAddress_Call
- func (_e *MockClient_Expecter) SetClient(client 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(s interface{}) *MockClient_User_Call
- func (_e *MockClient_Expecter) UserDel(s interface{}) *MockClient_UserDel_Call
- func (_e *MockClient_Expecter) UserList(opt interface{}) *MockClient_UserList_Call
- func (_e *MockClient_Expecter) UserPatch(user interface{}) *MockClient_UserPatch_Call
- func (_e *MockClient_Expecter) UserPost(user interface{}) *MockClient_UserPost_Call
- type MockClient_GlobalRegistryCreate_Call
- func (_c *MockClient_GlobalRegistryCreate_Call) Return(registry1 *crow.Registry, err error) *MockClient_GlobalRegistryCreate_Call
- func (_c *MockClient_GlobalRegistryCreate_Call) Run(run func(registry *crow.Registry)) *MockClient_GlobalRegistryCreate_Call
- func (_c *MockClient_GlobalRegistryCreate_Call) RunAndReturn(run func(registry *crow.Registry) (*crow.Registry, error)) *MockClient_GlobalRegistryCreate_Call
- type MockClient_GlobalRegistryDelete_Call
- func (_c *MockClient_GlobalRegistryDelete_Call) Return(err 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(registry string) error) *MockClient_GlobalRegistryDelete_Call
- type MockClient_GlobalRegistryList_Call
- func (_c *MockClient_GlobalRegistryList_Call) Return(registrys []*crow.Registry, err error) *MockClient_GlobalRegistryList_Call
- func (_c *MockClient_GlobalRegistryList_Call) Run(run func(opt crow.RegistryListOptions)) *MockClient_GlobalRegistryList_Call
- func (_c *MockClient_GlobalRegistryList_Call) RunAndReturn(run func(opt crow.RegistryListOptions) ([]*crow.Registry, error)) *MockClient_GlobalRegistryList_Call
- type MockClient_GlobalRegistryUpdate_Call
- func (_c *MockClient_GlobalRegistryUpdate_Call) Return(registry1 *crow.Registry, err error) *MockClient_GlobalRegistryUpdate_Call
- func (_c *MockClient_GlobalRegistryUpdate_Call) Run(run func(registry *crow.Registry)) *MockClient_GlobalRegistryUpdate_Call
- func (_c *MockClient_GlobalRegistryUpdate_Call) RunAndReturn(run func(registry *crow.Registry) (*crow.Registry, error)) *MockClient_GlobalRegistryUpdate_Call
- type MockClient_GlobalRegistry_Call
- func (_c *MockClient_GlobalRegistry_Call) Return(registry1 *crow.Registry, err 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(registry string) (*crow.Registry, error)) *MockClient_GlobalRegistry_Call
- type MockClient_GlobalSecretCreate_Call
- func (_c *MockClient_GlobalSecretCreate_Call) Return(secret1 *crow.Secret, err error) *MockClient_GlobalSecretCreate_Call
- func (_c *MockClient_GlobalSecretCreate_Call) Run(run func(secret *crow.Secret)) *MockClient_GlobalSecretCreate_Call
- func (_c *MockClient_GlobalSecretCreate_Call) RunAndReturn(run func(secret *crow.Secret) (*crow.Secret, error)) *MockClient_GlobalSecretCreate_Call
- type MockClient_GlobalSecretDelete_Call
- func (_c *MockClient_GlobalSecretDelete_Call) Return(err 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(secret string) error) *MockClient_GlobalSecretDelete_Call
- type MockClient_GlobalSecretList_Call
- func (_c *MockClient_GlobalSecretList_Call) Return(secrets []*crow.Secret, err error) *MockClient_GlobalSecretList_Call
- func (_c *MockClient_GlobalSecretList_Call) Run(run func(opt crow.SecretListOptions)) *MockClient_GlobalSecretList_Call
- func (_c *MockClient_GlobalSecretList_Call) RunAndReturn(run func(opt crow.SecretListOptions) ([]*crow.Secret, error)) *MockClient_GlobalSecretList_Call
- type MockClient_GlobalSecretUpdate_Call
- func (_c *MockClient_GlobalSecretUpdate_Call) Return(secret1 *crow.Secret, err error) *MockClient_GlobalSecretUpdate_Call
- func (_c *MockClient_GlobalSecretUpdate_Call) Run(run func(secret *crow.Secret)) *MockClient_GlobalSecretUpdate_Call
- func (_c *MockClient_GlobalSecretUpdate_Call) RunAndReturn(run func(secret *crow.Secret) (*crow.Secret, error)) *MockClient_GlobalSecretUpdate_Call
- type MockClient_GlobalSecret_Call
- func (_c *MockClient_GlobalSecret_Call) Return(secret1 *crow.Secret, err 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(secret string) (*crow.Secret, error)) *MockClient_GlobalSecret_Call
- type MockClient_LogLevel_Call
- type MockClient_LogsPurge_Call
- func (_c *MockClient_LogsPurge_Call) Return(err error) *MockClient_LogsPurge_Call
- func (_c *MockClient_LogsPurge_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_LogsPurge_Call
- func (_c *MockClient_LogsPurge_Call) RunAndReturn(run func(repoID int64, pipeline int64) error) *MockClient_LogsPurge_Call
- type MockClient_OrgLookup_Call
- func (_c *MockClient_OrgLookup_Call) Return(org *crow.Org, err 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(orgName string) (*crow.Org, error)) *MockClient_OrgLookup_Call
- type MockClient_OrgRegistryCreate_Call
- func (_c *MockClient_OrgRegistryCreate_Call) Return(registry1 *crow.Registry, err error) *MockClient_OrgRegistryCreate_Call
- func (_c *MockClient_OrgRegistryCreate_Call) Run(run func(orgID int64, registry *crow.Registry)) *MockClient_OrgRegistryCreate_Call
- func (_c *MockClient_OrgRegistryCreate_Call) RunAndReturn(run func(orgID int64, registry *crow.Registry) (*crow.Registry, error)) *MockClient_OrgRegistryCreate_Call
- type MockClient_OrgRegistryDelete_Call
- func (_c *MockClient_OrgRegistryDelete_Call) Return(err 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(orgID int64, registry string) error) *MockClient_OrgRegistryDelete_Call
- type MockClient_OrgRegistryList_Call
- func (_c *MockClient_OrgRegistryList_Call) Return(registrys []*crow.Registry, err error) *MockClient_OrgRegistryList_Call
- func (_c *MockClient_OrgRegistryList_Call) Run(run func(orgID int64, opt crow.RegistryListOptions)) *MockClient_OrgRegistryList_Call
- func (_c *MockClient_OrgRegistryList_Call) RunAndReturn(run func(orgID int64, opt crow.RegistryListOptions) ([]*crow.Registry, error)) *MockClient_OrgRegistryList_Call
- type MockClient_OrgRegistryUpdate_Call
- func (_c *MockClient_OrgRegistryUpdate_Call) Return(registry1 *crow.Registry, err error) *MockClient_OrgRegistryUpdate_Call
- func (_c *MockClient_OrgRegistryUpdate_Call) Run(run func(orgID int64, registry *crow.Registry)) *MockClient_OrgRegistryUpdate_Call
- func (_c *MockClient_OrgRegistryUpdate_Call) RunAndReturn(run func(orgID int64, registry *crow.Registry) (*crow.Registry, error)) *MockClient_OrgRegistryUpdate_Call
- type MockClient_OrgRegistry_Call
- func (_c *MockClient_OrgRegistry_Call) Return(registry1 *crow.Registry, err 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(orgID int64, registry string) (*crow.Registry, error)) *MockClient_OrgRegistry_Call
- type MockClient_OrgSecretCreate_Call
- func (_c *MockClient_OrgSecretCreate_Call) Return(secret1 *crow.Secret, err error) *MockClient_OrgSecretCreate_Call
- func (_c *MockClient_OrgSecretCreate_Call) Run(run func(orgID int64, secret *crow.Secret)) *MockClient_OrgSecretCreate_Call
- func (_c *MockClient_OrgSecretCreate_Call) RunAndReturn(run func(orgID int64, secret *crow.Secret) (*crow.Secret, error)) *MockClient_OrgSecretCreate_Call
- type MockClient_OrgSecretDelete_Call
- func (_c *MockClient_OrgSecretDelete_Call) Return(err 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(orgID int64, secret string) error) *MockClient_OrgSecretDelete_Call
- type MockClient_OrgSecretList_Call
- func (_c *MockClient_OrgSecretList_Call) Return(secrets []*crow.Secret, err error) *MockClient_OrgSecretList_Call
- func (_c *MockClient_OrgSecretList_Call) Run(run func(orgID int64, opt crow.SecretListOptions)) *MockClient_OrgSecretList_Call
- func (_c *MockClient_OrgSecretList_Call) RunAndReturn(run func(orgID int64, opt crow.SecretListOptions) ([]*crow.Secret, error)) *MockClient_OrgSecretList_Call
- type MockClient_OrgSecretUpdate_Call
- func (_c *MockClient_OrgSecretUpdate_Call) Return(secret1 *crow.Secret, err error) *MockClient_OrgSecretUpdate_Call
- func (_c *MockClient_OrgSecretUpdate_Call) Run(run func(orgID int64, secret *crow.Secret)) *MockClient_OrgSecretUpdate_Call
- func (_c *MockClient_OrgSecretUpdate_Call) RunAndReturn(run func(orgID int64, secret *crow.Secret) (*crow.Secret, error)) *MockClient_OrgSecretUpdate_Call
- type MockClient_OrgSecret_Call
- func (_c *MockClient_OrgSecret_Call) Return(secret1 *crow.Secret, err 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(orgID int64, secret string) (*crow.Secret, error)) *MockClient_OrgSecret_Call
- type MockClient_Org_Call
- type MockClient_PipelineApprove_Call
- func (_c *MockClient_PipelineApprove_Call) Return(pipeline1 *crow.Pipeline, err 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(repoID int64, pipeline int64) (*crow.Pipeline, error)) *MockClient_PipelineApprove_Call
- type MockClient_PipelineCreate_Call
- func (_c *MockClient_PipelineCreate_Call) Return(pipeline *crow.Pipeline, err error) *MockClient_PipelineCreate_Call
- func (_c *MockClient_PipelineCreate_Call) Run(run func(repoID int64, opts *crow.PipelineOptions)) *MockClient_PipelineCreate_Call
- func (_c *MockClient_PipelineCreate_Call) RunAndReturn(run func(repoID int64, opts *crow.PipelineOptions) (*crow.Pipeline, error)) *MockClient_PipelineCreate_Call
- type MockClient_PipelineDecline_Call
- func (_c *MockClient_PipelineDecline_Call) Return(pipeline1 *crow.Pipeline, err 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(repoID int64, pipeline int64) (*crow.Pipeline, error)) *MockClient_PipelineDecline_Call
- type MockClient_PipelineDelete_Call
- func (_c *MockClient_PipelineDelete_Call) Return(err error) *MockClient_PipelineDelete_Call
- func (_c *MockClient_PipelineDelete_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_PipelineDelete_Call
- func (_c *MockClient_PipelineDelete_Call) RunAndReturn(run func(repoID int64, pipeline int64) error) *MockClient_PipelineDelete_Call
- type MockClient_PipelineLast_Call
- func (_c *MockClient_PipelineLast_Call) Return(pipeline *crow.Pipeline, err error) *MockClient_PipelineLast_Call
- func (_c *MockClient_PipelineLast_Call) Run(run func(repoID int64, opt crow.PipelineLastOptions)) *MockClient_PipelineLast_Call
- func (_c *MockClient_PipelineLast_Call) RunAndReturn(run func(repoID int64, opt crow.PipelineLastOptions) (*crow.Pipeline, error)) *MockClient_PipelineLast_Call
- type MockClient_PipelineList_Call
- func (_c *MockClient_PipelineList_Call) Return(pipelines []*crow.Pipeline, err error) *MockClient_PipelineList_Call
- func (_c *MockClient_PipelineList_Call) Run(run func(repoID int64, opt crow.PipelineListOptions)) *MockClient_PipelineList_Call
- func (_c *MockClient_PipelineList_Call) RunAndReturn(run func(repoID int64, opt crow.PipelineListOptions) ([]*crow.Pipeline, error)) *MockClient_PipelineList_Call
- type MockClient_PipelineMetadata_Call
- func (_c *MockClient_PipelineMetadata_Call) Return(bytes []byte, err error) *MockClient_PipelineMetadata_Call
- func (_c *MockClient_PipelineMetadata_Call) Run(run func(repoID int64, pipelineNumber int)) *MockClient_PipelineMetadata_Call
- func (_c *MockClient_PipelineMetadata_Call) RunAndReturn(run func(repoID int64, pipelineNumber int) ([]byte, error)) *MockClient_PipelineMetadata_Call
- type MockClient_PipelineQueue_Call
- func (_c *MockClient_PipelineQueue_Call) Return(feeds []*crow.Feed, err error) *MockClient_PipelineQueue_Call
- func (_c *MockClient_PipelineQueue_Call) Run(run func()) *MockClient_PipelineQueue_Call
- func (_c *MockClient_PipelineQueue_Call) RunAndReturn(run func() ([]*crow.Feed, error)) *MockClient_PipelineQueue_Call
- type MockClient_PipelineStart_Call
- func (_c *MockClient_PipelineStart_Call) Return(pipeline *crow.Pipeline, err error) *MockClient_PipelineStart_Call
- func (_c *MockClient_PipelineStart_Call) Run(run func(repoID int64, num int64, opt crow.PipelineStartOptions)) *MockClient_PipelineStart_Call
- func (_c *MockClient_PipelineStart_Call) RunAndReturn(...) *MockClient_PipelineStart_Call
- type MockClient_PipelineStop_Call
- func (_c *MockClient_PipelineStop_Call) Return(err 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(repoID int64, pipeline int64) error) *MockClient_PipelineStop_Call
- type MockClient_Pipeline_Call
- func (_c *MockClient_Pipeline_Call) Return(pipeline1 *crow.Pipeline, err 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(repoID int64, pipeline int64) (*crow.Pipeline, error)) *MockClient_Pipeline_Call
- type MockClient_QueueInfo_Call
- type MockClient_RegistryCreate_Call
- func (_c *MockClient_RegistryCreate_Call) Return(registry1 *crow.Registry, err error) *MockClient_RegistryCreate_Call
- func (_c *MockClient_RegistryCreate_Call) Run(run func(repoID int64, registry *crow.Registry)) *MockClient_RegistryCreate_Call
- func (_c *MockClient_RegistryCreate_Call) RunAndReturn(run func(repoID int64, registry *crow.Registry) (*crow.Registry, error)) *MockClient_RegistryCreate_Call
- type MockClient_RegistryDelete_Call
- func (_c *MockClient_RegistryDelete_Call) Return(err 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(repoID int64, hostname string) error) *MockClient_RegistryDelete_Call
- type MockClient_RegistryList_Call
- func (_c *MockClient_RegistryList_Call) Return(registrys []*crow.Registry, err error) *MockClient_RegistryList_Call
- func (_c *MockClient_RegistryList_Call) Run(run func(repoID int64, opt crow.RegistryListOptions)) *MockClient_RegistryList_Call
- func (_c *MockClient_RegistryList_Call) RunAndReturn(run func(repoID int64, opt crow.RegistryListOptions) ([]*crow.Registry, error)) *MockClient_RegistryList_Call
- type MockClient_RegistryUpdate_Call
- func (_c *MockClient_RegistryUpdate_Call) Return(registry1 *crow.Registry, err error) *MockClient_RegistryUpdate_Call
- func (_c *MockClient_RegistryUpdate_Call) Run(run func(repoID int64, registry *crow.Registry)) *MockClient_RegistryUpdate_Call
- func (_c *MockClient_RegistryUpdate_Call) RunAndReturn(run func(repoID int64, registry *crow.Registry) (*crow.Registry, error)) *MockClient_RegistryUpdate_Call
- type MockClient_Registry_Call
- func (_c *MockClient_Registry_Call) Return(registry *crow.Registry, err 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(repoID int64, hostname string) (*crow.Registry, error)) *MockClient_Registry_Call
- type MockClient_RepoChown_Call
- func (_c *MockClient_RepoChown_Call) Return(repo *crow.Repo, err 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(repoID int64) (*crow.Repo, error)) *MockClient_RepoChown_Call
- type MockClient_RepoDel_Call
- type MockClient_RepoList_Call
- func (_c *MockClient_RepoList_Call) Return(repos []*crow.Repo, err error) *MockClient_RepoList_Call
- func (_c *MockClient_RepoList_Call) Run(run func(opt crow.RepoListOptions)) *MockClient_RepoList_Call
- func (_c *MockClient_RepoList_Call) RunAndReturn(run func(opt crow.RepoListOptions) ([]*crow.Repo, error)) *MockClient_RepoList_Call
- type MockClient_RepoLookup_Call
- func (_c *MockClient_RepoLookup_Call) Return(repo *crow.Repo, err 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(repoFullName string) (*crow.Repo, error)) *MockClient_RepoLookup_Call
- type MockClient_RepoMove_Call
- func (_c *MockClient_RepoMove_Call) Return(err error) *MockClient_RepoMove_Call
- func (_c *MockClient_RepoMove_Call) Run(run func(repoID int64, opt crow.RepoMoveOptions)) *MockClient_RepoMove_Call
- func (_c *MockClient_RepoMove_Call) RunAndReturn(run func(repoID int64, opt crow.RepoMoveOptions) error) *MockClient_RepoMove_Call
- type MockClient_RepoPatch_Call
- func (_c *MockClient_RepoPatch_Call) Return(repo1 *crow.Repo, err error) *MockClient_RepoPatch_Call
- func (_c *MockClient_RepoPatch_Call) Run(run func(repoID int64, repo *crow.RepoPatch)) *MockClient_RepoPatch_Call
- func (_c *MockClient_RepoPatch_Call) RunAndReturn(run func(repoID int64, repo *crow.RepoPatch) (*crow.Repo, error)) *MockClient_RepoPatch_Call
- type MockClient_RepoPost_Call
- func (_c *MockClient_RepoPost_Call) Return(repo *crow.Repo, err error) *MockClient_RepoPost_Call
- func (_c *MockClient_RepoPost_Call) Run(run func(opt crow.RepoPostOptions)) *MockClient_RepoPost_Call
- func (_c *MockClient_RepoPost_Call) RunAndReturn(run func(opt crow.RepoPostOptions) (*crow.Repo, error)) *MockClient_RepoPost_Call
- type MockClient_RepoRepair_Call
- type MockClient_Repo_Call
- type MockClient_SecretCreate_Call
- func (_c *MockClient_SecretCreate_Call) Return(secret1 *crow.Secret, err error) *MockClient_SecretCreate_Call
- func (_c *MockClient_SecretCreate_Call) Run(run func(repoID int64, secret *crow.Secret)) *MockClient_SecretCreate_Call
- func (_c *MockClient_SecretCreate_Call) RunAndReturn(run func(repoID int64, secret *crow.Secret) (*crow.Secret, error)) *MockClient_SecretCreate_Call
- type MockClient_SecretDelete_Call
- func (_c *MockClient_SecretDelete_Call) Return(err 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(repoID int64, secret string) error) *MockClient_SecretDelete_Call
- type MockClient_SecretList_Call
- func (_c *MockClient_SecretList_Call) Return(secrets []*crow.Secret, err error) *MockClient_SecretList_Call
- func (_c *MockClient_SecretList_Call) Run(run func(repoID int64, opt crow.SecretListOptions)) *MockClient_SecretList_Call
- func (_c *MockClient_SecretList_Call) RunAndReturn(run func(repoID int64, opt crow.SecretListOptions) ([]*crow.Secret, error)) *MockClient_SecretList_Call
- type MockClient_SecretUpdate_Call
- func (_c *MockClient_SecretUpdate_Call) Return(secret1 *crow.Secret, err error) *MockClient_SecretUpdate_Call
- func (_c *MockClient_SecretUpdate_Call) Run(run func(repoID int64, secret *crow.Secret)) *MockClient_SecretUpdate_Call
- func (_c *MockClient_SecretUpdate_Call) RunAndReturn(run func(repoID int64, secret *crow.Secret) (*crow.Secret, error)) *MockClient_SecretUpdate_Call
- type MockClient_Secret_Call
- func (_c *MockClient_Secret_Call) Return(secret1 *crow.Secret, err 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(repoID int64, secret string) (*crow.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(logLevel1 *crow.LogLevel, err error) *MockClient_SetLogLevel_Call
- func (_c *MockClient_SetLogLevel_Call) Run(run func(logLevel *crow.LogLevel)) *MockClient_SetLogLevel_Call
- func (_c *MockClient_SetLogLevel_Call) RunAndReturn(run func(logLevel *crow.LogLevel) (*crow.LogLevel, error)) *MockClient_SetLogLevel_Call
- type MockClient_StepLogEntries_Call
- func (_c *MockClient_StepLogEntries_Call) Return(logEntrys []*crow.LogEntry, err 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(repoID int64, pipeline int64, stepID int64) ([]*crow.LogEntry, error)) *MockClient_StepLogEntries_Call
- type MockClient_StepLogsPurge_Call
- func (_c *MockClient_StepLogsPurge_Call) Return(err 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(repoID int64, pipelineNumber int64, stepID int64) error) *MockClient_StepLogsPurge_Call
- type MockClient_UserDel_Call
- type MockClient_UserList_Call
- func (_c *MockClient_UserList_Call) Return(users []*crow.User, err error) *MockClient_UserList_Call
- func (_c *MockClient_UserList_Call) Run(run func(opt crow.UserListOptions)) *MockClient_UserList_Call
- func (_c *MockClient_UserList_Call) RunAndReturn(run func(opt crow.UserListOptions) ([]*crow.User, error)) *MockClient_UserList_Call
- type MockClient_UserPatch_Call
- func (_c *MockClient_UserPatch_Call) Return(user1 *crow.User, err error) *MockClient_UserPatch_Call
- func (_c *MockClient_UserPatch_Call) Run(run func(user *crow.User)) *MockClient_UserPatch_Call
- func (_c *MockClient_UserPatch_Call) RunAndReturn(run func(user *crow.User) (*crow.User, error)) *MockClient_UserPatch_Call
- type MockClient_UserPost_Call
- func (_c *MockClient_UserPost_Call) Return(user1 *crow.User, err error) *MockClient_UserPost_Call
- func (_c *MockClient_UserPost_Call) Run(run func(user *crow.User)) *MockClient_UserPost_Call
- func (_c *MockClient_UserPost_Call) RunAndReturn(run func(user *crow.User) (*crow.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 (_mock *MockClient) Agent(n int64) (*crow.Agent, error)
Agent provides a mock function for the type MockClient
func (*MockClient) AgentCreate ¶
AgentCreate provides a mock function for the type MockClient
func (*MockClient) AgentDelete ¶
func (_mock *MockClient) AgentDelete(n int64) error
AgentDelete provides a mock function for the type MockClient
func (*MockClient) AgentList ¶
func (_mock *MockClient) AgentList() ([]*crow.Agent, error)
AgentList provides a mock function for the type MockClient
func (*MockClient) AgentTasksList ¶
func (_mock *MockClient) AgentTasksList(n int64) ([]*crow.Task, error)
AgentTasksList provides a mock function for the type MockClient
func (*MockClient) AgentUpdate ¶
AgentUpdate provides a mock function for the type MockClient
func (*MockClient) CronCreate ¶
CronCreate provides a mock function for the type MockClient
func (*MockClient) CronDelete ¶
func (_mock *MockClient) CronDelete(repoID int64, cronID int64) error
CronDelete provides a mock function for the type MockClient
func (*MockClient) CronList ¶
func (_mock *MockClient) CronList(repoID int64, opt crow.CronListOptions) ([]*crow.Cron, error)
CronList provides a mock function for the type MockClient
func (*MockClient) CronUpdate ¶
CronUpdate provides a mock function for the type MockClient
func (*MockClient) Deploy ¶
func (_mock *MockClient) Deploy(repoID int64, pipeline int64, opt crow.DeployOptions) (*crow.Pipeline, error)
Deploy provides a mock function for the type MockClient
func (*MockClient) EXPECT ¶
func (_m *MockClient) EXPECT() *MockClient_Expecter
func (*MockClient) GlobalRegistry ¶
func (_mock *MockClient) GlobalRegistry(registry string) (*crow.Registry, error)
GlobalRegistry provides a mock function for the type MockClient
func (*MockClient) GlobalRegistryCreate ¶
GlobalRegistryCreate provides a mock function for the type MockClient
func (*MockClient) GlobalRegistryDelete ¶
func (_mock *MockClient) GlobalRegistryDelete(registry string) error
GlobalRegistryDelete provides a mock function for the type MockClient
func (*MockClient) GlobalRegistryList ¶
func (_mock *MockClient) GlobalRegistryList(opt crow.RegistryListOptions) ([]*crow.Registry, error)
GlobalRegistryList provides a mock function for the type MockClient
func (*MockClient) GlobalRegistryUpdate ¶
GlobalRegistryUpdate provides a mock function for the type MockClient
func (*MockClient) GlobalSecret ¶
func (_mock *MockClient) GlobalSecret(secret string) (*crow.Secret, error)
GlobalSecret provides a mock function for the type MockClient
func (*MockClient) GlobalSecretCreate ¶
GlobalSecretCreate provides a mock function for the type MockClient
func (*MockClient) GlobalSecretDelete ¶
func (_mock *MockClient) GlobalSecretDelete(secret string) error
GlobalSecretDelete provides a mock function for the type MockClient
func (*MockClient) GlobalSecretList ¶
func (_mock *MockClient) GlobalSecretList(opt crow.SecretListOptions) ([]*crow.Secret, error)
GlobalSecretList provides a mock function for the type MockClient
func (*MockClient) GlobalSecretUpdate ¶
GlobalSecretUpdate provides a mock function for the type MockClient
func (*MockClient) LogLevel ¶
func (_mock *MockClient) LogLevel() (*crow.LogLevel, error)
LogLevel provides a mock function for the type MockClient
func (*MockClient) LogsPurge ¶
func (_mock *MockClient) LogsPurge(repoID int64, pipeline int64) error
LogsPurge provides a mock function for the type MockClient
func (*MockClient) Org ¶
func (_mock *MockClient) Org(orgID int64) (*crow.Org, error)
Org provides a mock function for the type MockClient
func (*MockClient) OrgLookup ¶
func (_mock *MockClient) OrgLookup(orgName string) (*crow.Org, error)
OrgLookup provides a mock function for the type MockClient
func (*MockClient) OrgRegistry ¶
OrgRegistry provides a mock function for the type MockClient
func (*MockClient) OrgRegistryCreate ¶
func (_mock *MockClient) OrgRegistryCreate(orgID int64, registry *crow.Registry) (*crow.Registry, error)
OrgRegistryCreate provides a mock function for the type MockClient
func (*MockClient) OrgRegistryDelete ¶
func (_mock *MockClient) OrgRegistryDelete(orgID int64, registry string) error
OrgRegistryDelete provides a mock function for the type MockClient
func (*MockClient) OrgRegistryList ¶
func (_mock *MockClient) OrgRegistryList(orgID int64, opt crow.RegistryListOptions) ([]*crow.Registry, error)
OrgRegistryList provides a mock function for the type MockClient
func (*MockClient) OrgRegistryUpdate ¶
func (_mock *MockClient) OrgRegistryUpdate(orgID int64, registry *crow.Registry) (*crow.Registry, error)
OrgRegistryUpdate provides a mock function for the type MockClient
func (*MockClient) OrgSecretCreate ¶
OrgSecretCreate provides a mock function for the type MockClient
func (*MockClient) OrgSecretDelete ¶
func (_mock *MockClient) OrgSecretDelete(orgID int64, secret string) error
OrgSecretDelete provides a mock function for the type MockClient
func (*MockClient) OrgSecretList ¶
func (_mock *MockClient) OrgSecretList(orgID int64, opt crow.SecretListOptions) ([]*crow.Secret, error)
OrgSecretList provides a mock function for the type MockClient
func (*MockClient) OrgSecretUpdate ¶
OrgSecretUpdate provides a mock function for the type MockClient
func (*MockClient) PipelineApprove ¶
PipelineApprove provides a mock function for the type MockClient
func (*MockClient) PipelineCreate ¶
func (_mock *MockClient) PipelineCreate(repoID int64, opts *crow.PipelineOptions) (*crow.Pipeline, error)
PipelineCreate provides a mock function for the type MockClient
func (*MockClient) PipelineDecline ¶
PipelineDecline provides a mock function for the type MockClient
func (*MockClient) PipelineDelete ¶
func (_mock *MockClient) PipelineDelete(repoID int64, pipeline int64) error
PipelineDelete provides a mock function for the type MockClient
func (*MockClient) PipelineLast ¶
func (_mock *MockClient) PipelineLast(repoID int64, opt crow.PipelineLastOptions) (*crow.Pipeline, error)
PipelineLast provides a mock function for the type MockClient
func (*MockClient) PipelineList ¶
func (_mock *MockClient) PipelineList(repoID int64, opt crow.PipelineListOptions) ([]*crow.Pipeline, error)
PipelineList provides a mock function for the type MockClient
func (*MockClient) PipelineMetadata ¶
func (_mock *MockClient) PipelineMetadata(repoID int64, pipelineNumber int) ([]byte, error)
PipelineMetadata provides a mock function for the type MockClient
func (*MockClient) PipelineQueue ¶
func (_mock *MockClient) PipelineQueue() ([]*crow.Feed, error)
PipelineQueue provides a mock function for the type MockClient
func (*MockClient) PipelineStart ¶
func (_mock *MockClient) PipelineStart(repoID int64, num int64, opt crow.PipelineStartOptions) (*crow.Pipeline, error)
PipelineStart provides a mock function for the type MockClient
func (*MockClient) PipelineStop ¶
func (_mock *MockClient) PipelineStop(repoID int64, pipeline int64) error
PipelineStop provides a mock function for the type MockClient
func (*MockClient) QueueInfo ¶
func (_mock *MockClient) QueueInfo() (*crow.Info, error)
QueueInfo provides a mock function for the type MockClient
func (*MockClient) RegistryCreate ¶
func (_mock *MockClient) RegistryCreate(repoID int64, registry *crow.Registry) (*crow.Registry, error)
RegistryCreate provides a mock function for the type MockClient
func (*MockClient) RegistryDelete ¶
func (_mock *MockClient) RegistryDelete(repoID int64, hostname string) error
RegistryDelete provides a mock function for the type MockClient
func (*MockClient) RegistryList ¶
func (_mock *MockClient) RegistryList(repoID int64, opt crow.RegistryListOptions) ([]*crow.Registry, error)
RegistryList provides a mock function for the type MockClient
func (*MockClient) RegistryUpdate ¶
func (_mock *MockClient) RegistryUpdate(repoID int64, registry *crow.Registry) (*crow.Registry, error)
RegistryUpdate provides a mock function for the type MockClient
func (*MockClient) Repo ¶
func (_mock *MockClient) Repo(repoID int64) (*crow.Repo, error)
Repo provides a mock function for the type MockClient
func (*MockClient) RepoChown ¶
func (_mock *MockClient) RepoChown(repoID int64) (*crow.Repo, error)
RepoChown provides a mock function for the type MockClient
func (*MockClient) RepoDel ¶
func (_mock *MockClient) RepoDel(repoID int64) error
RepoDel provides a mock function for the type MockClient
func (*MockClient) RepoList ¶
func (_mock *MockClient) RepoList(opt crow.RepoListOptions) ([]*crow.Repo, error)
RepoList provides a mock function for the type MockClient
func (*MockClient) RepoLookup ¶
func (_mock *MockClient) RepoLookup(repoFullName string) (*crow.Repo, error)
RepoLookup provides a mock function for the type MockClient
func (*MockClient) RepoMove ¶
func (_mock *MockClient) RepoMove(repoID int64, opt crow.RepoMoveOptions) error
RepoMove provides a mock function for the type MockClient
func (*MockClient) RepoPost ¶
func (_mock *MockClient) RepoPost(opt crow.RepoPostOptions) (*crow.Repo, error)
RepoPost provides a mock function for the type MockClient
func (*MockClient) RepoRepair ¶
func (_mock *MockClient) RepoRepair(repoID int64) error
RepoRepair provides a mock function for the type MockClient
func (*MockClient) SecretCreate ¶
SecretCreate provides a mock function for the type MockClient
func (*MockClient) SecretDelete ¶
func (_mock *MockClient) SecretDelete(repoID int64, secret string) error
SecretDelete provides a mock function for the type MockClient
func (*MockClient) SecretList ¶
func (_mock *MockClient) SecretList(repoID int64, opt crow.SecretListOptions) ([]*crow.Secret, error)
SecretList provides a mock function for the type MockClient
func (*MockClient) SecretUpdate ¶
SecretUpdate provides a mock function for the type MockClient
func (*MockClient) Self ¶
func (_mock *MockClient) Self() (*crow.User, error)
Self provides a mock function for the type MockClient
func (*MockClient) SetAddress ¶
func (_mock *MockClient) SetAddress(s string)
SetAddress provides a mock function for the type MockClient
func (*MockClient) SetClient ¶
func (_mock *MockClient) SetClient(client *http.Client)
SetClient provides a mock function for the type MockClient
func (*MockClient) SetLogLevel ¶
SetLogLevel provides a mock function for the type MockClient
func (*MockClient) StepLogEntries ¶
func (_mock *MockClient) StepLogEntries(repoID int64, pipeline int64, stepID int64) ([]*crow.LogEntry, error)
StepLogEntries provides a mock function for the type MockClient
func (*MockClient) StepLogsPurge ¶
func (_mock *MockClient) StepLogsPurge(repoID int64, pipelineNumber int64, stepID int64) error
StepLogsPurge provides a mock function for the type MockClient
func (*MockClient) User ¶
func (_mock *MockClient) User(s string) (*crow.User, error)
User provides a mock function for the type MockClient
func (*MockClient) UserDel ¶
func (_mock *MockClient) UserDel(s string) error
UserDel provides a mock function for the type MockClient
func (*MockClient) UserList ¶
func (_mock *MockClient) UserList(opt crow.UserListOptions) ([]*crow.User, error)
UserList provides a mock function for the type MockClient
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(agent1 *crow.Agent, err error) *MockClient_AgentCreate_Call
func (*MockClient_AgentCreate_Call) Run ¶
func (_c *MockClient_AgentCreate_Call) Run(run func(agent *crow.Agent)) *MockClient_AgentCreate_Call
func (*MockClient_AgentCreate_Call) RunAndReturn ¶
func (_c *MockClient_AgentCreate_Call) RunAndReturn(run func(agent *crow.Agent) (*crow.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(err error) *MockClient_AgentDelete_Call
func (*MockClient_AgentDelete_Call) Run ¶
func (_c *MockClient_AgentDelete_Call) Run(run func(n int64)) *MockClient_AgentDelete_Call
func (*MockClient_AgentDelete_Call) RunAndReturn ¶
func (_c *MockClient_AgentDelete_Call) RunAndReturn(run func(n 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(agents []*crow.Agent, err 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() ([]*crow.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(tasks []*crow.Task, err error) *MockClient_AgentTasksList_Call
func (*MockClient_AgentTasksList_Call) Run ¶
func (_c *MockClient_AgentTasksList_Call) Run(run func(n int64)) *MockClient_AgentTasksList_Call
func (*MockClient_AgentTasksList_Call) RunAndReturn ¶
func (_c *MockClient_AgentTasksList_Call) RunAndReturn(run func(n int64) ([]*crow.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(agent1 *crow.Agent, err error) *MockClient_AgentUpdate_Call
func (*MockClient_AgentUpdate_Call) Run ¶
func (_c *MockClient_AgentUpdate_Call) Run(run func(agent *crow.Agent)) *MockClient_AgentUpdate_Call
func (*MockClient_AgentUpdate_Call) RunAndReturn ¶
func (_c *MockClient_AgentUpdate_Call) RunAndReturn(run func(agent *crow.Agent) (*crow.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(agent *crow.Agent, err error) *MockClient_Agent_Call
func (*MockClient_Agent_Call) Run ¶
func (_c *MockClient_Agent_Call) Run(run func(n int64)) *MockClient_Agent_Call
func (*MockClient_Agent_Call) RunAndReturn ¶
func (_c *MockClient_Agent_Call) RunAndReturn(run func(n int64) (*crow.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(cron1 *crow.Cron, err error) *MockClient_CronCreate_Call
func (*MockClient_CronCreate_Call) Run ¶
func (_c *MockClient_CronCreate_Call) Run(run func(repoID int64, cron *crow.Cron)) *MockClient_CronCreate_Call
func (*MockClient_CronCreate_Call) RunAndReturn ¶
func (_c *MockClient_CronCreate_Call) RunAndReturn(run func(repoID int64, cron *crow.Cron) (*crow.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(err 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(repoID int64, cronID 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(cron *crow.Cron, err 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(repoID int64, cronID int64) (*crow.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(crons []*crow.Cron, err error) *MockClient_CronList_Call
func (*MockClient_CronList_Call) Run ¶
func (_c *MockClient_CronList_Call) Run(run func(repoID int64, opt crow.CronListOptions)) *MockClient_CronList_Call
func (*MockClient_CronList_Call) RunAndReturn ¶
func (_c *MockClient_CronList_Call) RunAndReturn(run func(repoID int64, opt crow.CronListOptions) ([]*crow.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(cron1 *crow.Cron, err error) *MockClient_CronUpdate_Call
func (*MockClient_CronUpdate_Call) Run ¶
func (_c *MockClient_CronUpdate_Call) Run(run func(repoID int64, cron *crow.Cron)) *MockClient_CronUpdate_Call
func (*MockClient_CronUpdate_Call) RunAndReturn ¶
func (_c *MockClient_CronUpdate_Call) RunAndReturn(run func(repoID int64, cron *crow.Cron) (*crow.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(pipeline1 *crow.Pipeline, err error) *MockClient_Deploy_Call
func (*MockClient_Deploy_Call) Run ¶
func (_c *MockClient_Deploy_Call) Run(run func(repoID int64, pipeline int64, opt crow.DeployOptions)) *MockClient_Deploy_Call
func (*MockClient_Deploy_Call) RunAndReturn ¶
func (_c *MockClient_Deploy_Call) RunAndReturn(run func(repoID int64, pipeline int64, opt crow.DeployOptions) (*crow.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(n interface{}) *MockClient_Agent_Call
Agent is a helper method to define mock.On call
- n
func (*MockClient_Expecter) AgentCreate ¶
func (_e *MockClient_Expecter) AgentCreate(agent interface{}) *MockClient_AgentCreate_Call
AgentCreate is a helper method to define mock.On call
- agent
func (*MockClient_Expecter) AgentDelete ¶
func (_e *MockClient_Expecter) AgentDelete(n interface{}) *MockClient_AgentDelete_Call
AgentDelete is a helper method to define mock.On call
- n
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(n interface{}) *MockClient_AgentTasksList_Call
AgentTasksList is a helper method to define mock.On call
- n
func (*MockClient_Expecter) AgentUpdate ¶
func (_e *MockClient_Expecter) AgentUpdate(agent interface{}) *MockClient_AgentUpdate_Call
AgentUpdate is a helper method to define mock.On call
- 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
- 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
- cronID
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
- cronID
func (*MockClient_Expecter) CronList ¶
func (_e *MockClient_Expecter) CronList(repoID interface{}, opt interface{}) *MockClient_CronList_Call
CronList is a helper method to define mock.On call
- repoID
- opt
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
- cron
func (*MockClient_Expecter) Deploy ¶
func (_e *MockClient_Expecter) Deploy(repoID interface{}, pipeline interface{}, opt interface{}) *MockClient_Deploy_Call
Deploy is a helper method to define mock.On call
- repoID
- pipeline
- opt
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
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
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
func (*MockClient_Expecter) GlobalRegistryList ¶
func (_e *MockClient_Expecter) GlobalRegistryList(opt interface{}) *MockClient_GlobalRegistryList_Call
GlobalRegistryList is a helper method to define mock.On call
- opt
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
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
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
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
func (*MockClient_Expecter) GlobalSecretList ¶
func (_e *MockClient_Expecter) GlobalSecretList(opt interface{}) *MockClient_GlobalSecretList_Call
GlobalSecretList is a helper method to define mock.On call
- opt
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
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
- pipeline
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
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
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
- registry
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
- 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
- registry
func (*MockClient_Expecter) OrgRegistryList ¶
func (_e *MockClient_Expecter) OrgRegistryList(orgID interface{}, opt interface{}) *MockClient_OrgRegistryList_Call
OrgRegistryList is a helper method to define mock.On call
- orgID
- opt
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
- 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
- secret
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
- 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
- secret
func (*MockClient_Expecter) OrgSecretList ¶
func (_e *MockClient_Expecter) OrgSecretList(orgID interface{}, opt interface{}) *MockClient_OrgSecretList_Call
OrgSecretList is a helper method to define mock.On call
- orgID
- opt
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
- 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
- pipeline
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
- pipeline
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
- opts
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
- pipeline
func (*MockClient_Expecter) PipelineDelete ¶
func (_e *MockClient_Expecter) PipelineDelete(repoID interface{}, pipeline interface{}) *MockClient_PipelineDelete_Call
PipelineDelete is a helper method to define mock.On call
- repoID
- pipeline
func (*MockClient_Expecter) PipelineLast ¶
func (_e *MockClient_Expecter) PipelineLast(repoID interface{}, opt interface{}) *MockClient_PipelineLast_Call
PipelineLast is a helper method to define mock.On call
- repoID
- opt
func (*MockClient_Expecter) PipelineList ¶
func (_e *MockClient_Expecter) PipelineList(repoID interface{}, opt interface{}) *MockClient_PipelineList_Call
PipelineList is a helper method to define mock.On call
- repoID
- opt
func (*MockClient_Expecter) PipelineMetadata ¶
func (_e *MockClient_Expecter) PipelineMetadata(repoID interface{}, pipelineNumber interface{}) *MockClient_PipelineMetadata_Call
PipelineMetadata is a helper method to define mock.On call
- repoID
- pipelineNumber
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{}, opt interface{}) *MockClient_PipelineStart_Call
PipelineStart is a helper method to define mock.On call
- repoID
- num
- opt
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
- pipeline
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
- hostname
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
- 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
- hostname
func (*MockClient_Expecter) RegistryList ¶
func (_e *MockClient_Expecter) RegistryList(repoID interface{}, opt interface{}) *MockClient_RegistryList_Call
RegistryList is a helper method to define mock.On call
- repoID
- opt
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
- 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
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
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
func (*MockClient_Expecter) RepoList ¶
func (_e *MockClient_Expecter) RepoList(opt interface{}) *MockClient_RepoList_Call
RepoList is a helper method to define mock.On call
- opt
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
func (*MockClient_Expecter) RepoMove ¶
func (_e *MockClient_Expecter) RepoMove(repoID interface{}, opt interface{}) *MockClient_RepoMove_Call
RepoMove is a helper method to define mock.On call
- repoID
- opt
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
- repo
func (*MockClient_Expecter) RepoPost ¶
func (_e *MockClient_Expecter) RepoPost(opt interface{}) *MockClient_RepoPost_Call
RepoPost is a helper method to define mock.On call
- opt
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
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
- secret
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
- 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
- secret
func (*MockClient_Expecter) SecretList ¶
func (_e *MockClient_Expecter) SecretList(repoID interface{}, opt interface{}) *MockClient_SecretList_Call
SecretList is a helper method to define mock.On call
- repoID
- opt
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
- 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(s interface{}) *MockClient_SetAddress_Call
SetAddress is a helper method to define mock.On call
- s
func (*MockClient_Expecter) SetClient ¶
func (_e *MockClient_Expecter) SetClient(client interface{}) *MockClient_SetClient_Call
SetClient is a helper method to define mock.On call
- 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
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
- pipeline
- stepID
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
- pipelineNumber
- stepID
func (*MockClient_Expecter) User ¶
func (_e *MockClient_Expecter) User(s interface{}) *MockClient_User_Call
User is a helper method to define mock.On call
- s
func (*MockClient_Expecter) UserDel ¶
func (_e *MockClient_Expecter) UserDel(s interface{}) *MockClient_UserDel_Call
UserDel is a helper method to define mock.On call
- s
func (*MockClient_Expecter) UserList ¶
func (_e *MockClient_Expecter) UserList(opt interface{}) *MockClient_UserList_Call
UserList is a helper method to define mock.On call
- opt
func (*MockClient_Expecter) UserPatch ¶
func (_e *MockClient_Expecter) UserPatch(user interface{}) *MockClient_UserPatch_Call
UserPatch is a helper method to define mock.On call
- user
func (*MockClient_Expecter) UserPost ¶
func (_e *MockClient_Expecter) UserPost(user interface{}) *MockClient_UserPost_Call
UserPost is a helper method to define mock.On call
- 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(registry1 *crow.Registry, err error) *MockClient_GlobalRegistryCreate_Call
func (*MockClient_GlobalRegistryCreate_Call) Run ¶
func (_c *MockClient_GlobalRegistryCreate_Call) Run(run func(registry *crow.Registry)) *MockClient_GlobalRegistryCreate_Call
func (*MockClient_GlobalRegistryCreate_Call) RunAndReturn ¶
func (_c *MockClient_GlobalRegistryCreate_Call) RunAndReturn(run func(registry *crow.Registry) (*crow.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(err 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(registry 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(registrys []*crow.Registry, err error) *MockClient_GlobalRegistryList_Call
func (*MockClient_GlobalRegistryList_Call) Run ¶
func (_c *MockClient_GlobalRegistryList_Call) Run(run func(opt crow.RegistryListOptions)) *MockClient_GlobalRegistryList_Call
func (*MockClient_GlobalRegistryList_Call) RunAndReturn ¶
func (_c *MockClient_GlobalRegistryList_Call) RunAndReturn(run func(opt crow.RegistryListOptions) ([]*crow.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(registry1 *crow.Registry, err error) *MockClient_GlobalRegistryUpdate_Call
func (*MockClient_GlobalRegistryUpdate_Call) Run ¶
func (_c *MockClient_GlobalRegistryUpdate_Call) Run(run func(registry *crow.Registry)) *MockClient_GlobalRegistryUpdate_Call
func (*MockClient_GlobalRegistryUpdate_Call) RunAndReturn ¶
func (_c *MockClient_GlobalRegistryUpdate_Call) RunAndReturn(run func(registry *crow.Registry) (*crow.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(registry1 *crow.Registry, err 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(registry string) (*crow.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(secret1 *crow.Secret, err error) *MockClient_GlobalSecretCreate_Call
func (*MockClient_GlobalSecretCreate_Call) Run ¶
func (_c *MockClient_GlobalSecretCreate_Call) Run(run func(secret *crow.Secret)) *MockClient_GlobalSecretCreate_Call
func (*MockClient_GlobalSecretCreate_Call) RunAndReturn ¶
func (_c *MockClient_GlobalSecretCreate_Call) RunAndReturn(run func(secret *crow.Secret) (*crow.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(err 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(secret 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(secrets []*crow.Secret, err error) *MockClient_GlobalSecretList_Call
func (*MockClient_GlobalSecretList_Call) Run ¶
func (_c *MockClient_GlobalSecretList_Call) Run(run func(opt crow.SecretListOptions)) *MockClient_GlobalSecretList_Call
func (*MockClient_GlobalSecretList_Call) RunAndReturn ¶
func (_c *MockClient_GlobalSecretList_Call) RunAndReturn(run func(opt crow.SecretListOptions) ([]*crow.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(secret1 *crow.Secret, err error) *MockClient_GlobalSecretUpdate_Call
func (*MockClient_GlobalSecretUpdate_Call) Run ¶
func (_c *MockClient_GlobalSecretUpdate_Call) Run(run func(secret *crow.Secret)) *MockClient_GlobalSecretUpdate_Call
func (*MockClient_GlobalSecretUpdate_Call) RunAndReturn ¶
func (_c *MockClient_GlobalSecretUpdate_Call) RunAndReturn(run func(secret *crow.Secret) (*crow.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(secret1 *crow.Secret, err 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(secret string) (*crow.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(logLevel *crow.LogLevel, err 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() (*crow.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(err 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(repoID int64, pipeline 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(org *crow.Org, err 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(orgName string) (*crow.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(registry1 *crow.Registry, err error) *MockClient_OrgRegistryCreate_Call
func (*MockClient_OrgRegistryCreate_Call) Run ¶
func (_c *MockClient_OrgRegistryCreate_Call) Run(run func(orgID int64, registry *crow.Registry)) *MockClient_OrgRegistryCreate_Call
func (*MockClient_OrgRegistryCreate_Call) RunAndReturn ¶
func (_c *MockClient_OrgRegistryCreate_Call) RunAndReturn(run func(orgID int64, registry *crow.Registry) (*crow.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(err 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(orgID int64, registry 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(registrys []*crow.Registry, err error) *MockClient_OrgRegistryList_Call
func (*MockClient_OrgRegistryList_Call) Run ¶
func (_c *MockClient_OrgRegistryList_Call) Run(run func(orgID int64, opt crow.RegistryListOptions)) *MockClient_OrgRegistryList_Call
func (*MockClient_OrgRegistryList_Call) RunAndReturn ¶
func (_c *MockClient_OrgRegistryList_Call) RunAndReturn(run func(orgID int64, opt crow.RegistryListOptions) ([]*crow.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(registry1 *crow.Registry, err error) *MockClient_OrgRegistryUpdate_Call
func (*MockClient_OrgRegistryUpdate_Call) Run ¶
func (_c *MockClient_OrgRegistryUpdate_Call) Run(run func(orgID int64, registry *crow.Registry)) *MockClient_OrgRegistryUpdate_Call
func (*MockClient_OrgRegistryUpdate_Call) RunAndReturn ¶
func (_c *MockClient_OrgRegistryUpdate_Call) RunAndReturn(run func(orgID int64, registry *crow.Registry) (*crow.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(registry1 *crow.Registry, err 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(orgID int64, registry string) (*crow.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(secret1 *crow.Secret, err error) *MockClient_OrgSecretCreate_Call
func (*MockClient_OrgSecretCreate_Call) Run ¶
func (_c *MockClient_OrgSecretCreate_Call) Run(run func(orgID int64, secret *crow.Secret)) *MockClient_OrgSecretCreate_Call
func (*MockClient_OrgSecretCreate_Call) RunAndReturn ¶
func (_c *MockClient_OrgSecretCreate_Call) RunAndReturn(run func(orgID int64, secret *crow.Secret) (*crow.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(err 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(orgID int64, secret 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(secrets []*crow.Secret, err error) *MockClient_OrgSecretList_Call
func (*MockClient_OrgSecretList_Call) Run ¶
func (_c *MockClient_OrgSecretList_Call) Run(run func(orgID int64, opt crow.SecretListOptions)) *MockClient_OrgSecretList_Call
func (*MockClient_OrgSecretList_Call) RunAndReturn ¶
func (_c *MockClient_OrgSecretList_Call) RunAndReturn(run func(orgID int64, opt crow.SecretListOptions) ([]*crow.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(secret1 *crow.Secret, err error) *MockClient_OrgSecretUpdate_Call
func (*MockClient_OrgSecretUpdate_Call) Run ¶
func (_c *MockClient_OrgSecretUpdate_Call) Run(run func(orgID int64, secret *crow.Secret)) *MockClient_OrgSecretUpdate_Call
func (*MockClient_OrgSecretUpdate_Call) RunAndReturn ¶
func (_c *MockClient_OrgSecretUpdate_Call) RunAndReturn(run func(orgID int64, secret *crow.Secret) (*crow.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(secret1 *crow.Secret, err 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(orgID int64, secret string) (*crow.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(org *crow.Org, err 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(orgID int64) (*crow.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(pipeline1 *crow.Pipeline, err 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(repoID int64, pipeline int64) (*crow.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(pipeline *crow.Pipeline, err error) *MockClient_PipelineCreate_Call
func (*MockClient_PipelineCreate_Call) Run ¶
func (_c *MockClient_PipelineCreate_Call) Run(run func(repoID int64, opts *crow.PipelineOptions)) *MockClient_PipelineCreate_Call
func (*MockClient_PipelineCreate_Call) RunAndReturn ¶
func (_c *MockClient_PipelineCreate_Call) RunAndReturn(run func(repoID int64, opts *crow.PipelineOptions) (*crow.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(pipeline1 *crow.Pipeline, err 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(repoID int64, pipeline int64) (*crow.Pipeline, error)) *MockClient_PipelineDecline_Call
type MockClient_PipelineDelete_Call ¶
MockClient_PipelineDelete_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PipelineDelete'
func (*MockClient_PipelineDelete_Call) Return ¶
func (_c *MockClient_PipelineDelete_Call) Return(err error) *MockClient_PipelineDelete_Call
func (*MockClient_PipelineDelete_Call) Run ¶
func (_c *MockClient_PipelineDelete_Call) Run(run func(repoID int64, pipeline int64)) *MockClient_PipelineDelete_Call
func (*MockClient_PipelineDelete_Call) RunAndReturn ¶
func (_c *MockClient_PipelineDelete_Call) RunAndReturn(run func(repoID int64, pipeline int64) error) *MockClient_PipelineDelete_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(pipeline *crow.Pipeline, err error) *MockClient_PipelineLast_Call
func (*MockClient_PipelineLast_Call) Run ¶
func (_c *MockClient_PipelineLast_Call) Run(run func(repoID int64, opt crow.PipelineLastOptions)) *MockClient_PipelineLast_Call
func (*MockClient_PipelineLast_Call) RunAndReturn ¶
func (_c *MockClient_PipelineLast_Call) RunAndReturn(run func(repoID int64, opt crow.PipelineLastOptions) (*crow.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(pipelines []*crow.Pipeline, err error) *MockClient_PipelineList_Call
func (*MockClient_PipelineList_Call) Run ¶
func (_c *MockClient_PipelineList_Call) Run(run func(repoID int64, opt crow.PipelineListOptions)) *MockClient_PipelineList_Call
func (*MockClient_PipelineList_Call) RunAndReturn ¶
func (_c *MockClient_PipelineList_Call) RunAndReturn(run func(repoID int64, opt crow.PipelineListOptions) ([]*crow.Pipeline, error)) *MockClient_PipelineList_Call
type MockClient_PipelineMetadata_Call ¶
MockClient_PipelineMetadata_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PipelineMetadata'
func (*MockClient_PipelineMetadata_Call) Return ¶
func (_c *MockClient_PipelineMetadata_Call) Return(bytes []byte, err error) *MockClient_PipelineMetadata_Call
func (*MockClient_PipelineMetadata_Call) Run ¶
func (_c *MockClient_PipelineMetadata_Call) Run(run func(repoID int64, pipelineNumber int)) *MockClient_PipelineMetadata_Call
func (*MockClient_PipelineMetadata_Call) RunAndReturn ¶
func (_c *MockClient_PipelineMetadata_Call) RunAndReturn(run func(repoID int64, pipelineNumber int) ([]byte, error)) *MockClient_PipelineMetadata_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(feeds []*crow.Feed, err 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() ([]*crow.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(pipeline *crow.Pipeline, err error) *MockClient_PipelineStart_Call
func (*MockClient_PipelineStart_Call) Run ¶
func (_c *MockClient_PipelineStart_Call) Run(run func(repoID int64, num int64, opt crow.PipelineStartOptions)) *MockClient_PipelineStart_Call
func (*MockClient_PipelineStart_Call) RunAndReturn ¶
func (_c *MockClient_PipelineStart_Call) RunAndReturn(run func(repoID int64, num int64, opt crow.PipelineStartOptions) (*crow.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(err 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(repoID int64, pipeline 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(pipeline1 *crow.Pipeline, err 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(repoID int64, pipeline int64) (*crow.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(info *crow.Info, err 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() (*crow.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(registry1 *crow.Registry, err error) *MockClient_RegistryCreate_Call
func (*MockClient_RegistryCreate_Call) Run ¶
func (_c *MockClient_RegistryCreate_Call) Run(run func(repoID int64, registry *crow.Registry)) *MockClient_RegistryCreate_Call
func (*MockClient_RegistryCreate_Call) RunAndReturn ¶
func (_c *MockClient_RegistryCreate_Call) RunAndReturn(run func(repoID int64, registry *crow.Registry) (*crow.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(err 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(repoID int64, hostname 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(registrys []*crow.Registry, err error) *MockClient_RegistryList_Call
func (*MockClient_RegistryList_Call) Run ¶
func (_c *MockClient_RegistryList_Call) Run(run func(repoID int64, opt crow.RegistryListOptions)) *MockClient_RegistryList_Call
func (*MockClient_RegistryList_Call) RunAndReturn ¶
func (_c *MockClient_RegistryList_Call) RunAndReturn(run func(repoID int64, opt crow.RegistryListOptions) ([]*crow.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(registry1 *crow.Registry, err error) *MockClient_RegistryUpdate_Call
func (*MockClient_RegistryUpdate_Call) Run ¶
func (_c *MockClient_RegistryUpdate_Call) Run(run func(repoID int64, registry *crow.Registry)) *MockClient_RegistryUpdate_Call
func (*MockClient_RegistryUpdate_Call) RunAndReturn ¶
func (_c *MockClient_RegistryUpdate_Call) RunAndReturn(run func(repoID int64, registry *crow.Registry) (*crow.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(registry *crow.Registry, err 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(repoID int64, hostname string) (*crow.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(repo *crow.Repo, err 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(repoID int64) (*crow.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(err 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(repoID int64) error) *MockClient_RepoDel_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(repos []*crow.Repo, err error) *MockClient_RepoList_Call
func (*MockClient_RepoList_Call) Run ¶
func (_c *MockClient_RepoList_Call) Run(run func(opt crow.RepoListOptions)) *MockClient_RepoList_Call
func (*MockClient_RepoList_Call) RunAndReturn ¶
func (_c *MockClient_RepoList_Call) RunAndReturn(run func(opt crow.RepoListOptions) ([]*crow.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(repo *crow.Repo, err 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(repoFullName string) (*crow.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(err error) *MockClient_RepoMove_Call
func (*MockClient_RepoMove_Call) Run ¶
func (_c *MockClient_RepoMove_Call) Run(run func(repoID int64, opt crow.RepoMoveOptions)) *MockClient_RepoMove_Call
func (*MockClient_RepoMove_Call) RunAndReturn ¶
func (_c *MockClient_RepoMove_Call) RunAndReturn(run func(repoID int64, opt crow.RepoMoveOptions) 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(repo1 *crow.Repo, err error) *MockClient_RepoPatch_Call
func (*MockClient_RepoPatch_Call) Run ¶
func (_c *MockClient_RepoPatch_Call) Run(run func(repoID int64, repo *crow.RepoPatch)) *MockClient_RepoPatch_Call
func (*MockClient_RepoPatch_Call) RunAndReturn ¶
func (_c *MockClient_RepoPatch_Call) RunAndReturn(run func(repoID int64, repo *crow.RepoPatch) (*crow.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(repo *crow.Repo, err error) *MockClient_RepoPost_Call
func (*MockClient_RepoPost_Call) Run ¶
func (_c *MockClient_RepoPost_Call) Run(run func(opt crow.RepoPostOptions)) *MockClient_RepoPost_Call
func (*MockClient_RepoPost_Call) RunAndReturn ¶
func (_c *MockClient_RepoPost_Call) RunAndReturn(run func(opt crow.RepoPostOptions) (*crow.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(err 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(repoID 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(repo *crow.Repo, err 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(repoID int64) (*crow.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(secret1 *crow.Secret, err error) *MockClient_SecretCreate_Call
func (*MockClient_SecretCreate_Call) Run ¶
func (_c *MockClient_SecretCreate_Call) Run(run func(repoID int64, secret *crow.Secret)) *MockClient_SecretCreate_Call
func (*MockClient_SecretCreate_Call) RunAndReturn ¶
func (_c *MockClient_SecretCreate_Call) RunAndReturn(run func(repoID int64, secret *crow.Secret) (*crow.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(err 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(repoID int64, secret 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(secrets []*crow.Secret, err error) *MockClient_SecretList_Call
func (*MockClient_SecretList_Call) Run ¶
func (_c *MockClient_SecretList_Call) Run(run func(repoID int64, opt crow.SecretListOptions)) *MockClient_SecretList_Call
func (*MockClient_SecretList_Call) RunAndReturn ¶
func (_c *MockClient_SecretList_Call) RunAndReturn(run func(repoID int64, opt crow.SecretListOptions) ([]*crow.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(secret1 *crow.Secret, err error) *MockClient_SecretUpdate_Call
func (*MockClient_SecretUpdate_Call) Run ¶
func (_c *MockClient_SecretUpdate_Call) Run(run func(repoID int64, secret *crow.Secret)) *MockClient_SecretUpdate_Call
func (*MockClient_SecretUpdate_Call) RunAndReturn ¶
func (_c *MockClient_SecretUpdate_Call) RunAndReturn(run func(repoID int64, secret *crow.Secret) (*crow.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(secret1 *crow.Secret, err 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(repoID int64, secret string) (*crow.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(user *crow.User, err 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() (*crow.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(s string)) *MockClient_SetAddress_Call
func (*MockClient_SetAddress_Call) RunAndReturn ¶
func (_c *MockClient_SetAddress_Call) RunAndReturn(run func(s 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(client *http.Client)) *MockClient_SetClient_Call
func (*MockClient_SetClient_Call) RunAndReturn ¶
func (_c *MockClient_SetClient_Call) RunAndReturn(run func(client *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(logLevel1 *crow.LogLevel, err error) *MockClient_SetLogLevel_Call
func (*MockClient_SetLogLevel_Call) Run ¶
func (_c *MockClient_SetLogLevel_Call) Run(run func(logLevel *crow.LogLevel)) *MockClient_SetLogLevel_Call
func (*MockClient_SetLogLevel_Call) RunAndReturn ¶
func (_c *MockClient_SetLogLevel_Call) RunAndReturn(run func(logLevel *crow.LogLevel) (*crow.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(logEntrys []*crow.LogEntry, err 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(repoID int64, pipeline int64, stepID int64) ([]*crow.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(err 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(repoID int64, pipelineNumber int64, stepID 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(err error) *MockClient_UserDel_Call
func (*MockClient_UserDel_Call) Run ¶
func (_c *MockClient_UserDel_Call) Run(run func(s string)) *MockClient_UserDel_Call
func (*MockClient_UserDel_Call) RunAndReturn ¶
func (_c *MockClient_UserDel_Call) RunAndReturn(run func(s 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(users []*crow.User, err error) *MockClient_UserList_Call
func (*MockClient_UserList_Call) Run ¶
func (_c *MockClient_UserList_Call) Run(run func(opt crow.UserListOptions)) *MockClient_UserList_Call
func (*MockClient_UserList_Call) RunAndReturn ¶
func (_c *MockClient_UserList_Call) RunAndReturn(run func(opt crow.UserListOptions) ([]*crow.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(user1 *crow.User, err error) *MockClient_UserPatch_Call
func (*MockClient_UserPatch_Call) Run ¶
func (_c *MockClient_UserPatch_Call) Run(run func(user *crow.User)) *MockClient_UserPatch_Call
func (*MockClient_UserPatch_Call) RunAndReturn ¶
func (_c *MockClient_UserPatch_Call) RunAndReturn(run func(user *crow.User) (*crow.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(user1 *crow.User, err error) *MockClient_UserPost_Call
func (*MockClient_UserPost_Call) Run ¶
func (_c *MockClient_UserPost_Call) Run(run func(user *crow.User)) *MockClient_UserPost_Call
func (*MockClient_UserPost_Call) RunAndReturn ¶
func (_c *MockClient_UserPost_Call) RunAndReturn(run func(user *crow.User) (*crow.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(user *crow.User, err error) *MockClient_User_Call
func (*MockClient_User_Call) Run ¶
func (_c *MockClient_User_Call) Run(run func(s string)) *MockClient_User_Call
func (*MockClient_User_Call) RunAndReturn ¶
func (_c *MockClient_User_Call) RunAndReturn(run func(s string) (*crow.User, error)) *MockClient_User_Call