azuredevops

package
v0.5.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 13, 2025 License: Apache-2.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrMissingRequiredField = errors.New("missing required field")
	ErrInvalidHost          = errors.New("invalid host URL")
)

Functions

func AddSourceToRouter

func AddSourceToRouter(ctx context.Context, cfg config.GenericConfig, pg pipeline.IPipelineGroup, router *swagger.Router[fiber.Handler, fiber.Router]) error

Types

type Config

type Config struct {
	webhook.Configuration[*basic.Authentication]

	AzureDevOpsOrganizationURL     string              `json:"azureDevOpsOrganizationUrl"`
	AzureDevOpsPersonalAccessToken config.SecretSource `json:"azureDevOpsPersonalAccessToken"`
	ImportWebhookPath              string              `json:"importWebhookPath"`
	WebhookHost                    string              `json:"webhookHost"`
}

func (*Config) Validate

func (c *Config) Validate() error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL