AzuredevopsConn holds the essential information to connect to the Azure DevOps API
| 50 | |
| 51 | // AzuredevopsConn holds the essential information to connect to the Azure DevOps API |
| 52 | type AzuredevopsConn struct { |
| 53 | //api.RestConnection `mapstructure:",squash"` |
| 54 | AzuredevopsAccessToken `mapstructure:",squash"` |
| 55 | Organization string `json:"organization"` |
| 56 | //Endpoint string `mapstructure:"endpoint" json:"endpoint"` |
| 57 | Proxy string `mapstructure:"proxy" json:"proxy"` |
| 58 | //RateLimitPerHour int `comment:"api request rate limit per hour" json:"rateLimitPerHour"` |
| 59 | } |
| 60 | |
| 61 | func (conn *AzuredevopsConn) GetEndpoint() string { |
| 62 | return "https://dev.azure.com" |
nothing calls this directly
no outgoing calls
no test coverage detected