argocd

package
v0.0.0-...-59b8a6d Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2025 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConnectivityCheck

func ConnectivityCheck() error

Types

type AppResource

type AppResource struct {
	ApiVersion string
	Group      string
	Kind       string
	Namespace  string
	Name       string
	DiffStr    string
}

type ApplicationResourcesWithChanges

type ApplicationResourcesWithChanges struct {
	ArgoApp          *v1alpha1.Application
	ChangedResources []AppResource
	WarnStr          string
}

func GetApplicationChanges

func GetApplicationChanges(ctx context.Context, repoOwner, repoName, repoDefaultRef, revision, changeRef, baseRef string) ([]ApplicationResourcesWithChanges, error)

Called by processEvent() in main.go to fetch matching ArgoCD applications (based on repo owner & name) and return their manifests.

Jump to

Keyboard shortcuts

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