Documentation ¶
Index ¶
Constants ¶
View Source
const ( GoBreakingChange label = "CI-BreakingChange-Go" JsBreakingChange label = "CI-BreakingChange-JavaScript" PythonBreakingChange label = "CI-BreakingChange-Python" PythonTrack2BreakingChange label = "CI-BreakingChange-Python-Track2" DotNetBreakingChange label = "CI-BreakingChange-DotNet" JavaBreakingChange label = "CI-BreakingChange-Java" GoApprovedBreakingChange label = "Approved-SdkBreakingChange-Go" JsApprovedBreakingChange label = "Approved-SdkBreakingChange-JavaScript" PythonApprovedBreakingChange label = "Approved-SdkBreakingChange-Python" // private specs GoPrivateApproveBreakingChange label = "Approved-BreakingChange-Go" )
enable
View Source
const ( BreakingChangeReviewRequired label = "BreakingChangeReviewRequired" NewApiVersionRequired label = "NewApiVersionRequired" ApprovedBreakingChange label = "Approved-BreakingChange" BreakingChangeApproved label = "BreakingChange-Approved" )
when
View Source
const ( ARMReview label = "ARMReview" WaitForARMFeedback label = "WaitForARMFeedback" ARMChangesRequested label = "ARMChangesRequested" ARMSignedOff label = "ARMSignedOff" )
View Source
const ( ArcReview label = "ArcReview" ArcSignedOff label = "ArcSignedOff" )
View Source
const ( BreakingChange_GO_SDK label = "BreakingChange-Go-Sdk" BreakingChange_JavaScript_SDK label = "BreakingChange-JavaScript-Sdk" BreakingChange_Python_SDK label = "BreakingChange-Python-Sdk" BreakingChange_GO_SDK_Suppression label = "BreakingChange-Go-Sdk-Suppression" BreakingChange_JavaScript_SDK_Suppression label = "BreakingChange-JavaScript-Sdk-Suppression" BreakingChange_Python_SDK_Suppression label = "BreakingChange-Python-Sdk-Suppression" // Changes are not breaking at the REST API level and have at most minor impact to generated SDKs BreakingChange_Approved_Benign label = "BreakingChange-Approved-Benign" // Changes are to correct the REST API definition to correctly describe service behavior BreakingChange_Approved_BigFix label = "BreakingChange-Approved-BugFix" // Changes were reviewed and approved in a previous PR BreakingChange_Approved_Previously label = "BreakingChange-Approved-Previously" // Changes are not backward compatible and may cause customer disruption. BreakingChange_Approved_UserImpact label = "BreakingChange-Approved-UserImpact" BreakingChange_GO_SDK_Approved label = "BreakingChange-Go-Sdk-Approved" BreakingChange_JavaScript_SDK_Approved label = "BreakingChange-JavaScript-Sdk-Approved" BreakingChange_Python_SDK_Approved label = "BreakingChange-Python-Sdk-Approved" BreakingChange_GO_SDK_Suppression_Approved label = "BreakingChange-Go-Sdk-Suppression-Approved" BreakingChange_JavaScript_SDK_Suppression_Approved label = "BreakingChange-JavaScript-Sdk-Suppression-Approved" BreakingChange_Python_SDK_Suppression_Approved label = "BreakingChange-Python-Sdk-Suppression-Approved" )
新规则
View Source
const ( Owner = "Azure" PublicRepository = "azure-rest-api-specs" PrivateRepository = "azure-rest-api-specs-pr" )
Variables ¶
This section is empty.
Functions ¶
func CredGithubRepository ¶
Types ¶
type PullRequest ¶
type PullRequest struct {
// contains filtered or unexported fields
}
func NewPullRequest ¶
func NewPullRequest() *PullRequest
func (*PullRequest) Check ¶
func (pr *PullRequest) Check(repo string) error
Click to show internal directories.
Click to hide internal directories.