affected_apps

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

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 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) (map[string]string, []string, 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) (map[string]string, []string, error)

type Matcher

type Matcher interface {
	AffectedApps(ctx context.Context, changeList []string) (map[string]string, []string, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL