extract

package
v0.1.20-experimental Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetResourcesFromBothBranches

func GetResourcesFromBothBranches(
	argocd *argocdPkg.ArgoCDInstallation,
	timeout uint64,
	baseApps []argoapplication.ArgoResource,
	targetApps []argoapplication.ArgoResource,
	prefix string,
	deleteAfterProcessing bool,
) ([]ExtractedApp, []ExtractedApp, time.Duration, error)

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

func HelmHookFilter

func HelmHookFilter(obj unstructured.Unstructured) bool

returns true if the object is NOT a Helm hook

Types

type ExtractedApp added in v0.1.4

type ExtractedApp struct {
	Id         string
	Name       string
	SourcePath string
	Manifest   []unstructured.Unstructured
	Branch     git.BranchType
}

contains a app name, source path, and extracted manifest

func CreateExtractedApp added in v0.1.11

func CreateExtractedApp(id string, name string, sourcePath string, manifest []unstructured.Unstructured, branch git.BranchType) ExtractedApp

CreateExtractedApp creates an ExtractedApp from an ArgoResource

Jump to

Keyboard shortcuts

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