Documentation ¶
Index ¶
Constants ¶
View Source
const ( // MarkerRunning status MarkerRunning = "↻" // MarkerSuccess status MarkerSuccess = "✓" // MarkerFailure status MarkerFailure = "✗" // MarkerDefault status MarkerDefault = "?" // StatusRunning text StatusRunning = "RUNNING" // StatusSuccess text StatusSuccess = "SUCCESS" // StatusFailure text StatusFailure = "FAILURE" )
Variables ¶
View Source
var ( // Unknown represents the default or unknown status if an error occurs. Unknown = yellow("?") // Running is use to indicate jobs that are currently running. Running = green("↻") // Good is a generic status that represents a healthy job/node. Good = green("✓") // Bad should be used to represent a problem with a job/node. Bad = red("✗") )
Functions ¶
Types ¶
type Build ¶
type Build struct {
// contains filtered or unexported fields
}
Build can be used to kick of new builds of jobs with a name matching the provided regular expression.
type Diff ¶
type Diff struct {
// contains filtered or unexported fields
}
Diff is a type that can be used to retrieve the differences between the console output of two different builds.
type Logs ¶
type Logs struct {
// contains filtered or unexported fields
}
Logs is a type that can be used to access a Jenkins job's logs.
type Nodes ¶
type Nodes struct {
// contains filtered or unexported fields
}
Nodes is a type used to request the status of different nodes used by a Jenkins server.
type Open ¶
type Open struct {
// contains filtered or unexported fields
}
Open is a type that can be used to open a job or set of jobs in a browser.
type Queue ¶
type Queue struct {
// contains filtered or unexported fields
}
Queue is a type that can be used to get information about a specific build queue.
Click to show internal directories.
Click to hide internal directories.