Skip to content

Commit 958ff66

Browse files
committed
NLB-6350: enable R34 directives
1 parent 572130c commit 958ff66

11 files changed

+2726
-4
lines changed

analyze.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,14 +42,15 @@ package crossplane
4242
//go:generate sh -c "sh ./scripts/generate/generate.sh --url https://github.com/leev/ngx_http_geoip2_module.git --config-path ./scripts/generate/configs/geoip2_config.json > ./analyze_geoip2_directives.gen.go"
4343

4444
// Update for NPlus.
45-
// NPlus source code is private. Please ensure you have the correct access
45+
// NPlus source code is private. Please ensure you have the correct access
4646
// and set the URL and branch in the environment variables NPLUS_URL and NPLUS_BRANCH.
4747
// Filter in config is the directives not in https://nginx.org/en/docs/dirindex.html but in source code.
4848
// Override for NPlus R33 and the latest version is for mgmt directives and if directive.
4949
// For mgmt directives, we create a ngxMgmtMainConf as the context, which is not included in the source code.
5050
// For the "if" directive, we create a bitmask ngxConfExpr in crossplane, which is not included in the source code.
5151
//go:generate sh -c "sh ./scripts/generate/generate.sh --url $NPLUS_URL --config-path ./scripts/generate/configs/nplus_latest_config.json --branch $NPLUS_BRANCH --path ./src > ./analyze_nplus_latest_directives.gen.go"
5252
//go:generate sh -c "sh ./scripts/generate/generate.sh --url $NPLUS_URL --config-path ./scripts/generate/configs/nplus_R33_config.json --branch $NPLUS_BRANCH --path ./src > analyze_nplus_R33_directives.gen.go"
53+
//go:generate sh -c "sh ./scripts/generate/generate.sh --url $NPLUS_URL --config-path ./scripts/generate/configs/nplus_R34_config.json --branch $NPLUS_BRANCH --path ./src > analyze_nplus_R34_directives.gen.go"
5354

5455
import (
5556
"fmt"

analyze_lua_directives.gen.go

Lines changed: 3 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

analyze_njs_directives.gen.go

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)