github.com/grailbio/base@v0.0.11/cmd/grail-ticket/doc.go (about) 1 // This file was auto-generated via go generate. 2 // DO NOT UPDATE MANUALLY 3 4 /* 5 Command grail-ticket retrieves a ticket from a ticket-server. A ticket is 6 identified using a Vanadium name. 7 8 Examples: 9 10 grail-ticket tickets/eng/dev/aws 11 grail-ticket /127.0.0.1:8000/eng/dev/aws 12 13 Note that tickets can be enumerated using the 'namespace' Vanadium tool: 14 15 namespace glob tickets/... 16 namespace glob tickets/eng/... 17 namespace glob /127.0.0.1:8000/... 18 namespace glob /127.0.0.1:8000/eng/... 19 20 Usage: 21 grail-ticket [flags] <ticket> 22 23 The grail-ticket flags are: 24 -authority-cert= 25 PEM file to store the CA cert for a TLS-based ticket 26 -cert= 27 PEM file to store the cert for a TLS-based ticket 28 -json-only=false 29 Force a JSON output even for the tickets that have special handling 30 -key= 31 PEM file to store the private key for a TLS-based ticket 32 -list=false 33 List accessible tickets 34 -rationale= 35 Rationale for accessing ticket 36 -timeout=1m30s 37 Timeout for the requests to the ticket-server 38 39 The global flags are: 40 -alsologtostderr=false 41 log to standard error as well as files 42 -log_backtrace_at=:0 43 when logging hits line file:N, emit a stack trace 44 -log_dir= 45 if non-empty, write log files to this directory 46 -logtostderr=false 47 log to standard error instead of files 48 -max_stack_buf_size=4292608 49 max size in bytes of the buffer to use for logging stack traces 50 -metadata=<just specify -metadata to activate> 51 Displays metadata for the program and exits. 52 -stderrthreshold=2 53 logs at or above this threshold go to stderr 54 -time=false 55 Dump timing information to stderr before exiting the program. 56 -v=0 57 log level for V logs 58 -v23.credentials= 59 directory to use for storing security credentials 60 -v23.namespace.root=[/(v23.grail.com:internal:mounttabled)@ns-0.v23.grail.com:8101,/(v23.grail.com:internal:mounttabled)@ns-1.v23.grail.com:8101,/(v23.grail.com:internal:mounttabled)@ns-2.v23.grail.com:8101] 61 local namespace root; can be repeated to provided multiple roots 62 -v23.permissions.file= 63 specify a perms file as <name>:<permsfile> 64 -v23.permissions.literal= 65 explicitly specify the runtime perms as a JSON-encoded access.Permissions. 66 Overrides all --v23.permissions.file flags 67 -v23.proxy= 68 object name of proxy service to use to export services across network 69 boundaries 70 -v23.proxy.limit=0 71 max number of proxies to connect to when the policy is to connect to all 72 proxies; 0 implies all proxies 73 -v23.proxy.policy= 74 policy for choosing from a set of available proxy instances 75 -v23.tcp.address= 76 address to listen on 77 -v23.tcp.protocol= 78 protocol to listen with 79 -v23.virtualized.advertise-private-addresses= 80 if set the process will also advertise its private addresses 81 -v23.virtualized.disallow-native-fallback=false 82 if set, a failure to detect the requested virtualization provider will result 83 in an error, otherwise, native mode is used 84 -v23.virtualized.dns.public-name= 85 if set the process will use the supplied dns name (and port) without 86 resolution for its entry in the mounttable 87 -v23.virtualized.docker= 88 set if the process is running in a docker container and needs to configure 89 itself differently therein 90 -v23.virtualized.provider= 91 the name of the virtualization/cloud provider hosting this process if the 92 process needs to configure itself differently therein 93 -v23.virtualized.tcp.public-address= 94 if set the process will use this address (resolving via dns if appropriate) 95 for its entry in the mounttable 96 -v23.virtualized.tcp.public-protocol= 97 if set the process will use this protocol for its entry in the mounttable 98 -v23.vtrace.cache-size=1024 99 The number of vtrace traces to store in memory 100 -v23.vtrace.collect-regexp= 101 Spans and annotations that match this regular expression will trigger trace 102 collection 103 -v23.vtrace.dump-on-shutdown=true 104 If true, dump all stored traces on runtime shutdown 105 -v23.vtrace.enable-aws-xray=false 106 Enable the use of AWS x-ray integration with vtrace 107 -v23.vtrace.root-span-name= 108 Set the name of the root vtrace span created by the runtime at startup 109 -v23.vtrace.sample-rate=0 110 Rate (from 0.0 to 1.0) to sample vtrace traces 111 -v23.vtrace.v=0 112 The verbosity level of the log messages to be captured in traces 113 -vmodule= 114 comma-separated list of globpattern=N settings for filename-filtered logging 115 (without the .go suffix). E.g. foo/bar/baz.go is matched by patterns baz or 116 *az or b* but not by bar/baz or baz.go or az or b.* 117 -vpath= 118 comma-separated list of regexppattern=N settings for file pathname-filtered 119 logging (without the .go suffix). E.g. foo/bar/baz.go is matched by patterns 120 foo/bar/baz or fo.*az or oo/ba or b.z but not by foo/bar/baz.go or fo*az 121 */ 122 package main