blob: cd0d3cef6c24b23a1aa399303a569d4d72c78079 [file] [log] [blame]
Todd Wang7a6a4c22015-05-12 23:57:16 -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
5// This file was auto-generated via go generate.
6// DO NOT UPDATE MANUALLY
7
8/*
9Command proxyd is a daemon that listens for connections from Vanadium services
10(typically behind NATs) and proxies these services to the outside world.
11
12Usage:
13 proxyd [flags]
14
15The proxyd flags are:
16 -access-list=
17 Blessings that are authorized to listen via the proxy. JSON-encoded
18 representation of access.AccessList. An empty string implies the default
19 authorization policy.
20 -healthz-address=
21 Network address on which the HTTP healthz server runs. It is intended to be
22 used with a load balancer. The load balancer must be able to reach this
23 address in order to verify that the proxy server is running.
24 -name=
25 Name to mount the proxy as.
26 -published-address=
27 DEPRECATED - the proxy now uses listenspecs and the address chooser
28 mechanism.
29
30The global flags are:
31 -alsologtostderr=true
32 log to standard error as well as files
33 -log_backtrace_at=:0
34 when logging hits line file:N, emit a stack trace
35 -log_dir=
36 if non-empty, write log files to this directory
37 -logtostderr=false
38 log to standard error instead of files
39 -max_stack_buf_size=4292608
40 max size in bytes of the buffer to use for logging stack traces
Jiri Simsa26f1c4d2015-08-09 17:49:40 -070041 -metadata=<just specify -metadata to activate>
42 Displays metadata for the program and exits.
Todd Wang7a6a4c22015-05-12 23:57:16 -070043 -stderrthreshold=2
44 logs at or above this threshold go to stderr
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
Todd Wang7a6a4c22015-05-12 23:57:16 -070051 -v23.namespace.root=[/(dev.v.io/role/vprod/service/mounttabled)@ns.dev.v.io:8101]
52 local namespace root; can be repeated to provided multiple roots
53 -v23.permissions.file=map[]
54 specify a perms file as <name>:<permsfile>
55 -v23.permissions.literal=
56 explicitly specify the runtime perms as a JSON-encoded access.Permissions.
57 Overrides all --v23.permissions.file flags.
58 -v23.proxy=
59 object name of proxy service to use to export services across network
60 boundaries
61 -v23.tcp.address=
62 address to listen on
63 -v23.tcp.protocol=wsh
64 protocol to listen with
65 -v23.vtrace.cache-size=1024
66 The number of vtrace traces to store in memory.
67 -v23.vtrace.collect-regexp=
68 Spans and annotations that match this regular expression will trigger trace
69 collection.
70 -v23.vtrace.dump-on-shutdown=true
71 If true, dump all stored traces on runtime shutdown.
72 -v23.vtrace.sample-rate=0
73 Rate (from 0.0 to 1.0) to sample vtrace traces.
74 -vmodule=
Cosmos Nicolaou6c363882015-06-02 11:51:27 -070075 comma-separated list of pattern=N settings for filename-filtered logging
76 -vpath=
77 comma-separated list of pattern=N settings for file pathname-filtered logging
Todd Wang7a6a4c22015-05-12 23:57:16 -070078*/
79package main