Ingresses
ModelsExpand Collapse
type Ingress struct{…}
Auto-generated unique identifier
Creation timestamp (RFC3339)
Human-readable name
Rules []IngressRuleRouting rules for this ingress
Routing rules for this ingress
Match IngressMatch
Hostname to match. Can be:
- Literal: "api.example.com" (exact match on Host header)
- Pattern: "{instance}.example.com" (dynamic routing based on subdomain)
Pattern hostnames use named captures in curly braces (e.g., {instance}, {app}) that extract parts of the hostname for routing. The extracted values can be referenced in the target.instance field.
Host port to listen on for this rule (default 80)
Target IngressTarget
Target instance name, ID, or capture reference.
- For literal hostnames: Use the instance name or ID directly (e.g., "my-api")
- For pattern hostnames: Reference a capture from the hostname (e.g., "{instance}")
When using pattern hostnames, the instance is resolved dynamically at request time.
Target port on the instance
Auto-create HTTP to HTTPS redirect for this hostname (only applies when tls is enabled)
Enable TLS termination (certificate auto-issued via ACME).
type IngressMatch struct{…}
Hostname to match. Can be:
- Literal: "api.example.com" (exact match on Host header)
- Pattern: "{instance}.example.com" (dynamic routing based on subdomain)
Pattern hostnames use named captures in curly braces (e.g., {instance}, {app}) that extract parts of the hostname for routing. The extracted values can be referenced in the target.instance field.
Host port to listen on for this rule (default 80)
type IngressRule struct{…}
Match IngressMatch
Hostname to match. Can be:
- Literal: "api.example.com" (exact match on Host header)
- Pattern: "{instance}.example.com" (dynamic routing based on subdomain)
Pattern hostnames use named captures in curly braces (e.g., {instance}, {app}) that extract parts of the hostname for routing. The extracted values can be referenced in the target.instance field.
Host port to listen on for this rule (default 80)
Target IngressTarget
Target instance name, ID, or capture reference.
- For literal hostnames: Use the instance name or ID directly (e.g., "my-api")
- For pattern hostnames: Reference a capture from the hostname (e.g., "{instance}")
When using pattern hostnames, the instance is resolved dynamically at request time.
Target port on the instance
Auto-create HTTP to HTTPS redirect for this hostname (only applies when tls is enabled)
Enable TLS termination (certificate auto-issued via ACME).
type IngressTarget struct{…}
Target instance name, ID, or capture reference.
- For literal hostnames: Use the instance name or ID directly (e.g., "my-api")
- For pattern hostnames: Reference a capture from the hostname (e.g., "{instance}")
When using pattern hostnames, the instance is resolved dynamically at request time.
Target port on the instance