Jiri Simsa | 3f4e92d | 2015-03-24 21:26:37 -0700 | [diff] [blame] | 1 | // Copyright 2015 The Vanadium Authors. All rights reserved. |
| 2 | // Use of this source code is governed by a BSD-style |
| 3 | // license that can be found in the LICENSE file. |
| 4 | |
Todd Wang | 991ecf1 | 2015-02-25 17:38:37 -0800 | [diff] [blame] | 5 | // This file was auto-generated via go generate. |
| 6 | // DO NOT UPDATE MANUALLY |
| 7 | |
| 8 | /* |
| 9 | The vomtestgen tool generates vom test data, using the vomdata file as input, |
| 10 | and creating a vdl file as output. |
| 11 | |
| 12 | Usage: |
| 13 | vomtestgen [flags] [vomdata] |
| 14 | |
| 15 | [vomdata] is the path to the vomdata input file, specified in the vdl config |
| 16 | file format. It must be of the form "NAME.vdl.config", and the output vdl file |
| 17 | will be generated at "NAME.vdl". |
| 18 | |
| 19 | The config file should export a const []any that contains all of the values that |
| 20 | will be tested. Here's an example: |
| 21 | config = []any{ |
| 22 | bool(true), uint64(123), string("abc"), |
| 23 | } |
| 24 | |
| 25 | If not specified, we'll try to find the file at its canonical location: |
| 26 | v.io/v23/vom/testdata/vomdata.vdl.config |
| 27 | |
| 28 | The vomtestgen flags are: |
| 29 | -exts=.vdl |
| 30 | Comma-separated list of valid VDL file name extensions. |
Suharsh Sivakumar | 6901a2e | 2015-04-02 11:39:19 -0700 | [diff] [blame] | 31 | -max-errors=-1 |
Todd Wang | 991ecf1 | 2015-02-25 17:38:37 -0800 | [diff] [blame] | 32 | Stop processing after this many errors, or -1 for unlimited. |
Matt Rosencrantz | 83b0b7f | 2015-03-26 16:17:01 -0700 | [diff] [blame] | 33 | |
| 34 | The global flags are: |
| 35 | -alsologtostderr=true |
| 36 | log to standard error as well as files |
| 37 | -log_backtrace_at=:0 |
| 38 | when logging hits line file:N, emit a stack trace |
| 39 | -log_dir= |
| 40 | if non-empty, write log files to this directory |
| 41 | -logtostderr=false |
| 42 | log to standard error instead of files |
| 43 | -max_stack_buf_size=4292608 |
| 44 | max size in bytes of the buffer to use for logging stack traces |
| 45 | -stderrthreshold=2 |
| 46 | logs at or above this threshold go to stderr |
| 47 | -v=0 |
| 48 | log level for V logs |
Asim Shankar | f32d24d | 2015-04-01 16:34:26 -0700 | [diff] [blame] | 49 | -v23.credentials= |
| 50 | directory to use for storing security credentials |
| 51 | -v23.i18n-catalogue= |
| 52 | 18n catalogue files to load, comma separated |
| 53 | -v23.namespace.root=[/ns.dev.v.io:8101] |
| 54 | local namespace root; can be repeated to provided multiple roots |
| 55 | -v23.permissions.file=map[] |
| 56 | specify an acl file as <name>:<aclfile> |
| 57 | -v23.permissions.literal= |
| 58 | explicitly specify the runtime acl as a JSON-encoded access.Permissions. |
| 59 | Overrides all --v23.permissions.file flags. |
| 60 | -v23.proxy= |
| 61 | object name of proxy service to use to export services across network |
| 62 | boundaries |
| 63 | -v23.tcp.address= |
| 64 | address to listen on |
| 65 | -v23.tcp.protocol=wsh |
| 66 | protocol to listen with |
| 67 | -v23.vtrace.cache-size=1024 |
| 68 | The number of vtrace traces to store in memory. |
| 69 | -v23.vtrace.collect-regexp= |
| 70 | Spans and annotations that match this regular expression will trigger trace |
| 71 | collection. |
| 72 | -v23.vtrace.dump-on-shutdown=true |
| 73 | If true, dump all stored traces on runtime shutdown. |
| 74 | -v23.vtrace.sample-rate=0 |
| 75 | Rate (from 0.0 to 1.0) to sample vtrace traces. |
Matt Rosencrantz | 83b0b7f | 2015-03-26 16:17:01 -0700 | [diff] [blame] | 76 | -vmodule= |
| 77 | comma-separated list of pattern=N settings for file-filtered logging |
Todd Wang | 991ecf1 | 2015-02-25 17:38:37 -0800 | [diff] [blame] | 78 | */ |
| 79 | package main |