Documentation ¶
Index ¶
- type Spec
- type Stash
- func (g *Stash) Changelog() string
- func (g *Stash) Condition(source string, scm scm.ScmHandler, resultCondition *result.Condition) error
- func (g *Stash) SearchBranches() (tags []string, err error)
- func (g *Stash) Source(workingDir string, resultSource *result.Source) error
- func (g Stash) Target(source string, scm scm.ScmHandler, dryRun bool, resultTarget *result.Target) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Spec ¶
type Spec struct { client.Spec `yaml:",inline,omitempty"` // [S][C] Owner specifies repository owner Owner string `yaml:",omitempty" jsonschema:"required"` // [S][C] Repository specifies the name of a repository for a specific owner Repository string `yaml:",omitempty" jsonschema:"required"` // [S] VersionFilter provides parameters to specify version pattern and its type like regex, semver, or just latest. VersionFilter version.Filter `yaml:",omitempty"` // [C] Branch specifies the branch name Branch string `yaml:",omitempty"` }
Spec defines settings used to interact with Bitbucket release
type Stash ¶
type Stash struct { HeadBranch string // contains filtered or unexported fields }
Stash contains information to interact with Stash api
func (*Stash) Changelog ¶
Changelog returns the changelog for this resource, or an empty string if not supported
func (*Stash) SearchBranches ¶
Retrieve bitbucket branches from a remote bitbucket repository
Click to show internal directories.
Click to hide internal directories.