pkg

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Version,
	GitCommit string
)

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(httpClient *http.Client, baseURL string) *Client

func (*Client) GetAgentLogs added in v0.0.2

func (c *Client) GetAgentLogs(patStr, owner, host string, age time.Duration, staff bool) (string, int, error)

func (*Client) GetBuildIncreases added in v0.2.1

func (c *Client) GetBuildIncreases(patStr string, owner string, startDate time.Time, staff bool, json bool) (string, int, error)

func (*Client) GetControllerLogs added in v0.1.7

func (c *Client) GetControllerLogs(patStr, outputFormat string, age time.Duration) (string, int, error)

func (*Client) GetLogs added in v0.0.3

func (c *Client) GetLogs(patStr, owner, host, id string, age time.Duration, staff bool) (string, int, error)

func (*Client) ListJobs

func (c *Client) ListJobs(patStr string, owner string, staff bool, json bool) (string, int, error)

func (*Client) ListRunners

func (c *Client) ListRunners(patStr string, owner string, staff, images, json bool) (string, int, error)

func (*Client) Repair

func (c *Client) Repair(patStr string, owner string, staff bool) (string, int, error)

func (*Client) RestartAgent added in v0.0.7

func (c *Client) RestartAgent(patStr, owner, host string, reboot bool, staff bool) (string, int, error)

func (*Client) UpgradeAgent added in v0.0.4

func (c *Client) UpgradeAgent(patStr, owner, host string, force bool, staff bool) (string, int, error)

Jump to

Keyboard shortcuts

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