Documentation
¶
Overview ¶
Package azuredevops contains Azure DevOps specific implementations of source-related functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrMissingEnvVariable reports missing mandatory environment variables. ErrMissingEnvVariable = errors.New("missing environment variable") // ErrInvalidEnvVariable reports malformed environment variable values. ErrInvalidEnvVariable = errors.New("invalid environment value") )
View Source
var ( ErrDevOpsSource = errors.New("azure devops source") ErrNoAuthenticationHeaderFound = errors.New("no authentication header found in request") ErrMultipleAuthenticationHeadersFound = errors.New("multiple authentication headers found in request") ErrInvalidAuthenticationType = errors.New("invalid authentication type in request") ErrInvalidWebhookPayload = errors.New("invalid webhook payload") )
Functions ¶
This section is empty.
Types ¶
type Source ¶
type Source struct {
// contains filtered or unexported fields
}
Source implement both source.WebhookSource and source.SyncableSource for Azure DevOps.
func NewSource ¶
NewSource creates a new Azure DevOps Source reading the needed configuration from the env variables.
Click to show internal directories.
Click to hide internal directories.