extract

package
v0.1.8-pre-release Latest Latest
Warning

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

Go to latest
Published: May 15, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourcesFromBothBranches

func GetResourcesFromBothBranches(
	argocd *argocdPkg.ArgoCDInstallation,
	baseBranch *git.Branch,
	targetBranch *git.Branch,
	timeout uint64,
	baseApps []argoapplication.ArgoResource,
	targetApps []argoapplication.ArgoResource,
) ([]ExtractedApp, []ExtractedApp, error)

GetResourcesFromBothBranches extracts resources from both base and target branches by applying their manifests to the cluster and capturing the resulting resources

Types

type ExtractedApp added in v0.1.4

type ExtractedApp struct {
	Id         string
	Name       string
	SourcePath string
	Manifest   string
}

contains a app name, source path, and extracted manifest

Jump to

Keyboard shortcuts

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