Conditionals The When Statement Loops and Conditionals Loading in Custom Facts Applying ‘when’ to roles, imports, and includes Conditional Imports Selecting Files And Template...
go build go build go build 命令用于编译我们指定的源码文件或代码包以及它们的依赖包。 例如,如果我们在执行go build 命令时不后跟任何代码包,那么命令将试图编译当前目录所对应的代码包。例如,我们想编译goc2p项目的代码包logging 。其中一个方法是进入logging 目录并直接执行该命令: hc@ubt :~...
条件判断 if 结构 test 命令 判断表达式 文件判断 字符串判断 整数判断 正则判断 test 判断的逻辑运算 算术判断 普通命令的逻辑运算 case 结构 参考链接 条件判断 本章介绍 Bash 脚本的条件判断语法。 if 结构 if 是最常用的条件判断结构,只有符合给定条件时,才会执行指定的命令。它的语法如下。...
Collecting metrics with the PostgreSQL and TimescaleDB output plugin for Telegraf deprecation Installation Setting up Telegraf Telegraf configuration Testing out the configurat...
CronJob Example Writing a CronJob spec Schedule syntax Note: Job template Deadline for delayed Job start Concurrency policy Schedule suspension Caution: Jobs history limits...
Collecting Metrics with the PostgreSQL and TimescaleDB Output Plugin for Telegraf Installation Before we start Setting up Telegraf Telegraf Configuration Testing out the config ...
Collecting Metrics with the PostgreSQL and TimescaleDB Output Plugin for Telegraf Installation Before we start Setting up Telegraf Telegraf Configuration Testing out the config ...