Documentation ¶
Index ¶
- Constants
- Variables
- func ResourceBranchPolicyAutoReviewers() *schema.Resource
- func ResourceBranchPolicyBuildValidation() *schema.Resource
- func ResourceBranchPolicyCommentResolution() *schema.Resource
- func ResourceBranchPolicyMergeTypes() *schema.Resource
- func ResourceBranchPolicyMinReviewers() *schema.Resource
- func ResourceBranchPolicyStatusCheck() *schema.Resource
- func ResourceBranchPolicyWorkItemLinking() *schema.Resource
Constants ¶
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 ¶
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 ¶
ResourceBranchPolicyAutoReviewers schema and implementation for automatic code reviewer policy resource
func ResourceBranchPolicyBuildValidation ¶
ResourceBranchPolicyBuildValidation schema and implementation for build validation policy resource
func ResourceBranchPolicyCommentResolution ¶
ResourceBranchPolicyCommentResolution schema and implementation for min reviewer policy resource
func ResourceBranchPolicyMergeTypes ¶
ResourceBranchPolicyMinReviewers schema and implementation for min reviewer policy resource
func ResourceBranchPolicyMinReviewers ¶
ResourceBranchPolicyMinReviewers schema and implementation for min reviewer policy resource
func ResourceBranchPolicyWorkItemLinking ¶
ResourceBranchPolicyWorkItemLinking schema and implementation for min reviewer policy resource
Types ¶
This section is empty.