1 // Copyright (C) The Arvados Authors. All rights reserved.
3 // SPDX-License-Identifier: AGPL-3.0
16 c.Client.APIHost = "zzzzz.arvadosapi.com:443"
17 exampleConfigFile, err := json.MarshalIndent(c, " ", " ")
21 fmt.Fprintf(os.Stderr, `
23 Keepproxy forwards GET and PUT requests to keepstore servers. See
24 http://doc.arvados.org/install/install-keepproxy.html
26 Usage: keepproxy [-config path/to/keepproxy.yml]
31 fmt.Fprintf(os.Stderr, `
37 Address (or address:port) of the Arvados API endpoint.
45 True if your Arvados API endpoint uses an unverifiable SSL/TLS
50 Local port to listen on. Can be "address:port" or ":port", where
51 "address" is a host IP address or name and "port" is a port number
56 Respond 404 to GET and HEAD requests.
60 Respond 404 to PUT, POST, and OPTIONS requests.
64 Default number of replicas to write if not specified by the
65 client. If this is zero or omitted, the site-wide
66 defaultCollectionReplication configuration will be used.
70 Timeout for requests to keep services, with units (e.g., "120s",
75 Path to PID file. During startup this file will be created if
76 needed, and locked using flock() until keepproxy exits. If it is
77 already locked, or any error is encountered while writing to it,
78 keepproxy will exit immediately. If omitted or empty, no PID file
87 Authorization token to be included in all health check requests.