Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Route ¶
func FromIngress ¶
func FromIngress(ingress networkingv1.Ingress) (*Route, error)
FromIngress returns a Route resource matching the given Ingress NOTE: Epinio doesn't create Ingresses with multiple rules. For that reason, this function will try to construct a Route from the first rule of the passed Ingress, ingoring all other rules if they exist.
func FromString ¶
FromString converts a route string to a Route object. E.g. mydomain.org/api becomes: Route{ Domain: "mydomain.org", Path: "/api" }
Click to show internal directories.
Click to hide internal directories.