Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HelmReleaseKindFilter = kyamls.Filter{ Kinds: []string{"helm.toolkit.fluxcd.io/v2beta1/HelmRelease"}, } )
Functions ¶
Types ¶
type ChartVersion ¶
ChartVersion represents a helm chart release version metadata from an Fluxcd HelmRelease resource
func GetChartVersion ¶
func GetChartVersion(node *yaml.RNode, path string) *ChartVersion
GetChartVersion gets the ChartVersion from the given YAML file
func (*ChartVersion) Key ¶
func (v *ChartVersion) Key() string
Key returns a unique key for the helm chart version
func (*ChartVersion) String ¶
func (v *ChartVersion) String() string
String returns the string summary of the helm chart version
type HelmReleaseFilter ¶
type HelmReleaseFilter struct { Chart gitops.TextFilter SourceRefName gitops.TextFilter }
HelmReleaseFilter filter for helm releases
func (*HelmReleaseFilter) AddFlags ¶
func (o *HelmReleaseFilter) AddFlags(cmd *cobra.Command)
func (*HelmReleaseFilter) Matches ¶
func (o *HelmReleaseFilter) Matches(v *ChartVersion) bool
Matches return true if the app version matches the filter
Click to show internal directories.
Click to hide internal directories.