Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DNSDomain string
DNSDomain is the DNS domain under which all services shall be exposed.
Functions ¶
func ExtractCluster ¶
ExtractCluster extracts the cluster name from the host. The pattern shall be $cluster--$hash, where $hash = service--$namespace
func URLForExposedServiceInPlugin ¶
func URLForExposedServiceInPlugin(serviceName string, plugin *greenhousev1alpha1.Plugin) string
URLForExposedServiceInPlugin returns the URL that shall be used to expose a service centrally via Greenhouse. The pattern shall be $https://$cluster--$hash.$organisation.$basedomain, where $hash = $service--$namespace We know $cluster is no longer than 40 characters and does not contain "--"
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.