You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: cli/cmd/genconfig.go
+25-15Lines changed: 25 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -34,11 +34,12 @@ type GenConfig struct {
34
34
// sep:"none" disables Kong's default comma-separated splitting for []string flags.
35
35
// JSON config values contain commas (e.g. {"a":"1","b":"2"}) which would otherwise
36
36
// be split into separate invalid fragments, causing protobuf unmarshal failures.
37
-
Configs []string`name:"config" sep:"none" help:"Optional JSON config string for extensions. Applied in order to combined --extension and --local flags."`
38
-
ClustersClusterFlags`embed:""`
39
-
OCIOCIFlags`embed:""`
40
-
TestUpstreamHoststring`name:"test-upstream-host" help:"Hostname for the test upstream cluster." default:"httpbin.org"`
41
-
Outputstring`name:"output" help:"Directory to put the generated config into. Use \"-\" to print it to the standard output." default:"-" type:"path"`
37
+
Configs []string`name:"config" sep:"none" help:"Optional JSON config string for extensions. Applied in order to combined --extension and --local flags."`
38
+
ClustersClusterFlags`embed:""`
39
+
OCIOCIFlags`embed:""`
40
+
TestUpstreamHoststring`name:"test-upstream-host" help:"Hostname for the test upstream cluster. Mutually exclusive with --test-upstream-cluster. Defaults to \"httpbin.org\"."`
41
+
TestUpstreamClusterstring`name:"test-upstream-cluster" help:"Name of an existing configured cluster to use as the test upstream. The cluster must be configured via --cluster, --cluster-insecure, or --cluster-json. Mutually exclusive with --test-upstream-host."`
42
+
Outputstring`name:"output" help:"Directory to put the generated config into. Use \"-\" to print it to the standard output." default:"-" type:"path"`
42
43
43
44
extensionPositionsextensionPositions`kong:"-"`// Internal field: tracks the original position of extensions specified via both --extension and --local flags
44
45
stdout io.Writer`kong:"-"`// Internal field for testing
Copy file name to clipboardExpand all lines: cli/cmd/run.go
+25-20Lines changed: 25 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -41,12 +41,13 @@ type Run struct {
41
41
// sep:"none" disables Kong's default comma-separated splitting for []string flags.
42
42
// JSON config values contain commas (e.g. {"a":"1","b":"2"}) which would otherwise
43
43
// be split into separate invalid fragments, causing protobuf unmarshal failures.
44
-
Configs []string`name:"config" sep:"none" help:"Optional JSON config string for extensions. Applied in order to combined --extension and --local flags."`
45
-
ClustersClusterFlags`embed:""`
46
-
TestUpstreamHoststring`name:"test-upstream-host" help:"Hostname for the test upstream cluster." default:"httpbin.org"`
47
-
Dockerbool`help:"Run Envoy as a Docker container instead of using func-e." default:"false" env:"BOE_RUN_DOCKER"`
48
-
Pullstring`name:"pull" help:"Pull policy for the BOE Docker image (missing, always, never). Only applicable when running with --docker." enum:"missing,always,never" default:"missing"`
49
-
OCIOCIFlags`embed:""`
44
+
Configs []string`name:"config" sep:"none" help:"Optional JSON config string for extensions. Applied in order to combined --extension and --local flags."`
45
+
ClustersClusterFlags`embed:""`
46
+
TestUpstreamHoststring`name:"test-upstream-host" help:"Hostname for the test upstream cluster. Mutually exclusive with --test-upstream-cluster. Defaults to \"httpbin.org\"."`
47
+
TestUpstreamClusterstring`name:"test-upstream-cluster" help:"Name of an existing configured cluster to use as the test upstream. The cluster must be configured via --cluster, --cluster-insecure, or --cluster-json. Mutually exclusive with --test-upstream-host."`
48
+
Dockerbool`help:"Run Envoy as a Docker container instead of using func-e." default:"false" env:"BOE_RUN_DOCKER"`
49
+
Pullstring`name:"pull" help:"Pull policy for the BOE Docker image (missing, always, never). Only applicable when running with --docker." enum:"missing,always,never" default:"missing"`
50
+
OCIOCIFlags`embed:""`
50
51
51
52
extensionPositionsextensionPositions`kong:"-"`// Internal field: tracks the original position of extensions specified via both --extension and --local flags
0 commit comments