branch

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2023 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SchemaProjectID     = "project_id"
	SchemaEnabled       = "enabled"
	SchemaBlocking      = "blocking"
	SchemaSettings      = "settings"
	SchemaScope         = "scope"
	SchemaRepositoryID  = "repository_id"
	SchemaRepositoryRef = "repository_ref"
	SchemaMatchType     = "match_type"
)

Keys for schema elements

Variables

View Source
var (
	MinReviewerCount  = uuid.MustParse("fa4e907d-c16b-4a4c-9dfa-4906e5d171dd")
	BuildValidation   = uuid.MustParse("0609b952-1397-4640-95ec-e00a01b2c241")
	AutoReviewers     = uuid.MustParse("fd2167ab-b0be-447a-8ec8-39368250530e")
	WorkItemLinking   = uuid.MustParse("40e92b44-2fe1-4dd6-b3d8-74a9c21d0c6e")
	CommentResolution = uuid.MustParse("c6a1889d-b943-4856-b76f-9e46bb6b0df2")
	MergeTypes        = uuid.MustParse("fa4e907d-c16b-4a4c-9dfa-4916e5d171ab")
	StatusCheck       = uuid.MustParse("cbdc66da-9728-4af8-aada-9a5a32e4a226")
)

Policy type IDs. These are global and can be listed using the following endpoint:

https://docs.microsoft.com/en-us/rest/api/azure/devops/policy/types/list?view=azure-devops-rest-5.1

Functions

func ResourceBranchPolicyAutoReviewers

func ResourceBranchPolicyAutoReviewers() *schema.Resource

ResourceBranchPolicyAutoReviewers schema and implementation for automatic code reviewer policy resource

func ResourceBranchPolicyBuildValidation

func ResourceBranchPolicyBuildValidation() *schema.Resource

ResourceBranchPolicyBuildValidation schema and implementation for build validation policy resource

func ResourceBranchPolicyCommentResolution

func ResourceBranchPolicyCommentResolution() *schema.Resource

ResourceBranchPolicyCommentResolution schema and implementation for min reviewer policy resource

func ResourceBranchPolicyMergeTypes

func ResourceBranchPolicyMergeTypes() *schema.Resource

ResourceBranchPolicyMinReviewers schema and implementation for min reviewer policy resource

func ResourceBranchPolicyMinReviewers

func ResourceBranchPolicyMinReviewers() *schema.Resource

ResourceBranchPolicyMinReviewers schema and implementation for min reviewer policy resource

func ResourceBranchPolicyStatusCheck

func ResourceBranchPolicyStatusCheck() *schema.Resource

func ResourceBranchPolicyWorkItemLinking

func ResourceBranchPolicyWorkItemLinking() *schema.Resource

ResourceBranchPolicyWorkItemLinking schema and implementation for min reviewer policy resource

Types

This section is empty.

Jump to

Keyboard shortcuts

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