Documentation ¶
Overview ¶
Package resources holds simple functions for synthesizing child resources from a Route resource and any relevant Route controller configuration.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MakeClusterIngress ¶
func MakeClusterIngress(r *servingv1alpha1.Route, tc *traffic.Config, ingressClass string) *v1alpha1.ClusterIngress
MakeClusterIngress creates ClusterIngress to set up routing rules. Such ClusterIngress specifies which Hosts that it applies to, as well as the routing rules.
func MakeK8sService ¶
func MakeK8sService(route *v1alpha1.Route, ingress *netv1alpha1.ClusterIngress) (*corev1.Service, error)
MakeK8sService creates a Service that redirect to the loadbalancer specified in ClusterIngress status. It's owned by the provided v1alpha1.Route. The purpose of this service is to provide a domain name for Istio routing.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.