class K8S::Api::Extensions::V1beta1::IngressRule
- K8S::Api::Extensions::V1beta1::IngressRule
- Reference
- Object
Overview
IngressRule represents the rules mapping the paths under a specified host to the related backend services. Incoming requests are first evaluated for a host match, then routed to the backend associated with the matching IngressRuleValue.
Included Modules
- JSON::Serializable
- YAML::Serializable
Defined in:
versions/v1.21/api/extensions/v1beta1/ingress_rule.crConstructors
- .new(ctx : YAML::ParseContext, node : YAML::Nodes::Node)
- .new(pull : JSON::PullParser)
- .new(*, host : String? = nil, http : Api::Extensions::V1beta1::HTTPIngressRuleValue? = nil)
Instance Method Summary
- #host : String?
- #host=(host : String?)
- #http : Api::Extensions::V1beta1::HTTPIngressRuleValue?
- #http=(http : Api::Extensions::V1beta1::HTTPIngressRuleValue?)
Constructor Detail
def self.new(*, host : String? = nil, http : Api::Extensions::V1beta1::HTTPIngressRuleValue? = nil)
#