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
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
Click to show internal directories.
Click to hide internal directories.