Documentation ¶
Index ¶
- type Service
- func (_m *Service) GetBuild(buildID string) (*brigade.Build, error)
- func (_m *Service) GetBuildJobs(BuildID string, desc bool) ([]*brigade.Job, error)
- func (_m *Service) GetJob(jobID string) (*brigade.Job, error)
- func (_m *Service) GetJobLog(jobID string) (io.ReadCloser, error)
- func (_m *Service) GetJobLogStream(jobID string) (io.ReadCloser, error)
- func (_m *Service) GetProject(projectID string) (*brigade.Project, error)
- func (_m *Service) GetProjectBuilds(project *brigade.Project, desc bool) ([]*brigade.Build, error)
- func (_m *Service) GetProjectLastBuilds(projectID string, quantity int) ([]*brigade.Build, error)
- func (_m *Service) GetProjects() ([]*brigade.Project, error)
- func (_m *Service) RerunBuild(buildID string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service is an autogenerated mock type for the Service type
func (*Service) GetBuildJobs ¶
GetBuildJobs provides a mock function with given fields: BuildID, desc
func (*Service) GetJobLog ¶
func (_m *Service) GetJobLog(jobID string) (io.ReadCloser, error)
GetJobLog provides a mock function with given fields: jobID
func (*Service) GetJobLogStream ¶ added in v0.4.0
func (_m *Service) GetJobLogStream(jobID string) (io.ReadCloser, error)
GetJobLogStream provides a mock function with given fields: jobID
func (*Service) GetProject ¶
GetProject provides a mock function with given fields: projectID
func (*Service) GetProjectBuilds ¶
GetProjectBuilds provides a mock function with given fields: project, desc
func (*Service) GetProjectLastBuilds ¶ added in v0.2.0
GetProjectLastBuilds provides a mock function with given fields: projectID, quantity
func (*Service) GetProjects ¶
GetProjects provides a mock function with given fields:
func (*Service) RerunBuild ¶ added in v0.5.2
RerunBuild provides a mock function with given fields: buildID
Click to show internal directories.
Click to hide internal directories.