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.
Click to show internal directories.
Click to hide internal directories.