Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ArgoCDDiff ¶
func ArgoCDDiff() error
ArgoCDDiff runs a diff between local changes and the current running state in ArgoCD
func ArgoCDListApps ¶
func ArgoCDListApps() error
ArgoCDListApps show the apps related to this repository
func KubeConform ¶
func KubeConform() error
KubeConform runs kubeconform on Kubernetes manifests for ArgCD applications related to this repository
func KubeScore ¶
func KubeScore() error
KubeScore runs kube-score on Kubernetes manifests for ArgCD applications related to this repository
Types ¶
type ArgoCDApp ¶
type ArgoCDApp struct { Spec ArgoCDAppSpec `yaml:"spec"` Metadata ArgoCDAppMetadata `yaml:"metadata"` }
ArgoCDApp contains the spec and metadata of an app
type ArgoCDAppHelm ¶
type ArgoCDAppHelm struct { ReleaseName string `yaml:"releaseName"` ValueFiles []string `yaml:"valueFiles"` }
ArgoCDAppHelm contains the info for rendering a helm file
type ArgoCDAppMetadata ¶
type ArgoCDAppMetadata struct {
Name string `yaml:"name"`
}
ArgoCDAppMetadata contains the app name
type ArgoCDAppSource ¶
type ArgoCDAppSource struct { Helm ArgoCDAppHelm `yaml:"helm"` Path string `yaml:"path"` RepoRUL string `yaml:"repoURL"` }
ArgoCDAppSource contains the info where to find the source for rendering
type ArgoCDAppSpec ¶
type ArgoCDAppSpec struct { Source ArgoCDAppSource `yaml:"source"` Sources []ArgoCDAppSource `yaml:"sources"` }
ArgoCDAppSpec contains the app source
type HelmChart ¶ added in v0.2.0
type HelmChart struct {
Dependencies []HelmDependency `yaml:"dependencies"`
}
HelmChart contains all metadata of an helm chart