extract

package
v0.1.5-pre-release Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2025 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourcesFromBothBranches

func GetResourcesFromBothBranches(
	argocd *argocd.ArgoCDInstallation,
	baseBranch *git.Branch,
	targetBranch *git.Branch,
	timeout uint64,
	baseManifest string,
	targetManifest string,
) ([]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