Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spec ¶
type Spec struct {
client.Spec
// SourceBranch specifies the pullrequest source branch
SourceBranch string `yaml:",inline,omitempty"`
// TargetBranch specifies the pullrequest target branch
TargetBranch string `yaml:",inline,omitempty"`
// Owner specifies repository owner
Owner string `yaml:",omitempty" jsonschema:"required"`
// Repository specifies the name of a repository for a specific owner
Repository string `yaml:",omitempty" jsonschema:"required"`
// Title defines the Bitbucket pullrequest title.
Title string `yaml:",inline,omitempty"`
// Body defines the Bitbucket pullrequest body
Body string `yaml:",inline,omitempty"`
}
Spec defines settings used to interact with Bitbucket Server pullrequest It's a mapping of user input from a Updatecli manifest and it shouldn't modified
type Stash ¶
type Stash struct {
// SourceBranch specifies the pullrequest source branch.
SourceBranch string `yaml:",inline,omitempty"`
// TargetBranch specifies the pullrequest target branch
TargetBranch string `yaml:",inline,omitempty"`
// Owner specifies repository owner
Owner string `yaml:",omitempty" jsonschema:"required"`
// Repository specifies the name of a repository for a specific owner
Repository string `yaml:",omitempty" jsonschema:"required"`
// contains filtered or unexported fields
}
Stash contains information to interact with Bitbucket Server API
func (*Stash) CheckActionExist ¶ added in v0.89.0
CheckActionExist verifies if an existing Stash pullrequest is already opened.
func (*Stash) CleanAction ¶ added in v0.75.0
CleanAction verifies if an existing action requires some operations
Click to show internal directories.
Click to hide internal directories.