automation-suite
2023.10
false
UiPath logo, featuring letters U and I in white
Guide de référence uipathctl
Last updated 11 nov. 2024

uipathctl manifest diff

Description

Chargez la configuration fournie en argument et comparez-la à la configuration trouvée en production dans le cluster.

Sans indicateurs, seul le manifeste est comparé, tandis que les configurations et les dépendances à l'échelle du cluster sont ignorées.

La sortie est toujours YAML. Par défaut, la commande diff disponible dans votre chemin s'exécute avec -u (diff unifié), -N(traite les fichiers absents comme vides) et --color (sortie couleur). Ajoutez l'indicateur --no-color pour désactiver la sortie couleur.
uipathctl manifest diff PATH [flags]uipathctl manifest diff PATH [flags]

Exemples

# Diff manifest found in input.json
        uipathctl manifest diff input.json
        
        # Diff manifest found in input.json, using the configuration found in cluster.kubeconfig
        uipathctl manifest diff input.json/cluster_config.json --kubeconfig cluster.kubeconfig

        # Diff manifest found in input.json, including cluster wide configurations and dependencies
        uipathctl manifest diff input.json/cluster_config.json --include-dependencies --include-config
        # Diff manifest found in input.json
        uipathctl manifest diff input.json
        
        # Diff manifest found in input.json, using the configuration found in cluster.kubeconfig
        uipathctl manifest diff input.json/cluster_config.json --kubeconfig cluster.kubeconfig

        # Diff manifest found in input.json, including cluster wide configurations and dependencies
        uipathctl manifest diff input.json/cluster_config.json --include-dependencies --include-config

Options

-h, --help                   help for diff
--include-config         include cluster wide config in the diff
--include-dependencies   include dependencies in the diff
--no-color               disable color output  -h, --help                   help for diff
--include-config         include cluster wide config in the diff
--include-dependencies   include dependencies in the diff
--no-color               disable color output

Options héritées des commandes parent

--context string      name of the kubeconfig context to use
--kubeconfig string   kubectl configuration file (default: ~/.kube/config)
--log-format string   log format. one of [text,json] (default "text")
--log-level string    set log level. one of [trace,debug,info,error] (default "error")
--timeout duration    timeout of the command (default 1h0m0s)--context string      name of the kubeconfig context to use
--kubeconfig string   kubectl configuration file (default: ~/.kube/config)
--log-format string   log format. one of [text,json] (default "text")
--log-level string    set log level. one of [trace,debug,info,error] (default "error")
--timeout duration    timeout of the command (default 1h0m0s)
  • Description
  • Exemples
  • Options
  • Options héritées des commandes parent

Cette page vous a-t-elle été utile ?

Obtenez l'aide dont vous avez besoin
Formation RPA - Cours d'automatisation
Forum de la communauté UiPath
Uipath Logo White
Confiance et sécurité
© 2005-2024 UiPath Tous droits réservés.