affected_apps

package
v1.8.1 Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MPL-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AffectedItems added in v1.0.7

type AffectedItems struct {
	Applications    []v1alpha1.Application
	ApplicationSets []v1alpha1.ApplicationSet
}

func (AffectedItems) Union added in v1.6.0

func (ai AffectedItems) Union(other AffectedItems) AffectedItems

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 container.VcsToArgoMap, repo *git.Repo) (*ArgocdMatcher, error)

func (*ArgocdMatcher) AffectedApps added in v1.0.7

func (a *ArgocdMatcher) AffectedApps(_ context.Context, changeList []string, targetBranch string, repo *git.Repo) (AffectedItems, error)

type ConfigMatcher

type ConfigMatcher struct {
	// contains filtered or unexported fields
}

func NewConfigMatcher

func NewConfigMatcher(cfg *repo_config.Config, ctr container.Container) *ConfigMatcher

func (*ConfigMatcher) AffectedApps

func (b *ConfigMatcher) AffectedApps(ctx context.Context, changeList []string, _ string, _ *git.Repo) (AffectedItems, error)

type Matcher

type Matcher interface {
	AffectedApps(ctx context.Context, changeList []string, targetBranch string, repo *git.Repo) (AffectedItems, error)
}

func NewMultiMatcher added in v1.6.0

func NewMultiMatcher(matchers ...Matcher) Matcher

type MultiMatcher added in v1.6.0

type MultiMatcher struct {
	// contains filtered or unexported fields
}

func (MultiMatcher) AffectedApps added in v1.6.0

func (m MultiMatcher) AffectedApps(ctx context.Context, changeList []string, targetBranch string, repo *git.Repo) (AffectedItems, error)

Jump to

Keyboard shortcuts

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