blob: 67e37b3ec8a28169bdedddeae74d0eea977dbb17 [file] [log] [blame]
Jiri Simsa3f4e92d2015-03-24 21:26:37 -07001// 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 Wang991ecf12015-02-25 17:38:37 -08005// This file was auto-generated via go generate.
6// DO NOT UPDATE MANUALLY
7
8/*
9The vomtestgen tool generates vom test data, using the vomdata file as input,
10and creating a vdl file as output.
11
12Usage:
13 vomtestgen [flags] [vomdata]
14
15[vomdata] is the path to the vomdata input file, specified in the vdl config
16file format. It must be of the form "NAME.vdl.config", and the output vdl file
17will be generated at "NAME.vdl".
18
19The config file should export a const []any that contains all of the values that
20will be tested. Here's an example:
21 config = []any{
22 bool(true), uint64(123), string("abc"),
23 }
24
25If not specified, we'll try to find the file at its canonical location:
26 v.io/v23/vom/testdata/vomdata.vdl.config
27
28The vomtestgen flags are:
29 -exts=.vdl
30 Comma-separated list of valid VDL file name extensions.
Suharsh Sivakumar6901a2e2015-04-02 11:39:19 -070031 -max-errors=-1
Todd Wang991ecf12015-02-25 17:38:37 -080032 Stop processing after this many errors, or -1 for unlimited.
Matt Rosencrantz83b0b7f2015-03-26 16:17:01 -070033
34The 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 Shankarf32d24d2015-04-01 16:34:26 -070049 -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 Rosencrantz83b0b7f2015-03-26 16:17:01 -070076 -vmodule=
77 comma-separated list of pattern=N settings for file-filtered logging
Todd Wang991ecf12015-02-25 17:38:37 -080078*/
79package main