Documentation ¶
Index ¶
- func FormatURLTemplateAndDeriveURLPath(currentAnnotations map[string]interface{}) map[string]interface{}
- func ParseIngressNameTemplate(templateToParse string, nameTemplate *NameTemplate) string
- func ParseIngressURLOrPathTemplate(templateToParse string, URLTemplate *URLTemplate) string
- type NameTemplate
- type URLTemplate
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatURLTemplateAndDeriveURLPath ¶
func FormatURLTemplateAndDeriveURLPath(currentAnnotations map[string]interface{}) map[string]interface{}
Looks for / in URL-Template; if present it divides the template in 2 parts, and uses the 1st part as URL
func ParseIngressNameTemplate ¶
func ParseIngressNameTemplate(templateToParse string, nameTemplate *NameTemplate) string
func ParseIngressURLOrPathTemplate ¶
func ParseIngressURLOrPathTemplate(templateToParse string, URLTemplate *URLTemplate) string
Types ¶
type NameTemplate ¶
func CreateNameTemplate ¶
func CreateNameTemplate(service string, namespace string) *NameTemplate
type URLTemplate ¶
func CreateUrlTemplate ¶
func CreateUrlTemplate(service string, namespace string, domain string) *URLTemplate
Click to show internal directories.
Click to hide internal directories.