Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ApplicationFilter = kyamls.Filter{ Kinds: []string{"argoproj.io/v1alpha1/Application", "argoproj.io/v1alpha1/ApplicationSet"}, } )
Functions ¶
func GetRepoURL ¶ added in v0.0.83
GetRepoURL gets repository URL
func SetAppSetVersion ¶ added in v0.4.16
SetAppSetVersion sets the applicationSet version
Types ¶
type AppFilter ¶
type AppFilter struct { RepoURL gitops.TextFilter Path gitops.TextFilter }
AppFilter filter for apps
func (*AppFilter) Matches ¶
func (o *AppFilter) Matches(v *AppVersion) bool
Matches return true if the app version matches the filter
type AppVersion ¶
AppVersion represents an app version metadata from an ArgoCD Application
func GetAppVersion ¶
func GetAppVersion(node *yaml.RNode, path string) *AppVersion
GetAppVersion gets the AppVersion from the given YAML file
func (*AppVersion) Key ¶
func (v *AppVersion) Key() string
Key returns a unique key for the app version
func (*AppVersion) String ¶
func (v *AppVersion) String() string
String returns the string summary of the app version
Click to show internal directories.
Click to hide internal directories.