mocks

package
v0.0.0-...-c033b77 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

func (*Client) AgentRunJobHistory

func (_m *Client) AgentRunJobHistory(uuid string, offset int) ([]*gocd.JobHistory, error)

AgentRunJobHistory provides a mock function with given fields: uuid, offset

func (*Client) DeleteAgent

func (_m *Client) DeleteAgent(uuid string) error

DeleteAgent provides a mock function with given fields: uuid

func (*Client) DisableAgent

func (_m *Client) DisableAgent(uuid string) error

DisableAgent provides a mock function with given fields: uuid

func (*Client) EnableAgent

func (_m *Client) EnableAgent(uuid string) error

EnableAgent provides a mock function with given fields: uuid

func (*Client) GetAgent

func (_m *Client) GetAgent(uuid string) (*gocd.Agent, error)

GetAgent provides a mock function with given fields: uuid

func (*Client) GetAllAgents

func (_m *Client) GetAllAgents() ([]*gocd.Agent, error)

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

func (_m *Client) GetScheduledJobs() ([]*gocd.ScheduledJob, error)

GetScheduledJobs provides a mock function with given fields:

func (*Client) UpdateAgent

func (_m *Client) UpdateAgent(uuid string, agent *gocd.Agent) (*gocd.Agent, error)

UpdateAgent provides a mock function with given fields: uuid, agent

Jump to

Keyboard shortcuts

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