Documentation
¶
Overview ¶
Package argo reads Argo CD Application manifests and turns their Helm sources into chart + values targets.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotApplication = fmt.Errorf("no Argo CD Application found")
ErrNotApplication is returned for YAML files that hold no Application.
Functions ¶
func ChangedFiles ¶
ChangedFiles lists files changed between rev and the working tree, as absolute paths.
Types ¶
type Application ¶
func Load ¶
func Load(path string) (*Application, error)
func Parse ¶
func Parse(data []byte) (*Application, error)
type Target ¶
type Target struct {
App string
Name string
SourceIndex int
Chart source.Ref
Release string
Namespace string
ValueFiles []string
Values string
ValuesObj map[string]interface{}
Parameters []Parameter
}
Target is one Helm source of an Application, resolved against a local checkout: a chart reference plus the values Argo CD would pass to it.
Click to show internal directories.
Click to hide internal directories.