MCPcopy
hub / github.com/istio/istio / augmentLayout

Function augmentLayout

pkg/ctrlz/ctrlz.go:69–71  ·  view source on GitHub ↗
(layout *template.Template, page string)

Source from the content-addressed store, hash-verified

67}
68
69func augmentLayout(layout *template.Template, page string) *template.Template {
70 return assets.ParseTemplate(layout, page)
71}
72
73func registerTopic(router *mux.Router, layout *template.Template, t fw.Topic) {
74 htmlRouter := router.NewRoute().PathPrefix("/" + t.Prefix() + "z").Subrouter()

Callers 1

RunFunction · 0.85

Calls 1

ParseTemplateFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…