Documentation ¶
Index ¶
- Constants
- Variables
- func GetAnnotationExtLabel() string
- func GetApiKeyHeader() string
- func GetBackOffTimeout() int
- func GetBuildInfo(fname string) (buildId string, buildDate string)
- func GetCaCertFile() string
- func GetClientCertFile() string
- func GetClientKeyFile() string
- func GetConsulIp() string
- func GetConsulPort() int
- func GetDefaultListenPort() int
- func GetDockerApiVer() string
- func GetDockerPort() string
- func GetEnvName() string
- func GetKadminCertFile() string
- func GetKadminKeyFile() string
- func GetKubeAuthzPort() int
- func GetKubePort() int
- func GetMaxContainerConn() int
- func GetMaxNodeConn() int
- func GetMaxRetries() int
- func GetNumServedRequests() int
- func GetRegAdminPsswd() string
- func GetRegLocation() string
- func GetReqId() string
- func GetServerCertFile() string
- func GetServerKeyFile() string
- func GetServiceHosts(service string) (hosts []string)
- func GetServiceUserTemplate() string
- func GetStubAuthFile() string
- func GetSwarmAuthHeader() string
- func GetSwarmAuthLabel() string
- func GetSwarmMasterPort() int
- func GetSwarmNodePort() int
- func GetVerStr() string
- func IsApiKeyCertEnabled() bool
- func IsApiKeyHeaderEnabled() bool
- func IsSurrogateIds() bool
- func IsTlsInbound() bool
- func IsTlsOutbound() bool
- func LoadEnv()
- func SetTlsInbound(b bool)
- func SetTlsOutbound(b bool)
- type ConsulService
Constants ¶
View Source
const Version = 1.20
Variables ¶
View Source
var BuildDate = ""
View Source
var BuildId = ""
View Source
var Default_redirect_host = "" //TODO remove this testing default
Functions ¶
func GetAnnotationExtLabel ¶
func GetAnnotationExtLabel() string
func GetApiKeyHeader ¶
func GetApiKeyHeader() string
func GetBackOffTimeout ¶
func GetBackOffTimeout() int
func GetBuildInfo ¶
func GetCaCertFile ¶
func GetCaCertFile() string
func GetClientCertFile ¶
func GetClientCertFile() string
func GetClientKeyFile ¶
func GetClientKeyFile() string
func GetConsulIp ¶
func GetConsulIp() string
func GetConsulPort ¶
func GetConsulPort() int
func GetDefaultListenPort ¶
func GetDefaultListenPort() int
func GetDockerApiVer ¶
func GetDockerApiVer() string
func GetDockerPort ¶
func GetDockerPort() string
func GetEnvName ¶
func GetEnvName() string
func GetKadminCertFile ¶
func GetKadminCertFile() string
func GetKadminKeyFile ¶
func GetKadminKeyFile() string
func GetKubeAuthzPort ¶
func GetKubeAuthzPort() int
func GetKubePort ¶
func GetKubePort() int
func GetMaxContainerConn ¶
func GetMaxContainerConn() int
func GetMaxNodeConn ¶
func GetMaxNodeConn() int
func GetMaxRetries ¶
func GetMaxRetries() int
func GetRegAdminPsswd ¶
func GetRegAdminPsswd() string
func GetRegLocation ¶
func GetRegLocation() string
func GetServerCertFile ¶
func GetServerCertFile() string
func GetServerKeyFile ¶
func GetServerKeyFile() string
func GetServiceHosts ¶
func GetServiceUserTemplate ¶
func GetServiceUserTemplate() string
func GetStubAuthFile ¶
func GetStubAuthFile() string
func GetSwarmAuthHeader ¶
func GetSwarmAuthHeader() string
func GetSwarmAuthLabel ¶
func GetSwarmAuthLabel() string
func GetSwarmMasterPort ¶
func GetSwarmMasterPort() int
func GetSwarmNodePort ¶
func GetSwarmNodePort() int
func IsApiKeyCertEnabled ¶
func IsApiKeyCertEnabled() bool
func IsApiKeyHeaderEnabled ¶
func IsApiKeyHeaderEnabled() bool
func IsSurrogateIds ¶
func IsSurrogateIds() bool
func IsTlsInbound ¶
func IsTlsInbound() bool
func IsTlsOutbound ¶
func IsTlsOutbound() bool
func SetTlsInbound ¶
func SetTlsInbound(b bool)
func SetTlsOutbound ¶
func SetTlsOutbound(b bool)
Types ¶
Click to show internal directories.
Click to hide internal directories.