affected_apps

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: MPL-2.0 Imports: 12 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 []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 config.VcsToArgoMap, repo *repo.Repo, repoPath string) (*ArgocdMatcher, error)

func (*ArgocdMatcher) AffectedApps added in v1.0.7

func (a *ArgocdMatcher) AffectedApps(ctx context.Context, changeList []string, targetBranch 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, targetBranch string) (AffectedItems, error)

type Matcher

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

Jump to

Keyboard shortcuts

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