container

package
v1.6.3 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Container

type Container struct {
	ApplicationWatcher *app_watcher.ApplicationWatcher
	ArgoClient         *argo_client.ArgoClient

	Config config.ServerConfig

	RepoManager *git.RepoManager

	VcsClient    vcs.Client
	VcsToArgoMap VcsToArgoMap
}

type ReposCache

type ReposCache interface {
	Clone(ctx context.Context, repoUrl string) (string, error)
	CloneWithBranch(ctx context.Context, repoUrl, targetBranch string) (string, error)
}

type VcsToArgoMap

type VcsToArgoMap interface {
	AddApp(*v1alpha1.Application)
	UpdateApp(old, new *v1alpha1.Application)
	DeleteApp(*v1alpha1.Application)
	GetVcsRepos() []string
	GetAppsInRepo(string) *appdir.AppDirectory
	GetMap() map[pkg.RepoURL]*appdir.AppDirectory
	WalkKustomizeApps(cloneURL string, fs fs.FS) *appdir.AppDirectory
}

Jump to

Keyboard shortcuts

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