-
Notifications
You must be signed in to change notification settings - Fork 0
/
http_ingress_rule_value.cr
25 lines (21 loc) · 1.07 KB
/
http_ingress_rule_value.cr
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# THIS FILE WAS AUTO GENERATED FROM THE K8S SWAGGER SPEC
require "yaml"
require "json"
module K8S
# HTTPIngressRuleValue is a list of http selectors pointing to backends. In the example: http://<host>/<path>?<searchpart> -> backend where where parts of the url correspond to RFC 3986, this resource will be used to match against everything after the last '/' and before the first '?' or '#'.
@[::K8S::Properties(
paths: {type: Array(Api::Extensions::V1beta1::HTTPIngressPath), nilable: false, key: "paths", getter: false, setter: false},
)]
class Api::Extensions::V1beta1::HTTPIngressRuleValue
include ::JSON::Serializable
include ::JSON::Serializable::Unmapped
include ::YAML::Serializable
include ::YAML::Serializable::Unmapped
# A collection of paths that map requests to backends.
@[::JSON::Field(key: "paths", emit_null: true)]
@[::YAML::Field(key: "paths", emit_null: true)]
property paths : Array(Api::Extensions::V1beta1::HTTPIngressPath)
def initialize(*, @paths : Array(Api::Extensions::V1beta1::HTTPIngressPath))
end
end
end