Todd Wang | 7a6a4c2 | 2015-05-12 23:57:16 -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 | |
| 5 | // This file was auto-generated via go generate. |
| 6 | // DO NOT UPDATE MANUALLY |
| 7 | |
| 8 | // +build wspr |
| 9 | |
| 10 | /* |
| 11 | Command servicerunner runs several Vanadium services, including the mounttable, |
| 12 | proxy and wspr. It prints a JSON map with their vars to stdout (as a single |
| 13 | line), then waits forever. |
| 14 | |
| 15 | Usage: |
| 16 | servicerunner [flags] |
| 17 | |
| 18 | The servicerunner flags are: |
| 19 | -identd= |
| 20 | Name of wspr identd server. |
| 21 | -port=8124 |
| 22 | Port for wspr to listen on. |
| 23 | |
| 24 | The global flags are: |
| 25 | -alsologtostderr=true |
| 26 | log to standard error as well as files |
| 27 | -external-http-addr= |
| 28 | External address on which the HTTP server listens on. If none is provided the |
| 29 | server will only listen on -http-addr. |
| 30 | -http-addr=localhost:0 |
| 31 | Address on which the HTTP server listens on. |
| 32 | -log_backtrace_at=:0 |
| 33 | when logging hits line file:N, emit a stack trace |
| 34 | -log_dir= |
| 35 | if non-empty, write log files to this directory |
| 36 | -logtostderr=false |
| 37 | log to standard error instead of files |
| 38 | -max_stack_buf_size=4292608 |
| 39 | max size in bytes of the buffer to use for logging stack traces |
| 40 | -stderrthreshold=2 |
| 41 | logs at or above this threshold go to stderr |
| 42 | -tls-config= |
| 43 | Comma-separated list of TLS certificate and private key files. This must be |
| 44 | provided. |
| 45 | -v=0 |
| 46 | log level for V logs |
| 47 | -v23.credentials= |
| 48 | directory to use for storing security credentials |
| 49 | -v23.i18n-catalogue= |
| 50 | 18n catalogue files to load, comma separated |
| 51 | -v23.metadata=<just specify -v23.metadata to activate> |
| 52 | Displays metadata for the program and exits. |
| 53 | -v23.namespace.root=[/(dev.v.io/role/vprod/service/mounttabled)@ns.dev.v.io:8101] |
| 54 | local namespace root; can be repeated to provided multiple roots |
| 55 | -v23.proxy= |
| 56 | object name of proxy service to use to export services across network |
| 57 | boundaries |
| 58 | -v23.tcp.address= |
| 59 | address to listen on |
| 60 | -v23.tcp.protocol=wsh |
| 61 | protocol to listen with |
| 62 | -v23.vtrace.cache-size=1024 |
| 63 | The number of vtrace traces to store in memory. |
| 64 | -v23.vtrace.collect-regexp= |
| 65 | Spans and annotations that match this regular expression will trigger trace |
| 66 | collection. |
| 67 | -v23.vtrace.dump-on-shutdown=true |
| 68 | If true, dump all stored traces on runtime shutdown. |
| 69 | -v23.vtrace.sample-rate=0 |
| 70 | Rate (from 0.0 to 1.0) to sample vtrace traces. |
| 71 | -vmodule= |
| 72 | comma-separated list of pattern=N settings for file-filtered logging |
| 73 | */ |
| 74 | package main |