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 ( NoActiveComments = uuid.MustParse("c6a1889d-b943-4856-b76f-9e46bb6b0df2") MinReviewerCount = uuid.MustParse("fa4e907d-c16b-4a4c-9dfa-4906e5d171dd") BuildValidation = uuid.MustParse("0609b952-1397-4640-95ec-e00a01b2c241") )
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 ResourceBranchPolicyBuildValidation ¶
ResourceBranchPolicyBuildValidation schema and implementation for build validation policy resource
func ResourceBranchPolicyMinReviewers ¶
ResourceBranchPolicyMinReviewers schema and implementation for min reviewer policy resource
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.