conf

package
v0.0.0-...-fd51218 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 13, 2016 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

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 GetBuildInfo(fname string) (buildId string, buildDate string)

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 GetNumServedRequests

func GetNumServedRequests() int

num of requests served by this instance

func GetRegAdminPsswd

func GetRegAdminPsswd() string

func GetRegLocation

func GetRegLocation() string

func GetReqId

func GetReqId() string

func GetServerCertFile

func GetServerCertFile() string

func GetServerKeyFile

func GetServerKeyFile() string

func GetServiceHosts

func GetServiceHosts(service string) (hosts []string)

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 GetVerStr

func GetVerStr() string

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 LoadEnv

func LoadEnv()

func SetTlsInbound

func SetTlsInbound(b bool)

func SetTlsOutbound

func SetTlsOutbound(b bool)

Types

type ConsulService

type ConsulService struct {
	Node        string
	Address     string
	ServiceID   string
	ServiceName string
	ServiceTags []string
	ServicePort int
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL