brigade

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2018 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by mockery v1.0.0

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	mock.Mock
}

Service is an autogenerated mock type for the Service type

func (*Service) GetBuild

func (_m *Service) GetBuild(buildID string) (*brigade.Build, error)

GetBuild provides a mock function with given fields: buildID

func (*Service) GetBuildJobs

func (_m *Service) GetBuildJobs(BuildID string, desc bool) ([]*brigade.Job, error)

GetBuildJobs provides a mock function with given fields: BuildID, desc

func (*Service) GetJob

func (_m *Service) GetJob(jobID string) (*brigade.Job, error)

GetJob provides a mock function with given fields: jobID

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

func (_m *Service) GetProject(projectID string) (*brigade.Project, error)

GetProject provides a mock function with given fields: projectID

func (*Service) GetProjectBuilds

func (_m *Service) GetProjectBuilds(project *brigade.Project, desc bool) ([]*brigade.Build, error)

GetProjectBuilds provides a mock function with given fields: project, desc

func (*Service) GetProjectLastBuilds added in v0.2.0

func (_m *Service) GetProjectLastBuilds(projectID string, quantity int) ([]*brigade.Build, error)

GetProjectLastBuilds provides a mock function with given fields: projectID, quantity

func (*Service) GetProjects

func (_m *Service) GetProjects() ([]*brigade.Project, error)

GetProjects provides a mock function with given fields:

Jump to

Keyboard shortcuts

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