Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsValidProxyBodySize ¶ added in v0.7.1
IsValidProxyBodySize return true if s is a valid proxy body size string
func NewParser ¶
func NewParser(br resolver.DefaultBackend) parser.IngressAnnotation
NewParser creates a new reverse proxy configuration annotation parser
Types ¶
type Configuration ¶
type Configuration struct { BodySize string `json:"bodySize"` ConnectTimeout int `json:"connectTimeout"` SendTimeout int `json:"sendTimeout"` ReadTimeout int `json:"readTimeout"` BufferSize string `json:"bufferSize"` CookieDomain string `json:"cookieDomain"` CookiePath string `json:"cookiePath"` NextUpstream string `json:"nextUpstream"` PassParams string `json:"passParams"` RequestBuffering string `json:"requestBuffering"` }
Configuration returns the proxy timeout to use in the upstream server/s
func (*Configuration) Equal ¶
func (l1 *Configuration) Equal(l2 *Configuration) bool
Equal tests for equality between two Configuration types
Click to show internal directories.
Click to hide internal directories.