Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BuildResultResponse ¶
type BuildResultResponse struct { Results struct { Result []struct { Link struct { Href string `json:"href"` Rel string `json:"rel"` } `json:"link"` Plan struct { Shortname string `json:"shortName"` Shortkey string `json:"shortKey"` Type string `json:"type"` Enabled bool `json:"enabled"` Key string `json:"key"` Name string `json:"name"` Plankey struct { Key string `json:"key"` } `json:"planKey"` } `json:"plan"` Buildresultkey string `json:"buildResultKey"` Lifecyclestate string `json:"lifeCycleState"` ID int `json:"id"` Key string `json:"key"` Planresultkey struct { Key string `json:"key"` Entitykey struct { Key string `json:"key"` } `json:"entityKey"` Resultnumber int `json:"resultNumber"` } `json:"planResultKey"` State string `json:"state"` Buildstate string `json:"buildState"` Number int `json:"number"` Buildnumber int `json:"buildNumber"` } `json:"result"` } `json:"results"` }
func BuildResults ¶
func BuildResults(server string, user string, pass string) (response BuildResultResponse)
type Deploys ¶
type Deploys []struct { Environmentstatuses []struct { Environment struct { ID int `json:"id"` Name string `json:"name"` Deploymentprojectid int `json:"deploymentProjectId"` } `json:"environment"` Deploymentresult struct { Deploymentversion struct { ID int `json:"id"` Name string `json:"name"` Creationdate int64 `json:"creationDate"` Creatorusername string `json:"creatorUserName"` Creatordisplayname string `json:"creatorDisplayName"` Planbranchname string `json:"planBranchName"` Agezeropoint int64 `json:"ageZeroPoint"` } `json:"deploymentVersion"` Deploymentversionname string `json:"deploymentVersionName"` ID int `json:"id"` Deploymentstate string `json:"deploymentState"` Lifecyclestate string `json:"lifeCycleState"` Starteddate int64 `json:"startedDate"` Queueddate int64 `json:"queuedDate"` Executeddate int64 `json:"executedDate"` Finisheddate int64 `json:"finishedDate"` Reasonsummary string `json:"reasonSummary"` } `json:"deploymentResult"` } `json:"environmentStatuses"` }
type QueueResponse ¶
type QueueResponse struct { Message string `json:"message"` StatusCode int `json:"status-code"` Plankey string `json:"planKey"` Buildnumber int `json:"buildNumber"` Buildresultkey string `json:"buildResultKey"` Triggerreason string `json:"triggerReason"` Link struct { Href string `json:"href"` Rel string `json:"rel"` } `json:"link"` }
type Result ¶
type Result struct { Key string `xml:"buildResultKey"` PlanData Plan `xml:"plan"` Plan string Number string `xml:"buildNumber"` StartTime string `xml:"prettyBuildStartedTime"` CompleteTime string `xml:"prettyBuildCompletedTime"` State string `xml:"buildState"` Duration string `xml:"buildDurationDescription"` Responsible string `xml:"reasonSummary"` }
Click to show internal directories.
Click to hide internal directories.