argocd

package
v0.0.0-...-55113ed Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	ARGOCD_CM                = "argocd-cm"
	RESOURCE_RELATION_LOOKUP = "resource-relation-lookup"
)

Variables

This section is empty.

Functions

func NewRepoServerManager

func NewRepoServerManager(kubeClient kubernetes.Interface, controllerNamespace string) *repoServerManager

Types

type ArgoCD

type ArgoCD interface {
	ListApplications() ([]v1alpha1.Application, error)
	ProcessApplication(v1alpha1.Application) error
	FilterApplicationsByArgoCDNamespace([]v1alpha1.Application, string) []v1alpha1.Application
}

ArgoCD is the interface for accessing Argo CD functions we need

func NewArgocd

func NewArgocd(kubeClient *kube.ResourceTrackerKubeClient) (ArgoCD, error)

NewK8SClient creates a new kube client to interact with kube api-server.

type ResourceTrackerResult

type ResourceTrackerResult struct {
	NumApplicationsProcessed int
	NumErrors                int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳