Documentation ¶
Index ¶
- type Maven
- func (m *Maven) Changelog() string
- func (m *Maven) Condition(source string) (bool, error)
- func (m *Maven) ConditionFromSCM(source string, scm scm.ScmHandler) (bool, error)
- func (m *Maven) Source(workingDir string) (string, error)
- func (m Maven) Target(source string, dryRun bool) (bool, error)
- func (m Maven) 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 Maven ¶
type Maven struct {
// contains filtered or unexported fields
}
Maven defines a resource of kind "maven"
func New ¶
New returns a reference to a newly initialized Maven object from a Spec or an error if the provided Spec triggers a validation error.
func (*Maven) Changelog ¶
Changelog returns the changelog for this resource, or an empty string if not supported
func (*Maven) ConditionFromSCM ¶
ConditionFromSCM returns an error because it's not supported
type Spec ¶
type Spec struct { // Specifies the maven repository URL URL string `yaml:",omitempty"` // Specifies the maven repository name Repository string `yaml:",omitempty"` // Specifies the maven artifact groupID GroupID string `yaml:",omitempty"` // Specifies the maven artifact artifactID ArtifactID string `yaml:",omitempty"` // Specifies the maven artifact version Version string `yaml:",omitempty"` }
Spec defines a specification for a "maven" resource parsed from an updatecli manifest file
Click to show internal directories.
Click to hide internal directories.