├── .dockerignore ├── .github ├── ISSUE_TEMPLATE │ ├── bug_report.md │ └── feature_request.md ├── dependabot.yml ├── pull_request_template.md └── workflows │ ├── cicd.yml │ └── release.yml ├── .gitignore ├── .golangci.yml ├── CODEOWNERS ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── CREDITS ├── LICENSE ├── Makefile ├── README.md ├── SECURITY.md ├── SUPPORT.md ├── analyze.go ├── analyze_appProtectWAFv4_directives.gen.go ├── analyze_appProtectWAFv5_directives.gen.go ├── analyze_geoip2_directives.gen.go ├── analyze_headersMore_directives.gen.go ├── analyze_lua_directives.gen.go ├── analyze_map.go ├── analyze_map_test.go ├── analyze_njs_directives.gen.go ├── analyze_nplus_R30_directives.go ├── analyze_nplus_R31_directives.go ├── analyze_nplus_R33_directives.gen.go ├── analyze_nplus_R34_directives.gen.go ├── analyze_nplus_R35_directives.gen.go ├── analyze_nplus_R36_directives.gen.go ├── analyze_nplus_latest_directives.gen.go ├── analyze_oss_124_directives.gen.go ├── analyze_oss_126_directives.gen.go ├── analyze_oss_latest_directives.gen.go ├── analyze_otel_directives.gen.go ├── analyze_test.go ├── buffer.go ├── cmd └── generate │ ├── cmd_util.go │ ├── cmd_util_test.go │ └── main.go ├── errors.go ├── errors_test.go ├── go.mod ├── go.sum ├── internal └── generator │ ├── generator.go │ ├── generator_util.go │ ├── generator_util_test.go │ ├── testdata │ ├── expected │ │ ├── commentsInDefinition │ │ ├── filter │ │ ├── filterAndOverride │ │ ├── fullNgxBitmaskCover │ │ ├── normalDefinition │ │ ├── override │ │ ├── repeatDefine │ │ ├── single_file │ │ └── withMatchFuncComment │ └── source_codes │ │ ├── commentsInDefinition │ │ └── with_comments.c │ │ ├── filter │ │ └── filter.c │ │ ├── filterAndOverride │ │ └── filter_and_override.c │ │ ├── fullNgxBitmaskCover │ │ └── all_bitmask.c │ │ ├── noDirectives │ │ └── noDirectives.c │ │ ├── normalDefinition │ │ └── normal.c │ │ ├── override │ │ └── override.c │ │ ├── repeatDefine │ │ ├── definition1.c │ │ └── definition2.c │ │ ├── single_file.c │ │ ├── unknownBitmask │ │ └── unknownBitmask.c │ │ └── withMatchFuncComment │ │ └── commentOnMatchFn.c │ └── tmpl │ └── support_file.tmpl ├── lex.go ├── lex_test.go ├── lua.go ├── parse.go ├── parse_bench_test.go ├── parse_test.go ├── scripts └── generate │ ├── configs │ ├── geoip2_config.json │ ├── headersmore_config.json │ ├── lua_config.json │ ├── nap_v4_config.json │ ├── nap_v5_config.json │ ├── njs_config.json │ ├── nplus_R33_config.json │ ├── nplus_R34_config.json │ ├── nplus_R35_config.json │ ├── nplus_R36_config.json │ ├── nplus_latest_config.json │ ├── oss_124_config.json │ ├── oss_126_config.json │ ├── oss_latest_config.json │ └── otel_config.json │ └── generate.sh ├── testdata └── configs │ ├── bad-args │ ├── nginx.conf │ ├── nginx.json │ └── xp.json │ ├── braces │ ├── extra-brace.conf │ └── missing-brace.conf │ ├── broken1 │ ├── nginx.conf │ └── nginx2.conf │ ├── comments-between-args-disable-parse │ └── nginx.conf │ ├── comments-between-args │ ├── nginx.conf │ ├── nginx.json │ └── xp.json │ ├── directive-with-space │ ├── nginx.conf │ ├── nginx.json │ └── xp.json │ ├── emptiness │ └── nginx.conf │ ├── empty-braces │ └── nginx.conf │ ├── empty-config │ └── nginx.conf │ ├── empty-value-map │ ├── nginx.conf │ └── nginx.json │ ├── geo │ ├── nginx.conf │ ├── nginx.json │ └── xp.json │ ├── geoip2 │ └── nginx.conf │ ├── if-check │ └── nginx.conf │ ├── if-expr │ ├── empty-parens.conf │ ├── empty-spaced-parens.conf │ ├── missing-closing-paren.conf │ ├── missing-opening-paren.conf │ ├── nginx.conf │ ├── no-parens.conf │ └── spaced-parens.conf │ ├── includes-cycle │ ├── invalid │ │ ├── location1.conf │ │ ├── location2.conf │ │ └── nginx.conf │ └── valid │ │ ├── location1.conf │ │ ├── location2.conf │ │ └── nginx.conf │ ├── includes-globbed │ ├── http.conf │ ├── http.json │ ├── locations │ │ ├── location1.conf │ │ ├── location1.json │ │ ├── location2.conf │ │ └── location2.json │ ├── nginx.conf │ ├── nginx.json │ ├── servers │ │ ├── locations │ │ │ ├── not-included.conf │ │ │ └── not-included.json │ │ ├── server1.conf │ │ ├── server1.json │ │ ├── server2.conf │ │ └── server2.json │ └── xp.json │ ├── includes-regular │ ├── conf.d │ │ ├── bar.conf │ │ ├── details.conf │ │ ├── foo.conf │ │ ├── http-inner.conf │ │ └── server.conf │ ├── foo.conf │ ├── nginx.conf │ ├── nginx.json │ └── xp.json │ ├── invalid-map │ └── nginx.conf │ ├── large-config │ ├── nginx.conf.bz2 │ └── nginx.conf.kld │ ├── limit-req-zone │ └── nginx.conf │ ├── lua-basic │ ├── nginx.conf │ ├── nginx.json │ └── xp.json │ ├── lua-block-larger │ ├── nginx.conf │ ├── nginx.json │ └── xp.json │ ├── lua-block-simple │ ├── nginx.conf │ ├── nginx.json │ ├── simple.conf │ └── xp.json │ ├── lua-block-tricky │ ├── nginx.conf │ ├── nginx.json │ └── xp.json │ ├── master.sh │ ├── messy │ ├── nginx.conf │ ├── nginx.json │ └── off │ ├── missing-semicolon-above │ └── nginx.conf │ ├── missing-semicolon-below │ └── nginx.conf │ ├── missing-semicolon │ ├── broken-above.conf │ ├── broken-above.json │ ├── broken-below.conf │ └── broken-below.json │ ├── nap-waf-v4 │ └── nginx.conf │ ├── nap-waf-v5 │ └── nginx.conf │ ├── oidc │ └── nginx.conf │ ├── premature-eof │ └── nginx.conf │ ├── quote-behavior │ ├── nginx.conf │ ├── nginx.json │ └── xp.json │ ├── quoted-right-brace │ ├── nginx.conf │ ├── nginx.json │ └── xp.json │ ├── returns │ ├── nginx.conf │ └── nginx.json │ ├── russian-text │ ├── nginx.conf │ ├── nginx.json │ └── xp.json │ ├── simple-variable-with-braces │ └── nginx.conf │ ├── simple │ ├── nginx.conf │ ├── nginx.json │ └── xp.json │ ├── spelling-mistake │ ├── nginx.conf │ └── nginx.json │ ├── testdata │ ├── braces │ │ ├── extra-brace.conf │ │ └── missing-brace.conf │ ├── broken1 │ │ ├── nginx.conf │ │ └── nginx2.conf │ ├── comments-between-args │ │ └── nginx.conf │ ├── directive-with-space │ │ └── nginx.conf │ ├── empty-config │ │ └── nginx.conf │ ├── empty-value-map │ │ └── nginx.conf │ ├── if-expr │ │ ├── empty-parens.conf │ │ ├── empty-spaced-parens.conf │ │ ├── missing-closing-paren.conf │ │ ├── missing-opening-paren.conf │ │ ├── nginx.conf │ │ ├── no-parens.conf │ │ └── spaced-parens.conf │ ├── includes-globbed │ │ ├── http.conf │ │ ├── locations │ │ │ ├── location1.conf │ │ │ └── location2.conf │ │ ├── nginx.conf │ │ └── servers │ │ │ ├── locations │ │ │ └── not-included.conf │ │ │ ├── server1.conf │ │ │ └── server2.conf │ ├── includes-regular │ │ ├── conf.d │ │ │ ├── bar.conf │ │ │ ├── foo.conf │ │ │ └── server.conf │ │ ├── foo.conf │ │ └── nginx.conf │ ├── large-config │ │ ├── nginx.conf.bz2 │ │ └── nginx.conf.kld │ ├── lua-block-larger │ │ └── nginx.conf │ ├── lua-block-simple │ │ └── nginx.conf │ ├── lua-block-tricky │ │ └── nginx.conf │ ├── messy │ │ └── nginx.conf │ ├── missing-semicolon-above │ │ └── nginx.conf │ ├── missing-semicolon-below │ │ └── nginx.conf │ ├── quote-behavior │ │ └── nginx.conf │ ├── quoted-right-brace │ │ └── nginx.conf │ ├── russian-text │ │ └── nginx.conf │ ├── simple │ │ └── nginx.conf │ ├── spelling-mistake │ │ └── nginx.conf │ ├── upstream_resolver_directive │ │ ├── multiple_resolvers.conf │ │ ├── multiple_resolvers.conf.golden │ │ ├── multiple_resolvers_with_ports.conf │ │ ├── multiple_resolvers_with_ports.conf.golden │ │ ├── simple.conf │ │ └── simple.conf.golden │ └── with-comments │ │ └── nginx.conf │ ├── types │ └── nginx.conf │ ├── ubuntu-default │ ├── mime.types │ ├── modules-enabled │ │ ├── 50-mod-http-image-filter.conf │ │ └── 50-mod-http-xslt-filter.conf │ ├── nginx.conf │ └── sites-enabled │ │ └── default │ ├── upstream_resolver_directive │ ├── multiple_resolvers.conf │ ├── multiple_resolvers.conf.golden │ ├── multiple_resolvers_with_ports.conf │ ├── multiple_resolvers_with_ports.conf.golden │ ├── simple.conf │ └── simple.conf.golden │ └── with-comments │ ├── nginx.conf │ ├── nginx.json │ └── xp.json ├── tools.go ├── types.go ├── types_test.go ├── util.go └── util_test.go /.dockerignore: -------------------------------------------------------------------------------- 1 | build -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/.github/ISSUE_TEMPLATE/bug_report.md -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/.github/ISSUE_TEMPLATE/feature_request.md -------------------------------------------------------------------------------- /.github/dependabot.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/.github/dependabot.yml -------------------------------------------------------------------------------- /.github/pull_request_template.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/.github/pull_request_template.md -------------------------------------------------------------------------------- /.github/workflows/cicd.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/.github/workflows/cicd.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/.gitignore -------------------------------------------------------------------------------- /.golangci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/.golangci.yml -------------------------------------------------------------------------------- /CODEOWNERS: -------------------------------------------------------------------------------- 1 | * @nginxinc/plaform-tech-leads 2 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /CREDITS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/CREDITS -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/README.md -------------------------------------------------------------------------------- /SECURITY.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/SECURITY.md -------------------------------------------------------------------------------- /SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/SUPPORT.md -------------------------------------------------------------------------------- /analyze.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze.go -------------------------------------------------------------------------------- /analyze_appProtectWAFv4_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_appProtectWAFv4_directives.gen.go -------------------------------------------------------------------------------- /analyze_appProtectWAFv5_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_appProtectWAFv5_directives.gen.go -------------------------------------------------------------------------------- /analyze_geoip2_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_geoip2_directives.gen.go -------------------------------------------------------------------------------- /analyze_headersMore_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_headersMore_directives.gen.go -------------------------------------------------------------------------------- /analyze_lua_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_lua_directives.gen.go -------------------------------------------------------------------------------- /analyze_map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_map.go -------------------------------------------------------------------------------- /analyze_map_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_map_test.go -------------------------------------------------------------------------------- /analyze_njs_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_njs_directives.gen.go -------------------------------------------------------------------------------- /analyze_nplus_R30_directives.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_nplus_R30_directives.go -------------------------------------------------------------------------------- /analyze_nplus_R31_directives.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_nplus_R31_directives.go -------------------------------------------------------------------------------- /analyze_nplus_R33_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_nplus_R33_directives.gen.go -------------------------------------------------------------------------------- /analyze_nplus_R34_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_nplus_R34_directives.gen.go -------------------------------------------------------------------------------- /analyze_nplus_R35_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_nplus_R35_directives.gen.go -------------------------------------------------------------------------------- /analyze_nplus_R36_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_nplus_R36_directives.gen.go -------------------------------------------------------------------------------- /analyze_nplus_latest_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_nplus_latest_directives.gen.go -------------------------------------------------------------------------------- /analyze_oss_124_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_oss_124_directives.gen.go -------------------------------------------------------------------------------- /analyze_oss_126_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_oss_126_directives.gen.go -------------------------------------------------------------------------------- /analyze_oss_latest_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_oss_latest_directives.gen.go -------------------------------------------------------------------------------- /analyze_otel_directives.gen.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_otel_directives.gen.go -------------------------------------------------------------------------------- /analyze_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/analyze_test.go -------------------------------------------------------------------------------- /buffer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/buffer.go -------------------------------------------------------------------------------- /cmd/generate/cmd_util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/cmd/generate/cmd_util.go -------------------------------------------------------------------------------- /cmd/generate/cmd_util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/cmd/generate/cmd_util_test.go -------------------------------------------------------------------------------- /cmd/generate/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/cmd/generate/main.go -------------------------------------------------------------------------------- /errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/errors.go -------------------------------------------------------------------------------- /errors_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/errors_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/go.sum -------------------------------------------------------------------------------- /internal/generator/generator.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/generator.go -------------------------------------------------------------------------------- /internal/generator/generator_util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/generator_util.go -------------------------------------------------------------------------------- /internal/generator/generator_util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/generator_util_test.go -------------------------------------------------------------------------------- /internal/generator/testdata/expected/commentsInDefinition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/expected/commentsInDefinition -------------------------------------------------------------------------------- /internal/generator/testdata/expected/filter: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/expected/filter -------------------------------------------------------------------------------- /internal/generator/testdata/expected/filterAndOverride: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/expected/filterAndOverride -------------------------------------------------------------------------------- /internal/generator/testdata/expected/fullNgxBitmaskCover: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/expected/fullNgxBitmaskCover -------------------------------------------------------------------------------- /internal/generator/testdata/expected/normalDefinition: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/expected/normalDefinition -------------------------------------------------------------------------------- /internal/generator/testdata/expected/override: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/expected/override -------------------------------------------------------------------------------- /internal/generator/testdata/expected/repeatDefine: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/expected/repeatDefine -------------------------------------------------------------------------------- /internal/generator/testdata/expected/single_file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/expected/single_file -------------------------------------------------------------------------------- /internal/generator/testdata/expected/withMatchFuncComment: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/expected/withMatchFuncComment -------------------------------------------------------------------------------- /internal/generator/testdata/source_codes/commentsInDefinition/with_comments.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/source_codes/commentsInDefinition/with_comments.c -------------------------------------------------------------------------------- /internal/generator/testdata/source_codes/filter/filter.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/source_codes/filter/filter.c -------------------------------------------------------------------------------- /internal/generator/testdata/source_codes/filterAndOverride/filter_and_override.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/source_codes/filterAndOverride/filter_and_override.c -------------------------------------------------------------------------------- /internal/generator/testdata/source_codes/fullNgxBitmaskCover/all_bitmask.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/source_codes/fullNgxBitmaskCover/all_bitmask.c -------------------------------------------------------------------------------- /internal/generator/testdata/source_codes/noDirectives/noDirectives.c: -------------------------------------------------------------------------------- 1 | // nothing here -------------------------------------------------------------------------------- /internal/generator/testdata/source_codes/normalDefinition/normal.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/source_codes/normalDefinition/normal.c -------------------------------------------------------------------------------- /internal/generator/testdata/source_codes/override/override.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/source_codes/override/override.c -------------------------------------------------------------------------------- /internal/generator/testdata/source_codes/repeatDefine/definition1.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/source_codes/repeatDefine/definition1.c -------------------------------------------------------------------------------- /internal/generator/testdata/source_codes/repeatDefine/definition2.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/source_codes/repeatDefine/definition2.c -------------------------------------------------------------------------------- /internal/generator/testdata/source_codes/single_file.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/source_codes/single_file.c -------------------------------------------------------------------------------- /internal/generator/testdata/source_codes/unknownBitmask/unknownBitmask.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/source_codes/unknownBitmask/unknownBitmask.c -------------------------------------------------------------------------------- /internal/generator/testdata/source_codes/withMatchFuncComment/commentOnMatchFn.c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/testdata/source_codes/withMatchFuncComment/commentOnMatchFn.c -------------------------------------------------------------------------------- /internal/generator/tmpl/support_file.tmpl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/internal/generator/tmpl/support_file.tmpl -------------------------------------------------------------------------------- /lex.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/lex.go -------------------------------------------------------------------------------- /lex_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/lex_test.go -------------------------------------------------------------------------------- /lua.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/lua.go -------------------------------------------------------------------------------- /parse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/parse.go -------------------------------------------------------------------------------- /parse_bench_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/parse_bench_test.go -------------------------------------------------------------------------------- /parse_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/parse_test.go -------------------------------------------------------------------------------- /scripts/generate/configs/geoip2_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/geoip2_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/headersmore_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/headersmore_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/lua_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/lua_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/nap_v4_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/nap_v4_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/nap_v5_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/nap_v5_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/njs_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/njs_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/nplus_R33_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/nplus_R33_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/nplus_R34_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/nplus_R34_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/nplus_R35_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/nplus_R35_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/nplus_R36_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/nplus_R36_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/nplus_latest_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/nplus_latest_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/oss_124_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/oss_124_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/oss_126_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/oss_126_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/oss_latest_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/oss_latest_config.json -------------------------------------------------------------------------------- /scripts/generate/configs/otel_config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/configs/otel_config.json -------------------------------------------------------------------------------- /scripts/generate/generate.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/scripts/generate/generate.sh -------------------------------------------------------------------------------- /testdata/configs/bad-args/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/bad-args/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/bad-args/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/bad-args/nginx.json -------------------------------------------------------------------------------- /testdata/configs/bad-args/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/bad-args/xp.json -------------------------------------------------------------------------------- /testdata/configs/braces/extra-brace.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/braces/extra-brace.conf -------------------------------------------------------------------------------- /testdata/configs/braces/missing-brace.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/braces/missing-brace.conf -------------------------------------------------------------------------------- /testdata/configs/broken1/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/broken1/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/broken1/nginx2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/broken1/nginx2.conf -------------------------------------------------------------------------------- /testdata/configs/comments-between-args-disable-parse/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/comments-between-args-disable-parse/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/comments-between-args/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/comments-between-args/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/comments-between-args/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/comments-between-args/nginx.json -------------------------------------------------------------------------------- /testdata/configs/comments-between-args/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/comments-between-args/xp.json -------------------------------------------------------------------------------- /testdata/configs/directive-with-space/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/directive-with-space/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/directive-with-space/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/directive-with-space/nginx.json -------------------------------------------------------------------------------- /testdata/configs/directive-with-space/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/directive-with-space/xp.json -------------------------------------------------------------------------------- /testdata/configs/emptiness/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/emptiness/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/empty-braces/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/empty-braces/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/empty-config/nginx.conf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/configs/empty-value-map/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/empty-value-map/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/empty-value-map/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/empty-value-map/nginx.json -------------------------------------------------------------------------------- /testdata/configs/geo/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/geo/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/geo/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/geo/nginx.json -------------------------------------------------------------------------------- /testdata/configs/geo/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/geo/xp.json -------------------------------------------------------------------------------- /testdata/configs/geoip2/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/geoip2/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/if-check/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/if-check/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/if-expr/empty-parens.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/if-expr/empty-parens.conf -------------------------------------------------------------------------------- /testdata/configs/if-expr/empty-spaced-parens.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/if-expr/empty-spaced-parens.conf -------------------------------------------------------------------------------- /testdata/configs/if-expr/missing-closing-paren.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/if-expr/missing-closing-paren.conf -------------------------------------------------------------------------------- /testdata/configs/if-expr/missing-opening-paren.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/if-expr/missing-opening-paren.conf -------------------------------------------------------------------------------- /testdata/configs/if-expr/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/if-expr/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/if-expr/no-parens.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/if-expr/no-parens.conf -------------------------------------------------------------------------------- /testdata/configs/if-expr/spaced-parens.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/if-expr/spaced-parens.conf -------------------------------------------------------------------------------- /testdata/configs/includes-cycle/invalid/location1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-cycle/invalid/location1.conf -------------------------------------------------------------------------------- /testdata/configs/includes-cycle/invalid/location2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-cycle/invalid/location2.conf -------------------------------------------------------------------------------- /testdata/configs/includes-cycle/invalid/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-cycle/invalid/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/includes-cycle/valid/location1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-cycle/valid/location1.conf -------------------------------------------------------------------------------- /testdata/configs/includes-cycle/valid/location2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-cycle/valid/location2.conf -------------------------------------------------------------------------------- /testdata/configs/includes-cycle/valid/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-cycle/valid/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/http.conf: -------------------------------------------------------------------------------- 1 | http { 2 | include servers/*.conf; 3 | } 4 | -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/http.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-globbed/http.json -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/locations/location1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-globbed/locations/location1.conf -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/locations/location1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-globbed/locations/location1.json -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/locations/location2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-globbed/locations/location2.conf -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/locations/location2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-globbed/locations/location2.json -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/nginx.conf: -------------------------------------------------------------------------------- 1 | events {} 2 | include http.conf; 3 | -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-globbed/nginx.json -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/servers/locations/not-included.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-globbed/servers/locations/not-included.conf -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/servers/locations/not-included.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-globbed/servers/locations/not-included.json -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/servers/server1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-globbed/servers/server1.conf -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/servers/server1.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-globbed/servers/server1.json -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/servers/server2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-globbed/servers/server2.conf -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/servers/server2.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-globbed/servers/server2.json -------------------------------------------------------------------------------- /testdata/configs/includes-globbed/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-globbed/xp.json -------------------------------------------------------------------------------- /testdata/configs/includes-regular/conf.d/bar.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-regular/conf.d/bar.conf -------------------------------------------------------------------------------- /testdata/configs/includes-regular/conf.d/details.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-regular/conf.d/details.conf -------------------------------------------------------------------------------- /testdata/configs/includes-regular/conf.d/foo.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-regular/conf.d/foo.conf -------------------------------------------------------------------------------- /testdata/configs/includes-regular/conf.d/http-inner.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-regular/conf.d/http-inner.conf -------------------------------------------------------------------------------- /testdata/configs/includes-regular/conf.d/server.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-regular/conf.d/server.conf -------------------------------------------------------------------------------- /testdata/configs/includes-regular/foo.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-regular/foo.conf -------------------------------------------------------------------------------- /testdata/configs/includes-regular/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-regular/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/includes-regular/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-regular/nginx.json -------------------------------------------------------------------------------- /testdata/configs/includes-regular/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/includes-regular/xp.json -------------------------------------------------------------------------------- /testdata/configs/invalid-map/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/invalid-map/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/large-config/nginx.conf.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/large-config/nginx.conf.bz2 -------------------------------------------------------------------------------- /testdata/configs/large-config/nginx.conf.kld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/large-config/nginx.conf.kld -------------------------------------------------------------------------------- /testdata/configs/limit-req-zone/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/limit-req-zone/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/lua-basic/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/lua-basic/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/lua-basic/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/lua-basic/nginx.json -------------------------------------------------------------------------------- /testdata/configs/lua-basic/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/lua-basic/xp.json -------------------------------------------------------------------------------- /testdata/configs/lua-block-larger/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/lua-block-larger/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/lua-block-larger/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/lua-block-larger/nginx.json -------------------------------------------------------------------------------- /testdata/configs/lua-block-larger/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/lua-block-larger/xp.json -------------------------------------------------------------------------------- /testdata/configs/lua-block-simple/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/lua-block-simple/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/lua-block-simple/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/lua-block-simple/nginx.json -------------------------------------------------------------------------------- /testdata/configs/lua-block-simple/simple.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/lua-block-simple/simple.conf -------------------------------------------------------------------------------- /testdata/configs/lua-block-simple/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/lua-block-simple/xp.json -------------------------------------------------------------------------------- /testdata/configs/lua-block-tricky/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/lua-block-tricky/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/lua-block-tricky/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/lua-block-tricky/nginx.json -------------------------------------------------------------------------------- /testdata/configs/lua-block-tricky/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/lua-block-tricky/xp.json -------------------------------------------------------------------------------- /testdata/configs/master.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/master.sh -------------------------------------------------------------------------------- /testdata/configs/messy/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/messy/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/messy/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/messy/nginx.json -------------------------------------------------------------------------------- /testdata/configs/messy/off: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/configs/missing-semicolon-above/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/missing-semicolon-above/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/missing-semicolon-below/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/missing-semicolon-below/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/missing-semicolon/broken-above.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/missing-semicolon/broken-above.conf -------------------------------------------------------------------------------- /testdata/configs/missing-semicolon/broken-above.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/missing-semicolon/broken-above.json -------------------------------------------------------------------------------- /testdata/configs/missing-semicolon/broken-below.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/missing-semicolon/broken-below.conf -------------------------------------------------------------------------------- /testdata/configs/missing-semicolon/broken-below.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/missing-semicolon/broken-below.json -------------------------------------------------------------------------------- /testdata/configs/nap-waf-v4/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/nap-waf-v4/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/nap-waf-v5/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/nap-waf-v5/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/oidc/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/oidc/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/premature-eof/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/premature-eof/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/quote-behavior/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/quote-behavior/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/quote-behavior/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/quote-behavior/nginx.json -------------------------------------------------------------------------------- /testdata/configs/quote-behavior/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/quote-behavior/xp.json -------------------------------------------------------------------------------- /testdata/configs/quoted-right-brace/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/quoted-right-brace/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/quoted-right-brace/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/quoted-right-brace/nginx.json -------------------------------------------------------------------------------- /testdata/configs/quoted-right-brace/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/quoted-right-brace/xp.json -------------------------------------------------------------------------------- /testdata/configs/returns/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/returns/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/returns/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/returns/nginx.json -------------------------------------------------------------------------------- /testdata/configs/russian-text/nginx.conf: -------------------------------------------------------------------------------- 1 | env 'русский текст'; 2 | events {} 3 | -------------------------------------------------------------------------------- /testdata/configs/russian-text/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/russian-text/nginx.json -------------------------------------------------------------------------------- /testdata/configs/russian-text/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/russian-text/xp.json -------------------------------------------------------------------------------- /testdata/configs/simple-variable-with-braces/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/simple-variable-with-braces/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/simple/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/simple/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/simple/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/simple/nginx.json -------------------------------------------------------------------------------- /testdata/configs/simple/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/simple/xp.json -------------------------------------------------------------------------------- /testdata/configs/spelling-mistake/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/spelling-mistake/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/spelling-mistake/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/spelling-mistake/nginx.json -------------------------------------------------------------------------------- /testdata/configs/testdata/braces/extra-brace.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/braces/extra-brace.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/braces/missing-brace.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/braces/missing-brace.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/broken1/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/broken1/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/broken1/nginx2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/broken1/nginx2.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/comments-between-args/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/comments-between-args/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/directive-with-space/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/directive-with-space/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/empty-config/nginx.conf: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /testdata/configs/testdata/empty-value-map/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/empty-value-map/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/if-expr/empty-parens.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/if-expr/empty-parens.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/if-expr/empty-spaced-parens.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/if-expr/empty-spaced-parens.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/if-expr/missing-closing-paren.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/if-expr/missing-closing-paren.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/if-expr/missing-opening-paren.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/if-expr/missing-opening-paren.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/if-expr/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/if-expr/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/if-expr/no-parens.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/if-expr/no-parens.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/if-expr/spaced-parens.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/if-expr/spaced-parens.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/includes-globbed/http.conf: -------------------------------------------------------------------------------- 1 | http { 2 | include servers/*.conf; 3 | } 4 | -------------------------------------------------------------------------------- /testdata/configs/testdata/includes-globbed/locations/location1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/includes-globbed/locations/location1.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/includes-globbed/locations/location2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/includes-globbed/locations/location2.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/includes-globbed/nginx.conf: -------------------------------------------------------------------------------- 1 | events {} 2 | include http.conf; 3 | -------------------------------------------------------------------------------- /testdata/configs/testdata/includes-globbed/servers/locations/not-included.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/includes-globbed/servers/locations/not-included.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/includes-globbed/servers/server1.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/includes-globbed/servers/server1.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/includes-globbed/servers/server2.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/includes-globbed/servers/server2.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/includes-regular/conf.d/bar.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/includes-regular/conf.d/bar.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/includes-regular/conf.d/foo.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/includes-regular/conf.d/foo.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/includes-regular/conf.d/server.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/includes-regular/conf.d/server.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/includes-regular/foo.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/includes-regular/foo.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/includes-regular/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/includes-regular/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/large-config/nginx.conf.bz2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/large-config/nginx.conf.bz2 -------------------------------------------------------------------------------- /testdata/configs/testdata/large-config/nginx.conf.kld: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/large-config/nginx.conf.kld -------------------------------------------------------------------------------- /testdata/configs/testdata/lua-block-larger/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/lua-block-larger/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/lua-block-simple/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/lua-block-simple/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/lua-block-tricky/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/lua-block-tricky/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/messy/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/messy/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/missing-semicolon-above/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/missing-semicolon-above/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/missing-semicolon-below/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/missing-semicolon-below/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/quote-behavior/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/quote-behavior/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/quoted-right-brace/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/quoted-right-brace/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/russian-text/nginx.conf: -------------------------------------------------------------------------------- 1 | env 'русский текст'; 2 | events {} 3 | -------------------------------------------------------------------------------- /testdata/configs/testdata/simple/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/simple/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/spelling-mistake/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/spelling-mistake/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/upstream_resolver_directive/multiple_resolvers.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/upstream_resolver_directive/multiple_resolvers.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/upstream_resolver_directive/multiple_resolvers.conf.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/upstream_resolver_directive/multiple_resolvers.conf.golden -------------------------------------------------------------------------------- /testdata/configs/testdata/upstream_resolver_directive/multiple_resolvers_with_ports.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/upstream_resolver_directive/multiple_resolvers_with_ports.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/upstream_resolver_directive/multiple_resolvers_with_ports.conf.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/upstream_resolver_directive/multiple_resolvers_with_ports.conf.golden -------------------------------------------------------------------------------- /testdata/configs/testdata/upstream_resolver_directive/simple.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/upstream_resolver_directive/simple.conf -------------------------------------------------------------------------------- /testdata/configs/testdata/upstream_resolver_directive/simple.conf.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/upstream_resolver_directive/simple.conf.golden -------------------------------------------------------------------------------- /testdata/configs/testdata/with-comments/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/testdata/with-comments/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/types/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/types/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/ubuntu-default/mime.types: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/ubuntu-default/mime.types -------------------------------------------------------------------------------- /testdata/configs/ubuntu-default/modules-enabled/50-mod-http-image-filter.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/ubuntu-default/modules-enabled/50-mod-http-image-filter.conf -------------------------------------------------------------------------------- /testdata/configs/ubuntu-default/modules-enabled/50-mod-http-xslt-filter.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/ubuntu-default/modules-enabled/50-mod-http-xslt-filter.conf -------------------------------------------------------------------------------- /testdata/configs/ubuntu-default/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/ubuntu-default/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/ubuntu-default/sites-enabled/default: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/ubuntu-default/sites-enabled/default -------------------------------------------------------------------------------- /testdata/configs/upstream_resolver_directive/multiple_resolvers.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/upstream_resolver_directive/multiple_resolvers.conf -------------------------------------------------------------------------------- /testdata/configs/upstream_resolver_directive/multiple_resolvers.conf.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/upstream_resolver_directive/multiple_resolvers.conf.golden -------------------------------------------------------------------------------- /testdata/configs/upstream_resolver_directive/multiple_resolvers_with_ports.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/upstream_resolver_directive/multiple_resolvers_with_ports.conf -------------------------------------------------------------------------------- /testdata/configs/upstream_resolver_directive/multiple_resolvers_with_ports.conf.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/upstream_resolver_directive/multiple_resolvers_with_ports.conf.golden -------------------------------------------------------------------------------- /testdata/configs/upstream_resolver_directive/simple.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/upstream_resolver_directive/simple.conf -------------------------------------------------------------------------------- /testdata/configs/upstream_resolver_directive/simple.conf.golden: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/upstream_resolver_directive/simple.conf.golden -------------------------------------------------------------------------------- /testdata/configs/with-comments/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/with-comments/nginx.conf -------------------------------------------------------------------------------- /testdata/configs/with-comments/nginx.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/with-comments/nginx.json -------------------------------------------------------------------------------- /testdata/configs/with-comments/xp.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/testdata/configs/with-comments/xp.json -------------------------------------------------------------------------------- /tools.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/tools.go -------------------------------------------------------------------------------- /types.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/types.go -------------------------------------------------------------------------------- /types_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/types_test.go -------------------------------------------------------------------------------- /util.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/util.go -------------------------------------------------------------------------------- /util_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/nginxinc/nginx-go-crossplane/HEAD/util_test.go --------------------------------------------------------------------------------