struct

Kubernetes::SessionAffinityConfig

Inherits YAML::Serializable < JSON::Serializable < Kubernetes::Serializable < Struct < Value < Object

SessionAffinityConfig represents the configurations of session affinity.

Constructors

new(pull : ::JSON::PullParser)
new(*, __pull_for_json_serializable pull : ::JSON::PullParser)
new(*, __context_for_yaml_serializable ctx : YAML::ParseContext, __node_for_yaml_serializable node : YAML::Nodes::Node)

Instance methods

client_ip

clientIP contains the configurations of Client IP based session affinity.

Source
client_ip=(client_ip : ClientIPConfig | Nil)

clientIP contains the configurations of Client IP based session affinity.

Source

Macros

field(name, type = nil, **options, &block)

Helper macro for defining fields with automatic camelCase conversion

Source