Documentation ¶
Index ¶
- Constants
- func GenerateToken(clusterOpts cmdutil.ClusterOptions, conf *rest.Config) (string, error)
- func NewAdminCommand() *cobra.Command
- func NewAppCommand() *cobra.Command
- func NewClusterCommand(pathOpts *clientcmd.PathOptions) *cobra.Command
- func NewClusterConfig() *cobra.Command
- func NewClusterDisableNamespacedMode() *cobra.Command
- func NewClusterEnableNamespacedMode() *cobra.Command
- func NewClusterNamespacesCommand() *cobra.Command
- func NewClusterShardsCommand() *cobra.Command
- func NewClusterStatsCommand() *cobra.Command
- func NewDashboardCommand() *cobra.Command
- func NewDiffReconcileResults() *cobra.Command
- func NewExportCommand() *cobra.Command
- func NewGenAppSpecCommand() *cobra.Command
- func NewGenClusterConfigCommand(pathOpts *clientcmd.PathOptions) *cobra.Command
- func NewGenProjectSpecCommand() *cobra.Command
- func NewGenRepoSpecCommand() *cobra.Command
- func NewImportCommand() *cobra.Command
- func NewInitialPasswordCommand() *cobra.Command
- func NewNotificationsCommand() *cobra.Command
- func NewProjectAllowListGenCommand() *cobra.Command
- func NewProjectsCommand() *cobra.Command
- func NewRBACCanCommand() *cobra.Command
- func NewRBACCommand() *cobra.Command
- func NewRBACValidateCommand() *cobra.Command
- func NewReconcileCommand() *cobra.Command
- func NewRedisInitialPasswordCommand() *cobra.Command
- func NewRepoCommand() *cobra.Command
- func NewResourceActionListCommand(cmdCtx commandContext) *cobra.Command
- func NewResourceActionRunCommand(cmdCtx commandContext) *cobra.Command
- func NewResourceHealthCommand(cmdCtx commandContext) *cobra.Command
- func NewResourceIgnoreDifferencesCommand(cmdCtx commandContext) *cobra.Command
- func NewResourceIgnoreResourceUpdatesCommand(cmdCtx commandContext) *cobra.Command
- func NewResourceOverridesCommand(cmdCtx commandContext) *cobra.Command
- func NewSettingsCommand() *cobra.Command
- func NewUpdatePolicyRuleCommand() *cobra.Command
- func NewValidateSettingsCommand(cmdCtx commandContext) *cobra.Command
- func PrintResources(output string, out io.Writer, resources ...interface{}) error
- type ClusterWithInfo
Constants ¶
const (
ArgoCDNamespace = "argocd"
)
Variables ¶
This section is empty.
Functions ¶
func GenerateToken ¶
func NewAdminCommand ¶
NewAdminCommand returns a new instance of an argocd command
func NewAppCommand ¶
func NewClusterCommand ¶
func NewClusterCommand(pathOpts *clientcmd.PathOptions) *cobra.Command
func NewClusterConfig ¶
NewClusterConfig returns a new instance of `argocd admin kubeconfig` command
func NewClusterShardsCommand ¶
func NewClusterStatsCommand ¶
func NewDashboardCommand ¶
func NewDiffReconcileResults ¶
func NewExportCommand ¶
NewExportCommand defines a new command for exporting Kubernetes and Argo CD resources.
func NewGenAppSpecCommand ¶
NewGenAppSpecCommand generates declarative configuration file for given application
func NewGenClusterConfigCommand ¶
func NewGenClusterConfigCommand(pathOpts *clientcmd.PathOptions) *cobra.Command
func NewGenProjectSpecCommand ¶
NewGenProjectSpecCommand generates declarative configuration file for given project
func NewGenRepoSpecCommand ¶
func NewImportCommand ¶
NewImportCommand defines a new command for exporting Kubernetes and Argo CD resources.
func NewInitialPasswordCommand ¶ added in v2.6.0
NewInitialPasswordCommand defines a new command to retrieve Argo CD initial password.
func NewNotificationsCommand ¶ added in v2.3.0
func NewProjectAllowListGenCommand ¶
NewProjectAllowListGenCommand generates a project from clusterRole
func NewProjectsCommand ¶
func NewRBACCanCommand ¶
NewRBACCanRoleCommand is the command for 'rbac can-role'
func NewRBACValidateCommand ¶
NewRBACValidateCommand returns a new rbac validate command
func NewReconcileCommand ¶
func NewRedisInitialPasswordCommand ¶ added in v2.8.19
NewRedisInitialPasswordCommand defines a new command to ensure Argo CD Redis password secret exists.