GafaelfawrIngressRuleHTTP¶
- pydantic model gafaelfawr.models.kubernetes.GafaelfawrIngressRuleHTTP¶
Routing rules for HTTP access.
- Parameters:
data (
Any
)
Show JSON schema
{ "title": "GafaelfawrIngressRuleHTTP", "description": "Routing rules for HTTP access.", "type": "object", "properties": { "paths": { "items": { "$ref": "#/$defs/GafaelfawrIngressPath" }, "title": "Paths", "type": "array" } }, "$defs": { "GafaelfawrIngressPath": { "description": "A path routing rule for an ingress.", "properties": { "path": { "title": "Path", "type": "string" }, "pathType": { "$ref": "#/$defs/PathType" }, "backend": { "$ref": "#/$defs/GafaelfawrIngressPathBackend" } }, "required": [ "path", "pathType", "backend" ], "title": "GafaelfawrIngressPath", "type": "object" }, "GafaelfawrIngressPathBackend": { "description": "Backend that serves a given path.", "properties": { "service": { "$ref": "#/$defs/GafaelfawrIngressPathService" } }, "required": [ "service" ], "title": "GafaelfawrIngressPathBackend", "type": "object" }, "GafaelfawrIngressPathService": { "description": "Service that serves a given path.", "properties": { "name": { "title": "Name", "type": "string" }, "port": { "anyOf": [ { "$ref": "#/$defs/GafaelfawrServicePortName" }, { "$ref": "#/$defs/GafaelfawrServicePortNumber" } ], "title": "Port" } }, "required": [ "name", "port" ], "title": "GafaelfawrIngressPathService", "type": "object" }, "GafaelfawrServicePortName": { "additionalProperties": false, "description": "Port for a service.", "properties": { "name": { "title": "Name", "type": "string" } }, "required": [ "name" ], "title": "GafaelfawrServicePortName", "type": "object" }, "GafaelfawrServicePortNumber": { "additionalProperties": false, "description": "Port for a service.", "properties": { "number": { "title": "Number", "type": "integer" } }, "required": [ "number" ], "title": "GafaelfawrServicePortNumber", "type": "object" }, "PathType": { "description": "Matching types for paths in ingress rules.", "enum": [ "Exact", "ImplementationSpecific", "Prefix" ], "title": "PathType", "type": "string" } }, "required": [ "paths" ] }
- field paths: list[GafaelfawrIngressPath] [Required]¶
Path routing rules for this host.
- to_kubernetes()¶
Convert to the Kubernetes API object.
- Return type:
V1HTTPIngressRuleValue