Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "refresh <app>", Short: "Refresh ArgoCD Application (get + refresh)", Aliases: []string{"r"}, Args: cobra.ExactArgs(1), Run: func(c *cobra.Command, args []string) { appName := args[0] password := FlagPassword if password == "" { password = argocd_utils.ArgoCDGetInitialPassword("argocd") } token := argocd_utils.ArgoCDGetToken( c.Context(), FlagServerAddr, FlagInsecure, "admin", password, FlagCFAccessServiceTokenName, ) argocd_utils.ArgoCDRefresh( c.Context(), FlagServerAddr, FlagInsecure, token, appName, FlagCFAccessServiceTokenName, ) }, }
View Source
var FlagCFAccessServiceTokenName string
View Source
var FlagInsecure bool
View Source
var FlagPassword string
View Source
var FlagServerAddr string
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.