Help us shape the future of Go! Take the 2026 Go Developer Survey

argocd

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 31, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Index

Constants

This section is empty.

Variables

View Source
var ArgoOutputDir *string
View Source
var ArgocdAppCmd = &cobra.Command{
	Use:   "app [rootDir]",
	Short: "Render manifests from ArgoCD Application",
	Args:  cobra.ExactArgs(1),
	Long:  `Render manifests from ArgoCD Application`,
	RunE: func(cmd *cobra.Command, args []string) error {
		return argocd.Render(args[0], *repoServerUrl, *ArgoOutputDir, argocd.RepoCredentails{
			Username: *RepoUsername,
			Password: *RepoPassword,
			KeyFile:  *RepoSshKey,
		})
	},
}

argocdCmd represents the argocd command

View Source
var ArgocdAppSetCmd = &cobra.Command{
	Use:   "appset [sourceDir]",
	Short: "Render ArgoCD Applications manifests from ApplicationSets",
	Args:  cobra.ExactArgs(1),
	Long:  `Render ArgoCD Applications manifests from ArgoCD ApplicationSets`,
	RunE: func(cmd *cobra.Command, args []string) error {
		return argocd.RenderApplicationSets(args[0], *ArgoOutputDir)
	},
}

argocdCmd represents the argocd command

View Source
var ArgocdCmd = &cobra.Command{
	Use:   "argocd",
	Short: "Render manifests from ArgoCD resources",
	Long:  `Render manifests from ArgoCD resources`,
	RunE: func(cmd *cobra.Command, args []string) error {
		return fmt.Errorf("specify one subcommand [app|appset]")
	},
}

argocdCmd represents the argocd command

View Source
var RepoPassword *string
View Source
var RepoSshKey *string
View Source
var RepoUsername *string

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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