MCPcopy Create free account
hub / github.com/apache/devlake / AzuredevopsConn

Struct AzuredevopsConn

backend/plugins/azuredevops_go/models/connection.go:52–59  ·  view source on GitHub ↗

AzuredevopsConn holds the essential information to connect to the Azure DevOps API

Source from the content-addressed store, hash-verified

50
51// AzuredevopsConn holds the essential information to connect to the Azure DevOps API
52type 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
61func (conn *AzuredevopsConn) GetEndpoint() string {
62 return "https://dev.azure.com"

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected