argocd

package
v0.3.8 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CloneRepo

func CloneRepo(
	kubeClient *kubernetes.Clientset,
	argocdNs string,
	repoUrl string,
	repoBranch string,
) (repo *gogit.Repository, tmpDir string, auth *http.BasicAuth, err error)

Clones a git repo registered with argocd into a local repository

func NewArgocdClientOrDie

func NewArgocdClientOrDie(argocdConfigPath string) apiclient.Client

Types

type RepoCreds

type RepoCreds struct {
	Url      string
	Username string
	Password string
}

Jump to

Keyboard shortcuts

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