Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Build ¶
type Build struct { Result string `json:"result,omitempty"` Number int `json:"number,omitempty"` Timestamp int64 `json:"timestamp,omitempty"` }
Build describes a build from the Jenkins API.
type Client ¶
type Client struct { Baseurl string `json:"base_url"` Username string `json:"username"` Token string `json:"token"` }
Client contains the information for connecting to a jenkins instance
type Job ¶
type Job struct { Name string `json:"name,omitempty"` DisplayName string `json:"fullDisplayName,omitempty"` LastBuild Build `json:"lastBuild,omitempty"` }
Job describes a job object from the Jenkins API.
type ViewsResponse ¶
type ViewsResponse struct {
Views []View `json:"views,omitempty"`
}
ViewsResponse describes a response for Views.
Click to show internal directories.
Click to hide internal directories.