Documentation ¶
Index ¶
- type Client
- func (_m *Client) AgentRunJobHistory(uuid string, offset int) ([]*gocd.JobHistory, error)
- func (_m *Client) DeleteAgent(uuid string) error
- func (_m *Client) DisableAgent(uuid string) error
- func (_m *Client) EnableAgent(uuid string) error
- func (_m *Client) GetAgent(uuid string) (*gocd.Agent, error)
- func (_m *Client) GetAllAgents() ([]*gocd.Agent, error)
- func (_m *Client) GetJobHistory(pipeline string, stage string, job string, offset int) ([]*gocd.JobHistory, error)
- func (_m *Client) GetScheduledJobs() ([]*gocd.ScheduledJob, error)
- func (_m *Client) UpdateAgent(uuid string, agent *gocd.Agent) (*gocd.Agent, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
func (*Client) AgentRunJobHistory ¶
AgentRunJobHistory provides a mock function with given fields: uuid, offset
func (*Client) DeleteAgent ¶
DeleteAgent provides a mock function with given fields: uuid
func (*Client) DisableAgent ¶
DisableAgent provides a mock function with given fields: uuid
func (*Client) EnableAgent ¶
EnableAgent provides a mock function with given fields: uuid
func (*Client) GetAllAgents ¶
GetAllAgents provides a mock function with given fields:
func (*Client) GetJobHistory ¶
func (_m *Client) GetJobHistory(pipeline string, stage string, job string, offset int) ([]*gocd.JobHistory, error)
GetJobHistory provides a mock function with given fields: pipeline, stage, job, offset
func (*Client) GetScheduledJobs ¶
GetScheduledJobs provides a mock function with given fields:
func (*Client) UpdateAgent ¶
UpdateAgent provides a mock function with given fields: uuid, agent
Click to show internal directories.
Click to hide internal directories.