Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectivityCheck ¶
func ConnectivityCheck() error
Types ¶
type AppResource ¶
type ApplicationResourcesWithChanges ¶
type ApplicationResourcesWithChanges struct { ArgoApp *v1alpha1.Application TotalObjectCount int 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.
func GetApplicationDiff ¶
func GetApplicationDiff(ctx context.Context, appName, appNs, revision string) (ApplicationResourcesWithChanges, error)
type DifferenceOption ¶
type DifferenceOption struct {
// contains filtered or unexported fields
}
DifferenceOption struct to store diff options
Click to show internal directories.
Click to hide internal directories.