Documentation
¶
Index ¶
- Constants
- func UnderVespaHome(p string) string
- func VespaConfigProxyRpcAddr() string
- func VespaConfigSourcesRpcAddrs() []string
- func VespaConfigserverHosts() []string
- func VespaConfigserverRestUrls() []string
- func VespaConfigserverRpcAddrs() []string
- func VespaContainerWebServicePort() int
- func VespaHome() string
- func VespaHostname() string
- func VespaLogFile() string
- func VespaPortBase() int
- func VespaUser() string
Constants ¶
const ( DEFAULT_VESPA_HOME = "/opt/vespa" DEFAULT_VESPA_USER = "vespa" DEFAULT_VESPA_HOST = "localhost" DEFAULT_VESPA_PORT_BASE = 19000 CONFIGSERVER_RPC_PORT_OFFSET = 70 CONFIGPROXY_RPC_PORT_OFFSET = 90 DEFAULT_WEB_SERVICE_PORT = 8080 )
Variables ¶
This section is empty.
Functions ¶
func UnderVespaHome ¶
func VespaConfigProxyRpcAddr ¶
func VespaConfigProxyRpcAddr() string
Find the RPC address to the local config proxy Returns one RPC spec in the format tcp/{hostname}:{portnumber}
func VespaConfigSourcesRpcAddrs ¶
func VespaConfigSourcesRpcAddrs() []string
Get the RPC addresses to all known config sources Returns same as vespaConfigProxyRpcAddr + vespaConfigserverRpcAddrs
func VespaConfigserverHosts ¶
func VespaConfigserverHosts() []string
Find the hostnames of configservers that are configured.
func VespaConfigserverRestUrls ¶
func VespaConfigserverRestUrls() []string
Find the URLs to the REST api on configservers Returns a list of URLS in the format http://{hostname}:{portnumber}/
func VespaConfigserverRpcAddrs ¶
func VespaConfigserverRpcAddrs() []string
Find the RPC addresses to configservers that are configured. Returns a list of RPC specs in the format tcp/{hostname}:{portnumber}
func VespaContainerWebServicePort ¶
func VespaContainerWebServicePort() int
Compute the port number where the Vespa webservice container should be available.
func VespaHome ¶
func VespaHome() string
Compute the path prefix where Vespa files will live. Note: does not end with "/"
func VespaHostname ¶
func VespaHostname() string
Compute the host name that identifies myself. Detection of the hostname is now done before starting any Vespa programs and provided in the environment variable VESPA_HOSTNAME; if that variable isn't set a default of "localhost" is always returned.
func VespaLogFile ¶
func VespaLogFile() string
func VespaPortBase ¶
func VespaPortBase() int
Compute the base for port numbers where the Vespa services should listen.
Types ¶
This section is empty.