Documentation
¶
Index ¶
Constants ¶
View Source
const (
SSHAuthSock = "SSH_AUTH_SOCK"
)
Variables ¶
View Source
var Cmd = &cobra.Command{ Use: "add [--name <name>] [--url <url>] [--branch <branch>] [--path <path within repository>] <repository directory>", Short: "Add a workload repository to a gitops cluster", Long: strings.TrimSpace(dedent.Dedent(` Associates an additional application in a git repository with a gitops cluster so that its contents may be managed via GitOps `)), Example: ` # Add application to gitops control from local git repository gitops app add . # Add podinfo application to gitops control from github repository gitops app add --url git@github.com:myorg/podinfo # Get status of podinfo application gitops app status podinfo `, RunE: runCmd, SilenceUsage: true, SilenceErrors: true, PostRun: func(cmd *cobra.Command, args []string) { version.CheckVersion(version.CheckpointParamsWithFlags(version.CheckpointParams(), cmd)) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.