admin

package
v2.1.16 Latest Latest
Warning

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

Go to latest
Published: Jun 21, 2022 License: Apache-2.0 Imports: 74 Imported by: 2

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() *cobra.Command

NewAdminCommand returns a new instance of an argocd command

func NewAppCommand

func NewAppCommand() *cobra.Command

func NewClusterCommand

func NewClusterCommand(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() *cobra.Command

func NewClusterStatsCommand

func NewClusterStatsCommand() *cobra.Command

func NewDashboardCommand

func NewDashboardCommand() *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 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() *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 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