Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { // The type of affinity that will be used Type string `json:"type"` // The affinity mode, i.e. how sticky a session is Mode string `json:"mode"` Cookie }
Config describes the per ingress session affinity config
type Cookie ¶
type Cookie struct { // The name of the cookie that will be used in case of cookie affinity type. Name string `json:"name"` // The time duration to control cookie expires Expires string `json:"expires"` // The number of seconds until the cookie expires MaxAge string `json:"maxage"` // The path that a cookie will be set on Path string `json:"path"` // Flag that allows cookie regeneration on request failure ChangeOnFailure bool `json:"changeonfailure"` // SameSite attribute value SameSite string `json:"samesite"` // Flag that conditionally applies SameSite=None attribute on cookie if user agent accepts it. ConditionalSameSiteNone bool `json:"conditional-samesite-none"` }
Cookie describes the Config of cookie type affinity
Click to show internal directories.
Click to hide internal directories.