spec

package
v0.0.0-...-9248f4a Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: Apache-2.0 Imports: 6 Imported by: 1

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

func CredGithubRepository() *github.Client

Types

type Approve

type Approve struct {
	// contains filtered or unexported fields
}

func (Approve) String

func (a Approve) String() string

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

Jump to

Keyboard shortcuts

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