Documentation ¶
Index ¶
Constants ¶
View Source
const ( ANNOTATION_REQ_BUFFER = "nginx.ingress.kubernetes.io/proxy-request-buffering" ANNOTATION_RESP_BUFFER = "nginx.ingress.kubernetes.io/proxy-buffering" ANNOTATION_REQ_LIMIT = "nginx.ingress.kubernetes.io/proxy-body-size" ANNOTATION_PROXY_REQ_TIMEOUT = "nginx.ingress.kubernetes.io/proxy-send-timeout" ANNOTATION_PROXY_RESP_TIMEOUT = "nginx.ingress.kubernetes.io/proxy-read-timeout" ANNOTATION_SERVER_SNIPPET = "nginx.ingress.kubernetes.io/server-snippet" ANNOTATION_SSL_REDIRECT = "nginx.ingress.kubernetes.io/ssl-redirect" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Policy ¶
type Policy struct {
apipolicy.BasePolicy
}
func (Policy) CreateDefaultConfig ¶
func (Policy) ParseConfig ¶
type PolicyDto ¶
type PolicyDto struct { apipolicy.BaseDto ReqBuffer bool `json:"reqBuffer"` RespBuffer bool `json:"respBuffer"` ClientReqLimit int64 `json:"clientReqLimit"` ClientReqTimeout int64 `json:"clientReqTimeout"` ClientRespTimeout int64 `json:"clientRespTimeout"` ProxyReqTimeout int64 `json:"proxyReqTimeout"` ProxyRespTimeout int64 `json:"proxyRespTimeout"` HostPassthrough bool `json:"hostPassthrough"` SSLRedirect bool `json:"sslRedirect"` }
func (PolicyDto) IsValidDto ¶
Click to show internal directories.
Click to hide internal directories.