admin

package
v2.0.0-...-5e8ce1c Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2024 License: Apache-2.0 Imports: 84 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ArgoCDNamespace = "argocd"
)

Variables

This section is empty.

Functions

func GenerateToken

func GenerateToken(clusterOpts cmdutil.ClusterOptions, conf *rest.Config) (string, error)

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

func NewClusterConfig() *cobra.Command

NewClusterConfig returns a new instance of `argocd admin kubeconfig` command

func NewClusterDisableNamespacedMode

func NewClusterDisableNamespacedMode() *cobra.Command

func NewClusterEnableNamespacedMode

func NewClusterEnableNamespacedMode() *cobra.Command

func NewClusterNamespacesCommand

func NewClusterNamespacesCommand() *cobra.Command

func NewClusterShardsCommand

func NewClusterShardsCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewClusterStatsCommand

func NewClusterStatsCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewDashboardCommand

func NewDashboardCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewDiffReconcileResults

func NewDiffReconcileResults() *cobra.Command

func NewExportCommand

func NewExportCommand() *cobra.Command

NewExportCommand defines a new command for exporting Kubernetes and Argo CD resources.

func NewGenAppSpecCommand

func NewGenAppSpecCommand() *cobra.Command

NewGenAppSpecCommand generates declarative configuration file for given application

func NewGenClusterConfigCommand

func NewGenClusterConfigCommand(pathOpts *clientcmd.PathOptions) *cobra.Command

func NewGenProjectSpecCommand

func NewGenProjectSpecCommand() *cobra.Command

NewGenProjectSpecCommand generates declarative configuration file for given project

func NewGenRepoSpecCommand

func NewGenRepoSpecCommand() *cobra.Command

func NewImportCommand

func NewImportCommand() *cobra.Command

NewImportCommand defines a new command for exporting Kubernetes and Argo CD resources.

func NewInitialPasswordCommand

func NewInitialPasswordCommand() *cobra.Command

NewInitialPasswordCommand defines a new command to retrieve Argo CD initial password.

func NewNotificationsCommand

func NewNotificationsCommand() *cobra.Command

func NewProjectAllowListGenCommand

func NewProjectAllowListGenCommand() *cobra.Command

NewProjectAllowListGenCommand generates a project from clusterRole

func NewProjectsCommand

func NewProjectsCommand() *cobra.Command

func NewRBACCanCommand

func NewRBACCanCommand() *cobra.Command

NewRBACCanRoleCommand is the command for 'rbac can-role'

func NewRBACCommand

func NewRBACCommand() *cobra.Command

NewRBACCommand is the command for 'rbac'

func NewRBACValidateCommand

func NewRBACValidateCommand() *cobra.Command

NewRBACValidateCommand returns a new rbac validate command

func NewReconcileCommand

func NewReconcileCommand(clientOpts *argocdclient.ClientOptions) *cobra.Command

func NewRepoCommand

func NewRepoCommand() *cobra.Command

func NewResourceActionListCommand

func NewResourceActionListCommand(cmdCtx commandContext) *cobra.Command

func NewResourceActionRunCommand

func NewResourceActionRunCommand(cmdCtx commandContext) *cobra.Command

func NewResourceHealthCommand

func NewResourceHealthCommand(cmdCtx commandContext) *cobra.Command

func NewResourceIgnoreDifferencesCommand

func NewResourceIgnoreDifferencesCommand(cmdCtx commandContext) *cobra.Command

func NewResourceIgnoreResourceUpdatesCommand

func NewResourceIgnoreResourceUpdatesCommand(cmdCtx commandContext) *cobra.Command

func NewResourceOverridesCommand

func NewResourceOverridesCommand(cmdCtx commandContext) *cobra.Command

func NewSettingsCommand

func NewSettingsCommand() *cobra.Command

func NewUpdatePolicyRuleCommand

func NewUpdatePolicyRuleCommand() *cobra.Command

func NewValidateSettingsCommand

func NewValidateSettingsCommand(cmdCtx commandContext) *cobra.Command

func PrintResources

func PrintResources(output string, out io.Writer, resources ...interface{}) error

PrintResources prints a single resource in YAML or JSON format to stdout according to the output format

Types

type ClusterWithInfo

type ClusterWithInfo struct {
	argoappv1.Cluster
	// Shard holds controller shard number that handles the cluster
	Shard int
	// Namespaces holds list of namespaces managed by Argo CD in the cluster
	Namespaces []string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL