automation-suite
2023.10
false
UiPath logo, featuring letters U and I in white
uipathctl 参考指南
Last updated 2024年11月11日

uipathctl manifest diff

描述

加载作为参数提供的配置,并将其与集群中的实时配置进行比较。

如果不使用任何标志,则仅比较清单,而忽略集群范围内的配置和依赖项。

输出始终为 YAML。 默认情况下,路径中可用的 diff 命令与u (统一差异)、 -N(将缺少的文件视为空)和 --color (彩色输出)一起运行。 添加 --no-color 标志以禁用颜色输出。
uipathctl manifest diff PATH [flags]uipathctl manifest diff PATH [flags]

示例

# 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

选项

-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

从父命令继承的选项

--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)
  • 描述
  • 示例
  • 选项
  • 从父命令继承的选项

此页面有帮助吗?

获取您需要的帮助
了解 RPA - 自动化课程
UiPath Community 论坛
Uipath Logo White
信任与安全
© 2005-2024 UiPath。保留所有权利。