Documentation ¶
Index ¶
- type Gitea
- func (g *Gitea) Changelog() string
- func (g *Gitea) Condition(source string) (bool, error)
- func (g *Gitea) ConditionFromSCM(source string, scm scm.ScmHandler) (bool, error)
- func (g *Gitea) SearchTags() (tags []string, err error)
- func (g *Gitea) Source(workingDir string) (string, error)
- func (g *Gitea) Target(source string, dryRun bool) (bool, error)
- func (g Gitea) 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 Gitea ¶
type Gitea struct {
// contains filtered or unexported fields
}
Gitea contains information to interact with Gitea api
func (*Gitea) Changelog ¶
Changelog returns the changelog for this resource, or an empty string if not supported
func (*Gitea) ConditionFromSCM ¶
func (*Gitea) SearchTags ¶
Retrieve git tags from a remote gitea 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][C] VersionFilter provides parameters to specify version pattern and its type like regex, semver, or just latest. VersionFilter version.Filter `yaml:",omitempty"` // [S] Tag defines the Gitea tag . Tag string `yaml:",omitempty"` }
Spec defines settings used to interact with Gitea release
Click to show internal directories.
Click to hide internal directories.