Documentation ¶
Index ¶
Constants ¶
View Source
const ( HostAppRoot = "app-root" HostAuthTLSErrorPage = "auth-tls-error-page" HostAuthTLSSecret = "auth-tls-secret" HostAuthTLSStrict = "auth-tls-strict" HostAuthTLSVerifyClient = "auth-tls-verify-client" HostCertSigner = "cert-signer" HostPathType = "path-type" HostServerAlias = "server-alias" HostServerAliasRegex = "server-alias-regex" HostSSLCiphers = "ssl-ciphers" HostSSLCipherSuites = "ssl-cipher-suites" HostSSLOptionsHost = "ssl-options-host" HostSSLPassthrough = "ssl-passthrough" HostSSLPassthroughHTTPPort = "ssl-passthrough-http-port" HostTLSALPN = "tls-alpn" HostVarNamespace = "var-namespace" )
Host Annotations
View Source
const ( BackAffinity = "affinity" BackAgentCheckAddr = "agent-check-addr" BackAgentCheckInterval = "agent-check-interval" BackAgentCheckPort = "agent-check-port" BackAgentCheckSend = "agent-check-send" BackAuthRealm = "auth-realm" BackAuthSecret = "auth-secret" BackAuthTLSCertHeader = "auth-tls-cert-header" BackAuthType = "auth-type" BackBackendCheckInterval = "backend-check-interval" BackBackendProtocol = "backend-protocol" BackBackendServerNaming = "backend-server-naming" BackBackendServerSlotsInc = "backend-server-slots-increment" BackBalanceAlgorithm = "balance-algorithm" BackBlueGreenBalance = "blue-green-balance" BackBlueGreenCookie = "blue-green-cookie" BackBlueGreenDeploy = "blue-green-deploy" BackBlueGreenHeader = "blue-green-header" BackBlueGreenMode = "blue-green-mode" BackConfigBackend = "config-backend" BackCorsAllowCredentials = "cors-allow-credentials" BackCorsAllowHeaders = "cors-allow-headers" BackCorsAllowMethods = "cors-allow-methods" BackCorsAllowOrigin = "cors-allow-origin" BackCorsEnable = "cors-enable" BackCorsExposeHeaders = "cors-expose-headers" BackCorsMaxAge = "cors-max-age" BackDynamicScaling = "dynamic-scaling" BackHeaders = "headers" BackHealthCheckAddr = "health-check-addr" BackHealthCheckFallCount = "health-check-fall-count" BackHealthCheckInterval = "health-check-interval" BackHealthCheckPort = "health-check-port" BackHealthCheckRiseCount = "health-check-rise-count" BackHealthCheckURI = "health-check-uri" BackHSTS = "hsts" BackHSTSIncludeSubdomains = "hsts-include-subdomains" BackHSTSMaxAge = "hsts-max-age" BackHSTSPreload = "hsts-preload" BackInitialWeight = "initial-weight" BackLimitConnections = "limit-connections" BackLimitRPS = "limit-rps" BackLimitWhitelist = "limit-whitelist" BackMaxconnServer = "maxconn-server" BackMaxQueueServer = "maxqueue-server" BackOAuth = "oauth" BackOAuthHeaders = "oauth-headers" BackOAuthURIPrefix = "oauth-uri-prefix" BackProxyBodySize = "proxy-body-size" BackProxyProtocol = "proxy-protocol" BackRewriteTarget = "rewrite-target" BackSlotsMinFree = "slots-min-free" BackSecureBackends = "secure-backends" BackSecureCrtSecret = "secure-crt-secret" BackSecureSNI = "secure-sni" BackSecureVerifyCASecret = "secure-verify-ca-secret" BackSecureVerifyHostname = "secure-verify-hostname" BackServiceUpstream = "service-upstream" BackSessionCookieDynamic = "session-cookie-dynamic" BackSessionCookieKeywords = "session-cookie-keywords" BackSessionCookieName = "session-cookie-name" BackSessionCookieStrategy = "session-cookie-strategy" BackSSLCipherSuitesBackend = "ssl-cipher-suites-backend" BackSSLCiphersBackend = "ssl-ciphers-backend" BackSSLFingerprintLower = "ssl-fingerprint-lower" BackSSLOptionsBackend = "ssl-options-backend" BackSSLRedirect = "ssl-redirect" BackTimeoutConnect = "timeout-connect" BackTimeoutHTTPRequest = "timeout-http-request" BackTimeoutKeepAlive = "timeout-keep-alive" BackTimeoutQueue = "timeout-queue" BackTimeoutServer = "timeout-server" BackTimeoutServerFin = "timeout-server-fin" BackTimeoutTunnel = "timeout-tunnel" BackUseResolver = "use-resolver" BackWAF = "waf" BackWAFMode = "waf-mode" BackWhitelistSourceRange = "whitelist-source-range" )
Backend Annotations
View Source
const ( GlobalAcmeEmails = "acme-emails" GlobalAcmeEndpoint = "acme-endpoint" GlobalAcmeExpiring = "acme-expiring" GlobalAcmeTermsAgreed = "acme-terms-agreed" GlobalBindFrontingProxy = "bind-fronting-proxy" GlobalBindHTTP = "bind-http" GlobalBindHTTPS = "bind-https" GlobalBindIPAddrHealthz = "bind-ip-addr-healthz" GlobalBindIPAddrHTTP = "bind-ip-addr-http" GlobalBindIPAddrPrometheus = "bind-ip-addr-prometheus" GlobalBindIPAddrStats = "bind-ip-addr-stats" GlobalBindIPAddrTCP = "bind-ip-addr-tcp" GlobalConfigDefaults = "config-defaults" GlobalConfigFrontend = "config-frontend" GlobalConfigGlobal = "config-global" GlobalCookieKey = "cookie-key" GlobalCpuMap = "cpu-map" GlobalDNSAcceptedPayloadSize = "dns-accepted-payload-size" GlobalDNSClusterDomain = "dns-cluster-domain" GlobalDNSHoldObsolete = "dns-hold-obsolete" GlobalDNSHoldValid = "dns-hold-valid" GlobalDNSResolvers = "dns-resolvers" GlobalDNSTimeoutRetry = "dns-timeout-retry" GlobalDrainSupport = "drain-support" GlobalDrainSupportRedispatch = "drain-support-redispatch" GlobalForwardfor = "forwardfor" GlobalFrontingProxyPort = "fronting-proxy-port" GlobalHealthzPort = "healthz-port" GlobalHTTPLogFormat = "http-log-format" GlobalHTTPPort = "http-port" GlobalHTTPSLogFormat = "https-log-format" GlobalHTTPSPort = "https-port" GlobalHTTPStoHTTPPort = "https-to-http-port" GlobalLoadServerState = "load-server-state" GlobalMaxConnections = "max-connections" GlobalModsecurityEndpoints = "modsecurity-endpoints" GlobalModsecurityTimeoutConnect = "modsecurity-timeout-connect" GlobalModsecurityTimeoutHello = "modsecurity-timeout-hello" GlobalModsecurityTimeoutIdle = "modsecurity-timeout-idle" GlobalModsecurityTimeoutProcessing = "modsecurity-timeout-processing" GlobalModsecurityTimeoutServer = "modsecurity-timeout-server" GlobalNbprocBalance = "nbproc-balance" GlobalNbprocSSL = "nbproc-ssl" GlobalNbthread = "nbthread" GlobalNoTLSRedirectLocations = "no-tls-redirect-locations" GlobalPrometheusPort = "prometheus-port" GlobalSSLDHDefaultMaxSize = "ssl-dh-default-max-size" GlobalSSLDHParam = "ssl-dh-param" GlobalSSLEngine = "ssl-engine" GlobalSSLHeadersPrefix = "ssl-headers-prefix" GlobalSSLModeAsync = "ssl-mode-async" GlobalSSLOptions = "ssl-options" GlobalSSLRedirectCode = "ssl-redirect-code" GlobalStatsAuth = "stats-auth" GlobalStatsPort = "stats-port" GlobalStatsProxyProtocol = "stats-proxy-protocol" GlobalStatsSSLCert = "stats-ssl-cert" GlobalStrictHost = "strict-host" GlobalSyslogEndpoint = "syslog-endpoint" GlobalSyslogFormat = "syslog-format" GlobalSyslogLength = "syslog-length" GlobalSyslogTag = "syslog-tag" GlobalTCPLogFormat = "tcp-log-format" GlobalTimeoutClient = "timeout-client" GlobalTimeoutClientFin = "timeout-client-fin" GlobalTimeoutStop = "timeout-stop" GlobalUseChroot = "use-chroot" GlobalUseCpuMap = "use-cpu-map" GlobalUseForwardedProto = "use-forwarded-proto" GlobalUseHAProxyUser = "use-haproxy-user" GlobalUseHTX = "use-htx" GlobalUseProxyProtocol = "use-proxy-protocol" )
Global config
View Source
const (
ExtraTLSAcme = "kubernetes.io/tls-acme"
)
Extra Annotations
Variables ¶
View Source
var ( // AnnHost ... AnnHost = map[string]struct{}{ HostAppRoot: {}, HostAuthTLSErrorPage: {}, HostAuthTLSSecret: {}, HostAuthTLSStrict: {}, HostAuthTLSVerifyClient: {}, HostCertSigner: {}, HostServerAlias: {}, HostPathType: {}, HostServerAliasRegex: {}, HostSSLCiphers: {}, HostSSLCipherSuites: {}, HostSSLOptionsHost: {}, HostSSLPassthrough: {}, HostSSLPassthroughHTTPPort: {}, HostTLSALPN: {}, HostVarNamespace: {}, } )
Functions ¶
This section is empty.
Types ¶
type ConverterOptions ¶
type ConverterOptions struct { Logger types.Logger Cache convtypes.Cache Tracker convtypes.Tracker DefaultConfig func() map[string]string DefaultBackend string DefaultCrtSecret string FakeCrtFile convtypes.CrtFile FakeCAFile convtypes.CrtFile AnnotationPrefix string AcmeTrackTLSAnn bool }
ConverterOptions ...
Click to show internal directories.
Click to hide internal directories.