azuredevops

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreatePullRequestComment

func CreatePullRequestComment(azureDevOpsParameters *AzureDevOpsParameters, content string) error

Creates a comment with the given content on a pull request specified by the given parameters.

Types

type AzureDevOpsParameters

type AzureDevOpsParameters struct {
	Instance            string
	Organization        string
	PersonalAccessToken string
	Project             string
	PullRequestId       int
	RepositoryId        string
}

Common parameters required to work with the Azure DevOps API.

func (AzureDevOpsParameters) GetOrganizationUri

func (a AzureDevOpsParameters) GetOrganizationUri() string

Retrieves the organization base URL from the parameters based on the instance and organization.

Jump to

Keyboard shortcuts

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