Documentation ¶
Index ¶
- type Gitlab
- func (g *Gitlab) Changelog() string
- func (g *Gitlab) Condition(source string) (bool, error)
- func (g *Gitlab) ConditionFromSCM(source string, scm scm.ScmHandler) (bool, error)
- func (g *Gitlab) SearchBranches() (tags []string, err error)
- func (g *Gitlab) Source(workingDir string) (string, error)
- func (g *Gitlab) Target(source string, dryRun bool) (bool, error)
- func (g Gitlab) TargetFromSCM(source string, scm scm.ScmHandler, dryRun bool) (bool, []string, string, error)
- type Spec
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Gitlab ¶
type Gitlab struct { HeadBranch string // contains filtered or unexported fields }
Gitlab contains information to interact with Gitlab api
func (*Gitlab) Changelog ¶
Changelog returns the changelog for this resource, or an empty string if not supported
func (*Gitlab) ConditionFromSCM ¶
func (*Gitlab) SearchBranches ¶
Retrieve Gitlab branches from a remote Gitlab repository
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 Gitlab release
Click to show internal directories.
Click to hide internal directories.