Documentation ¶
Index ¶
- Constants
- func GenerateToken(clusterOpts cmdutil.ClusterOptions, conf *rest.Config) (string, error)
- func NewAdminCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command
- func NewAppCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command
- func NewClusterCommand(clientOpts *argocdclient.ClientOptions, pathOpts *clientcmd.PathOptions) *cobra.Command
- func NewClusterConfig() *cobra.Command
- func NewClusterDisableNamespacedMode() *cobra.Command
- func NewClusterEnableNamespacedMode() *cobra.Command
- func NewClusterNamespacesCommand() *cobra.Command
- func NewClusterShardsCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command
- func NewClusterStatsCommand(clientOpts *argocdclient.ClientOptions) *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(clientOpts *argocdclient.ClientOptions) *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 ¶
func NewAdminCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command
NewAdminCommand returns a new instance of an argocd command
func NewAppCommand ¶
func NewAppCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command
func NewClusterCommand ¶
func NewClusterCommand(clientOpts *argocdclient.ClientOptions, pathOpts *clientcmd.PathOptions) *cobra.Command
func NewClusterConfig ¶
NewClusterConfig returns a new instance of `argocd admin kubeconfig` command
func NewClusterShardsCommand ¶
func NewClusterShardsCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command
func NewClusterStatsCommand ¶
func NewClusterStatsCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command
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 NewReconcileCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command