Documentation
¶
Index ¶
- Variables
- func CreateBasicAuthHeaderValue(username string, password string) string
- func DownloadPackerHostLogs(downloadPathParam *string) (downloadPath string, dlFileCount int)
- func GetPipelines(org string, project string, pat string) []byte
- type ListProjectsResponse
- type Pipeline
- type PipelineResponse
- type PipelineRun
- type PipelineRunResponse
- type Project
Constants ¶
This section is empty.
Variables ¶
View Source
var AzureDevOpsBaseUrl = "https://dev.azure.com/"
View Source
var AzureDevopsApiVersion = "api-version=7.2-preview.1"
Functions ¶
func DownloadPackerHostLogs ¶ added in v0.1.15
Downloads default to $HOME/.config/cld/cache/aib-logs if nil passed into function for downloadPathParam
Types ¶
type ListProjectsResponse ¶
type Pipeline ¶
type PipelineResponse ¶
type PipelineResponse struct { Links struct { Self struct { Href string `json:"href"` } `json:"self"` Web struct { Href string `json:"href"` } `json:"web"` } `json:"_links"` Folder string `json:"folder"` ID int `json:"id"` Name string `json:"name"` Revision float64 `json:"revision"` URL string `json:"url"` }
type PipelineRun ¶
type PipelineRun struct { Name string `json:"name"` ID int `json:"id"` CreatedDate time.Time `json:"createdDate"` FinishedDate time.Time `json:"finishedDate"` Result string `json:"result"` State string `json:"state"` WebUrl string `json:"webUrl"` Pipeline struct { Name string `json:"name"` ID int `json:"id"` Project string `json:"project"` Folder string `json:"folder"` WebUrl string `json:"webUrl"` } }
type PipelineRunResponse ¶
type PipelineRunResponse struct { Links struct { Pipeline struct { Href string `json:"href"` } `json:"pipeline"` Pipeline_Web struct { Href string `json:"href"` } `json:"pipeline.web"` Self struct { Href string `json:"href"` } `json:"self"` Web struct { Href string `json:"href"` } `json:"web"` } `json:"_links"` CreatedDate time.Time `json:"createdDate"` FinishedDate time.Time `json:"finishedDate"` ID int `json:"id"` Name string `json:"name"` Pipeline struct { Folder string `json:"folder"` ID int `json:"id"` Name string `json:"name"` Revision int `json:"revision"` WebUrl string `json:"url"` } `json:"pipeline"` Result string `json:"result"` State string `json:"state"` TemplateParameters struct{} `json:"templateParameters"` WebUrl string `json:"url"` }
Click to show internal directories.
Click to hide internal directories.