Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( HelmPath = []string{"apps/", "argocd/", "charts/", "manifests/"} HelmFileTypes = []string{".yaml", ".yml", ".tpl"} KustomizeSubPaths = []string{"base/", "bases/", "components/", "overlays/", "resources/"} )
TODO: move this out to config and or in an .kubechecks.yaml as well
Functions ¶
This section is empty.
Types ¶
type AffectedItems ¶ added in v1.0.7
type AffectedItems struct { Applications []app_directory.ApplicationStub ApplicationSets []ApplicationSet }
type ApplicationSet ¶ added in v1.0.7
type ApplicationSet struct {
Name string
}
type ArgocdMatcher ¶ added in v1.0.7
type ArgocdMatcher struct {
// contains filtered or unexported fields
}
func NewArgocdMatcher ¶ added in v1.0.7
func NewArgocdMatcher(vcsToArgoMap pkg.VcsToArgoMap, repo *repo.Repo) *ArgocdMatcher
func (*ArgocdMatcher) AffectedApps ¶ added in v1.0.7
func (a *ArgocdMatcher) AffectedApps(ctx context.Context, changeList []string) (AffectedItems, error)
type BestEffort ¶
type BestEffort struct {
// contains filtered or unexported fields
}
func NewBestEffortMatcher ¶
func NewBestEffortMatcher(repoName string, repoFileList []string) *BestEffort
func (*BestEffort) AffectedApps ¶
func (b *BestEffort) AffectedApps(ctx context.Context, changeList []string) (AffectedItems, error)
type ConfigMatcher ¶
type ConfigMatcher struct {
// contains filtered or unexported fields
}
func NewConfigMatcher ¶
func NewConfigMatcher(cfg *repo_config.Config) *ConfigMatcher
func (*ConfigMatcher) AffectedApps ¶
func (b *ConfigMatcher) AffectedApps(ctx context.Context, changeList []string) (AffectedItems, error)
Click to show internal directories.
Click to hide internal directories.